summaryrefslogtreecommitdiff
path: root/schema/libreoffice
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga991@gmail.com>2020-02-25 12:48:08 +0100
committerLászló Németh <nemeth@numbertext.org>2020-02-27 16:56:23 +0100
commit2a00d51150d410110602c953b3c3895debfcaa98 (patch)
tree02f40d51e016405cd763e0e4f2cf3d67295629fb /schema/libreoffice
parent74e3c95b9b628a0b326790b62b4e378a12d02997 (diff)
tdf#108110 ODF chart: import/export of custom position of data point labels
using new attributes loext:custom-label-pos-x and loext:custom-label-pos-y of chart:data-point. This fixes also *import* of DOCX documents with embedded charts, related to the ODF usage in the background. Follow-up of commit 4223ff2be69f03e571464b0b09ad0d278918631b (tdf#48436 Chart: add CustomLabelPosition UNO API property) Change-Id: I985ce27cb6ce988948258d9eab0de13d01c72b97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89446 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'schema/libreoffice')
-rw-r--r--schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng12
1 files changed, 12 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
index 11a01c8e8300..e44c01bd8d06 100644
--- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
+++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
@@ -2418,4 +2418,16 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:optional>
</rng:define>
+ <!-- TODO no proposal -->
+ <rng:define name="chart-data-point-attlist" combine="interleave">
+ <rng:optional>
+ <rng:attribute name="loext:custom-label-pos-x">
+ <rng:ref name="double"/>
+ </rng:attribute>
+ <rng:attribute name="loext:custom-label-pos-y">
+ <rng:ref name="double"/>
+ </rng:attribute>
+ </rng:optional>
+ </rng:define>
+
</rng:grammar>