-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2
-
Fix Version/s: ODF 1.3
-
Component/s: Document Structure, Graphics, Part 3 (Schema) [1.2: 1]
-
Labels:None
-
Proposal:
If you use the packed format you can use a folder 'Pictures' (or 'media' in case of PowerPoint) with an image e.g. XYZ.png. And in <office:styles> you have <draw:fill-image draw:name="foo" xlink:href="Pictures/XYZ.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
But in flat format you cannot include the image. In contrast to a <style:background-image> the <draw:fill-image> has no child element <office:binary-data>.
This proposal adds the <office:binary-data> to <draw:fill-image>.
Because the use of <office:binary-data> is not allowed in ODF1.2, consumers might not be able to interpret it, in case the document is represented as a package. On the other hand I know only LibreOffice to write and read flat ODF, and currently LibreOffice already writes this element. So there is no harm if the element is present in flat ODF. Therefore I have restricted the use of the <office:binary-data> child element to flat ODF.