sw XHTML export: support OLE2-in-RTF objects

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 27 March 2018 08:22 EDT

Need to repeat what OLE1 calls the class name in the OLE1 and RTF wrappers, so parse our own OLE2 data during export.

Change-Id: Ic14fa648d1f78c29579bd9ba49ce6f491d4541b5 Reviewed-on: https://gerrit.libreoffice.org/51906

04630f26d06c sw XHTML export: support OLE2-in-RTF objects
sw/CppunitTest_sw_htmlexport.mk | 40 +------
.../{htmlimport => htmlexport}/data/ole2.ole | 0
.../{htmlimport => htmlexport}/data/ole2.png | Bin
.../data/reqif-ole2.xhtml | 0
sw/qa/extras/htmlexport/htmlexport.cxx | 22 ++++
sw/qa/extras/htmlimport/htmlimport.cxx | 17 ---
sw/source/filter/html/htmlplug.cxx | 45 +++++--
sw/source/filter/html/htmlreqifreader.cxx | 130 ++++++++++++++++++++-
sw/source/filter/html/htmlreqifreader.hxx | 3 +
9 files changed, 189 insertions(+), 68 deletions(-)

Upstream: cgit.freedesktop.org


  • Share