Add support for exporting SVGZ in Writer

Desktop / LibreOffice - offtkp [gmail.com] - 22 June 2022 12:12 UTC

When exporting a graphic through Writer, graphicfilters ExportGraphic is called, which didn't have SVGZ exporting functionality before this commit. With this commit a valid Z compressed SVG file is exported, using the functionality that already exists in ExportGraphic.

Change-Id: I6c7476ca78a8cb3719488ac4d8a5942e0557ed36 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136094

29252e78627d Add support for exporting SVGZ in Writer
include/vcl/graphicfilter.hxx | 1 +
vcl/source/filter/graphicfilter.cxx | 16 ++++++++++++----
2 files changed, 13 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share