summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorofftkp <parisoplop@gmail.com>2022-06-19 00:42:44 +0300
committerTomaž Vajngerl <quikee@gmail.com>2022-06-22 14:12:23 +0200
commit29252e78627db79662d89919f77746824c6563c3 (patch)
treef3f3c1f50233d699ecd639a2c82d787c69377903 /include
parent9a5d46070e70e8cf42bea0dad37063d9ed71e375 (diff)
Add support for exporting SVGZ in Writer
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 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/graphicfilter.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index 27388da41c28..fb237bc780a4 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -101,6 +101,7 @@ namespace o3tl
#define EXP_EMZ "SVEMZ"
#define EXP_JPEG "SVEJPEG"
#define EXP_SVG "SVESVG"
+#define EXP_SVGZ "SVESVGZ"
#define EXP_PDF "SVEPDF"
#define EXP_PNG "SVEPNG"
#define EXP_TIFF "SVTIFF"