summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-04-26 17:03:55 +0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-05-03 08:51:01 +0200
commit7f580d4fba2da90da2ccfbad7f0e21c12e810a26 (patch)
tree18fb7ab7d881c27d4c161181b10a7b9b6d5a52d2 /offapi
parentebcf27d419e41a497242c98fcfec08a2088c0720 (diff)
[API CHANGE] revert SymbolBitmapURL impl, add SymbolBitmap property
This adds back the implementation for setting the SymbolBitmapURL property (getting returns an empty string) and adds SymbolBitmap property to the UNO API (LineDiagram.idl). SymbolBitmapURL property was already deprecated, but we still need to add the SymbolBitmap for compatibility. [ Miklos Vajna: updated qadevOOo tests to handle the new write-only properties. ] Change-Id: Id00d78299b7fd5ba9d78c36c5f03a10d9e61c60a Reviewed-on: https://gerrit.libreoffice.org/53492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/chart/ChartDataPointProperties.idl12
-rw-r--r--offapi/com/sun/star/chart/LineDiagram.idl10
2 files changed, 22 insertions, 0 deletions
diff --git a/offapi/com/sun/star/chart/ChartDataPointProperties.idl b/offapi/com/sun/star/chart/ChartDataPointProperties.idl
index 06a3b4d92c2d..f80574ff1204 100644
--- a/offapi/com/sun/star/chart/ChartDataPointProperties.idl
+++ b/offapi/com/sun/star/chart/ChartDataPointProperties.idl
@@ -124,6 +124,8 @@ published service ChartDataPointProperties
<p>When you query this value you get an internal URL of the
embedded graphic.</p>
+ @deprecated as of Libreoffice 6.1
+
@see ChartSymbolType
*/
[optional, property] string SymbolBitmapURL;
@@ -139,6 +141,16 @@ published service ChartDataPointProperties
@since LibreOffice 5.1
*/
[optional, property] boolean TextWordWrap;
+
+ /** In charts that support symbols, you can set this property to
+ a graphic object. This graphic is then used as symbol for each
+ data point.
+
+ @since LibreOffice 6.1
+
+ @see ChartSymbolType
+ */
+ [optional, property] com::sun::star::graphic::XGraphic SymbolBitmap;
};
diff --git a/offapi/com/sun/star/chart/LineDiagram.idl b/offapi/com/sun/star/chart/LineDiagram.idl
index 4117feff6aac..5fcb2d15629e 100644
--- a/offapi/com/sun/star/chart/LineDiagram.idl
+++ b/offapi/com/sun/star/chart/LineDiagram.idl
@@ -123,6 +123,16 @@ published service LineDiagram
/** determines the number of sampling points of a spline
*/
[optional, property] long SplineResolution;
+
+ /** Set this property to a graphic object which is then used as
+ symbol for all series.
+
+ @since LibreOffice 6.1
+
+ @deprecated - added for backwards compatibility
+ @see ChartSymbolType
+ */
+ [optional, property] com::sun::star::graphic::XGraphic SymbolBitmap;
};