[Libreoffice-bugs] [Bug 126084] New: DOCX/OOXML support of SVG images via Office Drawing extension and fallback (published schema)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 25 12:37:18 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=126084

            Bug ID: 126084
           Summary: DOCX/OOXML support of SVG images via Office Drawing
                    extension and fallback (published schema)
           Product: LibreOffice
           Version: 6.2.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: d5ous.dev at gmail.com

Description:
A recent, briefly-specified Office Drawing Extension (adding the svgBlip tag)
allows SVG content to be embedded in OOXML WordprocessingML without loss of
backward-readability. See: 

https://docs.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/06cff208-c6e1-4db7-bb68-665135e5f0de

LibreOffice does not appear to avail itself of this mechanism.

Without knowing the criteria for selecting OOXML extensions supported by
LibreOffice: I'll just observe that SVG images are pretty widespread, and
LibreOffice is even now able to read SVG "improperly" embedded in OOXML as if
it was any other supported format.

This extension is briefly discussed in the context of the pandoc project here
(including XML snippet):

https://github.com/jgm/pandoc/issues/4058

May also be relevant to bug #121831.




Steps to Reproduce:
1. Embed SVG in OOXML WordprocessingML document using a recent (2016+?) version
of Office Word
2. Open in LibreOffice.


Actual Results:
SVG is suppressed, PNG fallback is used instead.

Expected Results:
If the extension was supported, SVG would be displayed.


Reproducible: Always


User Profile Reset: No



Additional Info:
For what it's worth, manually replacing the PNG fallback image reference with a
reference to the SVG image actually allows the SVG to be displayed. The
resulting image reference is not accepted by Word, however.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190625/35511c7d/attachment.html>


More information about the Libreoffice-bugs mailing list