summaryrefslogtreecommitdiff
path: root/offapi
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 /offapi
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 'offapi')
-rw-r--r--offapi/com/sun/star/chart2/XDataPointCustomLabelField.idl20
1 files changed, 20 insertions, 0 deletions
diff --git a/offapi/com/sun/star/chart2/XDataPointCustomLabelField.idl b/offapi/com/sun/star/chart2/XDataPointCustomLabelField.idl
index a6a1b0151c94..434edb779775 100644
--- a/offapi/com/sun/star/chart2/XDataPointCustomLabelField.idl
+++ b/offapi/com/sun/star/chart2/XDataPointCustomLabelField.idl
@@ -29,6 +29,26 @@ interface XDataPointCustomLabelField : XFormattedString2
void setGuid( [in] string guid );
+ /**
+ @since LibreOffice 7.3
+ */
+ boolean getDataLabelsRange();
+
+ /**
+ @since LibreOffice 7.3
+ */
+ void setDataLabelsRange( [in] boolean dataLabelsRange );
+
+ /**
+ @since LibreOffice 7.3
+ */
+ string getCellRange();
+
+ /**
+ @since LibreOffice 7.3
+ */
+ void setCellRange( [in] string cellRange );
+
};