summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2023-04-05 18:10:55 +0200
committerAndras Timar <andras.timar@collabora.com>2023-05-15 21:38:55 +0200
commitcaa424e6c77993dd0ac1325c20cc5068a1ed8e9a (patch)
tree7cf4e1617d84d8c85e423271022efe15f66d4850 /include
parentfd6069d8cb4bfedba2f63f4f1839d6739a8299ac (diff)
WIP ODF import and export for MCGR
Current state uses: Element loext:gradient-stop with the attributes svg:offset, loext:color-type with value 'rgb', and loext:color-value with values of kind #rrggbb. Element loext:opacity-stop with the attributes svg:offset and svg:stop-opacity, both with datatype double. With MCGR enabled testColorGradientWithTransparencyDOCX in CppunitTest_chart_export3 has the value 90000 instead of 90196. That is same value as in original file. Thus I have adapted the test. Change-Id: I976934f9b8fb79be4f74adb180b3285486dce31f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150060 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/xmltoken.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index a37af4acea75..5ea72f7df658 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -3517,6 +3517,11 @@ namespace xmloff::token {
XML_MAY_BREAK_BETWEEN_PAGES,
+ XML_GRADIENT_STOP, // multi-color-gradient
+ XML_OPACITY_STOP,
+ XML_COLOR_VALUE,
+ XML_COLOR_TYPE,
+
XML_TOKEN_END
};