diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2019-10-03 19:49:57 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-12-02 09:15:44 +0100 |
commit | 60464cb113f558d174e5adaa3c012f3df10519c5 (patch) | |
tree | 68a06a3077c80380e2abebdde53f8aca6c70f4cf /xmloff/source/token | |
parent | c7832ada6cf7264602064da9a957c03f89732f34 (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>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/84076
Diffstat (limited to 'xmloff/source/token')
-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 859cbbc08768..beb4adb8360e 100644 --- a/xmloff/source/token/tokens.txt +++ b/xmloff/source/token/tokens.txt @@ -460,6 +460,7 @@ custom5 custom-iconset custom-iconset-index custom-iconset-name +custom-label-field cut cut-offs cx |