diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-12-03 13:21:35 +0900 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-12-10 12:37:25 +0100 |
commit | 1372b6e33d0ce3e831ca553c5148655e97615d84 (patch) | |
tree | 31b978ce0dce18b5f5464477fd28a5b700f54b9a /test | |
parent | c86a81192e6a39ca82850156fccb78b2a4ccc3c6 (diff) |
tdf#126084 support writing SVG images into OOXML using the MS OOXML extension
SVG files aren't supported in OOXML, but we can write it using the
MS OOXML extension, which is supported in the latest MSO versions.
For now this only implements the support in the exporter.
Change-Id: I688180fb5772f3999c2ee3020bc234f90d57cc2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157237
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit bfbbf06bcea4d58117c14fd3f3b8743a3714f97e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160383
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/xmltesttools.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx index db743e5688aa..1c462c94a089 100644 --- a/test/source/xmltesttools.cxx +++ b/test/source/xmltesttools.cxx @@ -447,6 +447,8 @@ void XmlTestTools::registerOOXMLNamespaces(xmlXPathContextPtr& pXmlXpathCtx) BAD_CAST("http://schemas.microsoft.com/office/drawing/2012/chart")); xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xr2"), BAD_CAST("http://schemas.microsoft.com/office/spreadsheetml/2015/revision2")); + xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("asvg"), + BAD_CAST("http://schemas.microsoft.com/office/drawing/2016/SVG/main")); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |