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-12-01 22:13:25 +0100 |
commit | 6afe2368a9ffa8e97148efc719d9983de803e2f9 (patch) | |
tree | f33781de69c394eb8778da0021d0bccbfc061d93 /xmloff/source/token/tokens.txt | |
parent | 83574bfd3071f557ea67ad831f916fe75291b1e2 (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>
Reviewed-on: https://gerrit.libreoffice.org/84075
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'xmloff/source/token/tokens.txt')
-rw-r--r-- | xmloff/source/token/tokens.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt index 9594a6c526ff..f6f0d485b1bb 100644 --- a/xmloff/source/token/tokens.txt +++ b/xmloff/source/token/tokens.txt @@ -457,6 +457,7 @@ custom5 custom-iconset custom-iconset-index custom-iconset-name +custom-label-field cut cut-offs cx |