From 32b0289cc53527b3eb45a4b6600cd26472f59282 Mon Sep 17 00:00:00 2001 From: Dennis Francis Date: Wed, 25 Aug 2021 20:51:56 +0530 Subject: tdf#143942: oox: import/export labels from When 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 . 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 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 --- .../sun/star/chart2/XDataPointCustomLabelField.idl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'offapi') 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 ); + }; -- cgit