summaryrefslogtreecommitdiffstats
path: root/include/xmloff
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2019-12-18 13:08:11 +0100
committerAndras Timar <andras.timar@collabora.com>2020-01-07 10:44:59 +0100
commitd797bdbf6f54770b74c8f319c4f08dd685cb0656 (patch)
tree87cd73503f0e75bd71a5d1dc6098b73a776d4a08 /include/xmloff
parenttdf#125444 Percentage as custom chart label (diff)
downloadcore-d797bdbf6f54770b74c8f319c4f08dd685cb0656.tar.gz
core-d797bdbf6f54770b74c8f319c4f08dd685cb0656.zip
tdf#123206 Store custom label as chart:data-label
Use the chart:data-label element instead of using the loext:custom-label-field attribute. chart:data-label stores can be a child of chart:data-point and it may contain a text:o element for holding one or more paragraphs of custom label text. This commit aims to export and import chart:data-label with paragraphs put into different text:span elements. These span elements may hold a text:style-name attribute in order to achieve formatted text. This structure is already in the ODF format. Change-Id: I0bea7ce1a16af9c47b33555e18545bdaae7e95ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85659 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86113 Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmltoken.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index 97748c0f9c30..2b536228926a 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -548,6 +548,7 @@ namespace xmloff { namespace token {
XML_DATA_BAR,
XML_DATA_BAR_ENTRY,
XML_DATA_CELL_RANGE_ADDRESS,
+ XML_DATA_LABEL,
XML_DATA_LABEL_NUMBER,
XML_DATA_LABEL_SYMBOL,
XML_DATA_LABEL_TEXT,