Hi Samuel, hi Thorsten, hi all,
I try to bring the requested mime-type attribute to ODF. In the
discussion in the TC it was suggested, to make such attribute not an
attribute of the <draw:image> element but to make it an attribute of the
<office:binary-data> element.
I have thought about that proposal and see these advantage/disadvantages:
The advantage would be, that the mime-type would be also available for
other places, where a <office:binary-data> element is used, without
adding it to all these places individually. Such elements are
<text:list-level-style-image> or <draw:fill-image> for example.
The disadvantage is, that in case the xlink-attributes are used to
reference an external image, the mime-type is not available. [In case
the xlink-attributes refer to an image inside the package, the mime-type
is available via the manifest. In case of flat file format, the image is
always base64encoded into a <office:binary-data> element.]
Any other arguments?
What do you think about the problem?
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4469b29faeb8dbf7793a5d81d9c5ddebacf3015f
https://bugs.documentfoundation.org/show_bug.cgi?id=109202
https://issues.oasis-open.org/browse/OFFICE-3943
https://lists.oasis-open.org/archives/office/201712/msg00025.html
Kind regards
Regina
Context
- tdf#109202 Add mimetype to image element · Regina Henschel
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.