Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
LibreOffice
Last updated at 6:59 pm UTC on 9 May 2018
LibreOffice Draw file format
OpenDocument Drawing Document Format (ODG), Version 1.2, ISO 26300-1:2015

OpenDocument Format (ODF) Family, OASIS and ISO/IEC 26300
https://www.loc.gov/preservation/digital/formats/fdd/fdd000247.shtml#notes

https://www.loc.gov/preservation/digital/formats/fdd/fdd000428.shtml


Extending the Swiss Army knife - an overview about writing of filters for LibreOffice

https://help.libreoffice.org/latest/en-US/text/shared/main0108.html

Styles

https://ask.libreoffice.org/en/question/32602/difference-between-styles-and-automatic-styles/
office:automatic-styles
corresponds to direct formatting of an object and
office:styles
correspond to the settings via style&formatting window. Although automatic styles "are considered to be properties of the object" it is not forbidden to use the same automatic style for more than one object. You have no UI for doing so, but you can do it in the file itself.


Code example


<office:document-content>
<office:automatic-styles>
... styles created automatically based on direct user choices, e.g., for fill color for a particular shape, with references to fuller and named style specifications in styles.xml ...
</office:automatic-styles>
<office:body>
<office:drawing>

<draw:page > ... vector graphics elements, for example a rectangle filled with the solid color specified in the named style gr1 

... <draw:rect draw:style-name="gr1" svg:width="12.1cm" svg:height="12.1cm" svg:x="4.635cm" svg:y="1.418cm"></draw:rect>
</draw:page>

</office:drawing>
</office:body>
</office:document-content>