From 7d2c7e7af04d9604d86d2d605ef95b9abb10966c Mon Sep 17 00:00:00 2001 From: Tamas Bunth Date: Wed, 18 Dec 2019 13:08:11 +0100 Subject: tdf#123206 Store custom label as chart:data-label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/xmloff/xmltoken.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index 02bd9702d980..1175958548ff 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -551,6 +551,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, -- cgit