summaryrefslogtreecommitdiff
path: root/xmloff/source/core
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-07-28 12:10:24 +0200
committerTomaž Vajngerl <quikee@gmail.com>2023-08-01 08:15:24 +0200
commit5e34a25aa7f58b37a2303aef9318bbe5a9af5d37 (patch)
tree9092f05a8ec262512611e88ee21b346ac12ca165 /xmloff/source/core
parentb543463f639ecee793484e8b419147d565a53d52 (diff)
sc: Add import/export ODF support for border complex colors
ODF Import and export support for border {left,right,top,bottom} complex colors. In addition round-trip test was extended with the border use case. Change-Id: I1d14690272c06e8ffcfcd483eb7f688ca5bb1e5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155014 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/xmltoken.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index ecefb14f20f1..2ecc3ea5ce7b 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -366,15 +366,19 @@ namespace xmloff::token {
TOKEN( "boolean-value", XML_BOOLEAN_VALUE ),
TOKEN( "border", XML_BORDER ),
TOKEN( "border-bottom", XML_BORDER_BOTTOM ),
+ TOKEN( "border-bottom-complex-color", XML_BORDER_BOTTOM_COMPLEX_COLOR ),
TOKEN( "border-color", XML_BORDER_COLOR ),
TOKEN( "border-left", XML_BORDER_LEFT ),
+ TOKEN( "border-left-complex-color", XML_BORDER_LEFT_COMPLEX_COLOR ),
TOKEN( "border-line-width", XML_BORDER_LINE_WIDTH ),
TOKEN( "border-line-width-bottom", XML_BORDER_LINE_WIDTH_BOTTOM ),
TOKEN( "border-line-width-left", XML_BORDER_LINE_WIDTH_LEFT ),
TOKEN( "border-line-width-right", XML_BORDER_LINE_WIDTH_RIGHT ),
TOKEN( "border-line-width-top", XML_BORDER_LINE_WIDTH_TOP ),
TOKEN( "border-right", XML_BORDER_RIGHT ),
+ TOKEN( "border-right-complex-color", XML_BORDER_RIGHT_COMPLEX_COLOR ),
TOKEN( "border-top", XML_BORDER_TOP ),
+ TOKEN( "border-top-complex-color", XML_BORDER_TOP_COMPLEX_COLOR ),
TOKEN( "both", XML_BOTH ),
TOKEN( "bottom", XML_BOTTOM ),
TOKEN( "bottom-left", XML_BOTTOM_LEFT ),