summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2023-04-05 18:10:55 +0200
committerArmin Le Grand <Armin.Le.Grand@me.com>2023-05-04 11:57:51 +0200
commitf2eac63dcca642efc80a171a986aecc482f9cbc6 (patch)
tree0180f50886413bf0bdd6e0ad50ebe04c11827451 /include
parent0f4a3823a6bab01723f2a958d44159d39d137b97 (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 0c63a31d0818..3ea2e7ee8335 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -3519,6 +3519,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
};