diff options
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 2 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/DataTable.idl | 48 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/Diagram.idl | 6 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/XDataTable.idl | 28 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/XDiagram.idl | 9 |
5 files changed, 87 insertions, 6 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index e8163212b5ea..fb3be9253e51 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -646,6 +646,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/chart2,\ DataPoint \ DataPointProperties \ DataSeries \ + DataTable \ Diagram \ ErrorBar \ GridProperties \ @@ -2034,6 +2035,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/chart2,\ XDataPointCustomLabelField \ XDataSeries \ XDataSeriesContainer \ + XDataTable \ XDefaultSizeTransmitter \ XDiagram \ XDiagramProvider \ diff --git a/offapi/com/sun/star/chart2/DataTable.idl b/offapi/com/sun/star/chart2/DataTable.idl new file mode 100644 index 000000000000..5e75d98bd1d4 --- /dev/null +++ b/offapi/com/sun/star/chart2/DataTable.idl @@ -0,0 +1,48 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +module com +{ +module sun +{ +module star +{ +module chart2 +{ + +/** Describes a data table for a Diagram. + @since LibreOffice 7.5 + */ +service DataTable +{ + service com::sun::star::beans::PropertySet; + service com::sun::star::drawing::FillProperties; + service com::sun::star::drawing::LineProperties; + + /** The interface for registering and removing data table entries. + */ + interface ::com::sun::star::chart2::XDataTable; + + /** Show the horizontal border of the data table */ + [optional, property] boolean HBorder; + + /** Show the vertical border of the data table */ + [optional, property] boolean VBorder; + + /** Show the outline of the data table */ + [optional, property] boolean Outline; + + /** Show the legend keys in the data table */ + [optional, property] boolean Keys; + +}; + +}; }; }; }; // com::sun::star::chart2 + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/chart2/Diagram.idl b/offapi/com/sun/star/chart2/Diagram.idl index b96beca68838..025d821f83f5 100644 --- a/offapi/com/sun/star/chart2/Diagram.idl +++ b/offapi/com/sun/star/chart2/Diagram.idl @@ -82,12 +82,6 @@ service Diagram [optional, property] boolean RightAngledAxes; - /** Chart Datatable flags - */ - [optional, property] boolean DataTableHBorder; - [optional, property] boolean DataTableVBorder; - [optional, property] boolean DataTableOutline; - /** Perspective of 3D charts ( [0,100] ). */ [optional, property] long Perspective; diff --git a/offapi/com/sun/star/chart2/XDataTable.idl b/offapi/com/sun/star/chart2/XDataTable.idl new file mode 100644 index 000000000000..8431a586cf34 --- /dev/null +++ b/offapi/com/sun/star/chart2/XDataTable.idl @@ -0,0 +1,28 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +module com +{ +module sun +{ +module star +{ +module chart2 +{ + +/** Interface for the data table of a diagram + @since LibreOffice 7.5 + */ +interface XDataTable : ::com::sun::star::uno::XInterface +{ +}; + +}; }; }; }; // com::sun::star::chart2 + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/chart2/XDiagram.idl b/offapi/com/sun/star/chart2/XDiagram.idl index 7cae101aa3d7..5020c608f196 100644 --- a/offapi/com/sun/star/chart2/XDiagram.idl +++ b/offapi/com/sun/star/chart2/XDiagram.idl @@ -81,6 +81,15 @@ interface XDiagram : ::com::sun::star::uno::XInterface */ void setDiagramData( [in] com::sun::star::chart2::data::XDataSource xDataSource, [in] sequence< com::sun::star::beans::PropertyValue > aArguments ); + + + /** returns the data table + */ + XDataTable getDataTable(); + + /** sets a new data table. + */ + void setDataTable([in] XDataTable xDataTable); }; } ; // chart2 |