summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2021-08-25 20:51:56 +0530
committerAndras Timar <andras.timar@collabora.com>2021-08-30 12:08:22 +0200
commit32b0289cc53527b3eb45a4b6600cd26472f59282 (patch)
treefbbf2d957e5f3b5ae4b9f4dfa7c63d49c555eb15 /schema
parentf567bddaad3de2ac02f0d0cbec6e3816b730fae9 (diff)
tdf#143942: oox: import/export labels from <c15:datalabelsRange>
When <c15:showDataLabelsRange> boolean flag is present, the imported label texts are added as the first text field in oox data label model. The cell-range associated is also preserved. The export part preserves the how labels were store originally in <c15:datalabelsRange>. However in order to make the custom labels reflect the contents of the cells in the associated cell-range, more work needs to be done. For this the labels present in <c15:datalabelsRange> needs to be made available as a data-sequence with a new "role" like "point-labels" in XInternalDataProvider implementation and and make the label renderer read this data source rather than consulting the custom label fields property which is static after import. Change-Id: Ibc7045fa5ea209d463680c96efb49a06662d2500
Diffstat (limited to 'schema')
-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 89913cbf7e63..19653c45cd35 100644
--- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
+++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
@@ -2493,4 +2493,16 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:optional>
</rng:define>
+ <!-- TODO no proposal -->
+ <rng:define name="chart-data-label-attlist" combine="interleave">
+ <rng:optional>
+ <rng:attribute name="loext:data-label-guid">
+ <rng:ref name="string"/>
+ </rng:attribute>
+ <rng:attribute name="loext:data-labels-cell-range">
+ <rng:ref name="cellRangeAddress"/>
+ </rng:attribute>
+ </rng:optional>
+ </rng:define>
+
</rng:grammar>