ODF import: add embedded pdf support

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 27 June 2016 07:58 UTC

The use-case is to have a .svm and .pdf alternative, need to pick .pdf from those.

The test fails with any of the below commits reverted:- the xmloff part of this commit- fda68426374ed915783fd306c2f56463c757774a (ODT export: add embedded pdf support, 2016-06-27)- 878a860dff10bd91491d6c9f2f4e2308bfe4f0b2 (vcl: add initial PDF import-as-graphic filter, 2016-06-23)

Change-Id: Id5b298d25a46af6ce7aa5f8c71a29c3914e1a7ce Reviewed-on: https://gerrit.libreoffice.org/26706

d1c346b ODF import: add embedded pdf support
sw/CppunitTest_sw_odfexport.mk | 41 +-------------------------
sw/qa/extras/odfexport/data/embedded-pdf.odt | Bin 0 -> 18148 bytes
sw/qa/extras/odfexport/odfexport.cxx | 7 +++++
xmloff/source/core/xmlmultiimagehelper.cxx | 6 +++-
4 files changed, 13 insertions(+), 41 deletions(-)

Upstream: cgit.freedesktop.org


  • Share