tdf#94088 add import of HTML inline graphics

Desktop / LibreOffice - Armin Le Grand [cib.de] - 28 November 2015 05:31 UTC

Related: fdo#63211 for saving. This one adds the import side, plus fallbacks to use the new FillStyle attributes in HTML im/export in a SvxBrushItem. Also added graphic import for inline graphics. Comment markers inserted at places where functionality may be added in the future when the new FillStyle attributes would be more used in this content. Unit test checks PageBackground and ParagraphBaground import.

Change-Id: I3f198677db553ad198e0add3162603a4735398f1 Reviewed-on: https://gerrit.libreoffice.org/20129

29dfcc7 tdf#94088 add import of HTML inline graphics
editeng/source/items/frmitems.cxx | 56 ++++++++++++++------
.../htmlimport/data/PageAndParagraphFilled.html | 45 ++++++++++++++++
sw/qa/extras/htmlimport/htmlimport.cxx | 42 +++++++++++++++
sw/source/filter/html/parcss1.cxx | 12 ++++-
sw/source/filter/html/swhtml.cxx | 15 ++++++
sw/source/filter/writer/wrt_fn.cxx | 45 +++++++++++++++-
6 files changed, 197 insertions(+), 18 deletions(-)

Upstream: cgit.freedesktop.org


  • Share