diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2019-10-03 19:49:57 +0200 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2019-11-29 16:44:12 +0100 |
commit | c2b36cd6f7cf70e77dac5938f18146b0687523e6 (patch) | |
tree | 74f1d2f6794160341aca848c2179770844b4009e /include/xmloff | |
parent | db0f4b28d9f1583d9977f76114d86bac489de161 (diff) |
tdf#123206 Import/Export chart custom label text
OOX import supports custom label texts in chart diagrams (produced by
e.g. double clicking on a data label, and write custom text), but -
since embedded objects are exported and imported to odf right after migration -
it is not displayed in case of a Writer document.
In order to make it work, we have to support custom label text in the
odf structure. This commit only allows the import/export of pure text,
it should be improved to store and load formatted string.
A new XML token is added, which currently refers to an attribute of the
chart:data-point tag. If we want to store formatted string, something
more clever has to be done.
Change-Id: I80c4a3a0dbcf59f1dc732d795fb716da318411cb
Reviewed-on: https://gerrit.libreoffice.org/80156
Tested-by: Jenkins
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/xmltoken.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index 751cd423556d..4418f9ba54a0 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -536,6 +536,7 @@ namespace xmloff { namespace token { XML_CUSTOM_ICONSET, XML_CUSTOM_ICONSET_INDEX, XML_CUSTOM_ICONSET_NAME, + XML_CUSTOM_LABEL_FIELD, XML_CUT, XML_CUT_OFFS, XML_CX, |