diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-12-03 15:58:12 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-12-03 17:52:43 +0100 |
commit | 1dac99e7ea45f90bf39eb95eb7bc01f7d79093ef (patch) | |
tree | 9744112460055ae2d23755478bc8d0526b403892 /sw/ooxmlexport_setup.mk | |
parent | 6c569a2ed797aa7ad52f8a7dc6be3bfb3b4b452a (diff) |
sw: fix DOCX export of embedded OOXML objects
OOXML embedded objects are converted to ODF during export, which
prevents the export from working, as it expects a stream, and ODF
uses a storage.
There is already a unit test in testEmbeddedXlsx, but it wrongly
succeeds because the components necessary to convert from OOXML to ODF
are missing in the test environment.
Change-Id: Ib4df346e04ecfb54ec1a728535be876db921b884
Diffstat (limited to 'sw/ooxmlexport_setup.mk')
-rw-r--r-- | sw/ooxmlexport_setup.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/ooxmlexport_setup.mk b/sw/ooxmlexport_setup.mk index c8cfc9f4d205..a03370110eb9 100644 --- a/sw/ooxmlexport_setup.mk +++ b/sw/ooxmlexport_setup.mk @@ -33,6 +33,9 @@ define sw_ooxmlexport_components dbaccess/util/dba \ drawinglayer/drawinglayer \ embeddedobj/util/embobj \ + $(if $(filter-out WNT,$(OS)), \ + embeddedobj/source/msole/emboleobj \ + ) \ filter/source/config/cache/filterconfig1 \ filter/source/odfflatxml/odfflatxml \ filter/source/xmlfilterdetect/xmlfd \ @@ -45,6 +48,9 @@ define sw_ooxmlexport_components package/source/xstor/xstor \ package/util/package2 \ sax/source/expatwrap/expwrap \ + sc/util/sc \ + sc/util/scd \ + sc/util/scfilt \ sw/util/sw \ sw/util/swd \ sw/util/msword \ |