summaryrefslogtreecommitdiff
path: root/xmloff/inc
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-08 12:44:08 +0100
commitcdacee1de7cd8d98d79ef13bc165ce016c8b2e1a (patch)
treed18abbe172a495309d1a1b7ea611d60adf62335e /xmloff/inc
parenta3fa368f1a50463e1540619834df31f48cba6a7d (diff)
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/+/86122 Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/SchXMLImport.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx
index 5b587a4abdb1..2978ac66b5ab 100644
--- a/xmloff/inc/SchXMLImport.hxx
+++ b/xmloff/inc/SchXMLImport.hxx
@@ -73,6 +73,7 @@ enum SchXMLPlotAreaElemTokenMap
enum SchXMLSeriesElemTokenMap
{
XML_TOK_SERIES_DATA_POINT,
+ XML_TOK_SERIES_DATA_LABEL,
XML_TOK_SERIES_DOMAIN,
XML_TOK_SERIES_MEAN_VALUE_LINE,
XML_TOK_SERIES_REGRESSION_CURVE,