merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / chart / XChartDataArray.idl
blob4e75198643823e8eb58b3cf59e06897d3e6a71d3
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_chart_XChartDataArray_idl__
28 #define __com_sun_star_chart_XChartDataArray_idl__
30 #ifndef __com_sun_star_chart_XChartData_idl__
31 #include <com/sun/star/chart/XChartData.idl>
32 #endif
34 //=============================================================================
36 module com { module sun { module star { module chart {
38 //=============================================================================
40 /** gives access to data represented as an array of rows.
42 <p>Can be obtained from interface <type>XChartDocument</type> via method getData().</p>
44 <p>If used for an <type>XYDiagram</type>, the row number 0
45 represents the <i>x</i>-values.</p>
47 published interface XChartDataArray: XChartData
49 //-------------------------------------------------------------------------
51 /** retrieves the numerical data as a nested sequence of values.
53 @returns
54 the values as a sequence of sequences. The inner sequence
55 represents rows.
57 sequence< sequence< double > > getData();
59 //-------------------------------------------------------------------------
61 /** sets the chart data as an array of numbers.
63 @param aData
64 the values as a sequence of sequences. The inner sequence
65 represents rows.
67 void setData( [in] sequence< sequence< double > > aData );
69 //-------------------------------------------------------------------------
71 /** retrieves the description texts for all rows.
73 @returns
74 a sequence of strings, each representing the description
75 of a row.
77 sequence< string > getRowDescriptions();
79 //-------------------------------------------------------------------------
81 /** sets the description texts for all rows.
83 @param aRowDescriptions
84 a sequence of strings which represent a description for
85 each row.
87 void setRowDescriptions( [in] sequence< string > aRowDescriptions );
89 //-------------------------------------------------------------------------
91 /** retrieves the description texts for all columns.
93 @returns
94 a sequence of strings, each representing the description
95 of a column.
97 sequence< string > getColumnDescriptions();
99 //-------------------------------------------------------------------------
101 /** sets the description texts for all columns.
103 @param aColumnDescriptions
104 a sequence of strings which represent a description for
105 each column.
107 void setColumnDescriptions( [in] sequence< string > aColumnDescriptions );
110 //=============================================================================
112 }; }; }; };
114 #endif