1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XChartDataArray.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_chart_XChartDataArray_idl__
31 #define __com_sun_star_chart_XChartDataArray_idl__
33 #ifndef __com_sun_star_chart_XChartData_idl__
34 #include
<com
/sun
/star
/chart
/XChartData.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module chart
{
41 //=============================================================================
43 /** gives access to data represented as an array of rows.
45 <p>If used for an <type>XYDiagram</type>, the row number 0
46 represents the <i>x</i>-values.</p>
48 published
interface XChartDataArray
: XChartData
50 //-------------------------------------------------------------------------
52 /** retrieves the numerical data as a nested sequence of values.
55 the values as a sequence of sequences. The inner sequence
58 sequence
< sequence
< double > > getData
();
60 //-------------------------------------------------------------------------
62 /** sets the chart data as an array of numbers.
65 the values as a sequence of sequences. The inner sequence
68 void setData
( [in] sequence
< sequence
< double > > aData
);
70 //-------------------------------------------------------------------------
72 /** retrieves the description texts for all rows.
75 a sequence of strings, each representing the description
78 sequence
< string > getRowDescriptions
();
80 //-------------------------------------------------------------------------
82 /** sets the description texts for all rows.
84 @param aRowDescriptions
85 a sequence of strings which represent a description for
88 void setRowDescriptions
( [in] sequence
< string > aRowDescriptions
);
90 //-------------------------------------------------------------------------
92 /** retrieves the description texts for all columns.
95 a sequence of strings, each representing the description
98 sequence
< string > getColumnDescriptions
();
100 //-------------------------------------------------------------------------
102 /** sets the description texts for all columns.
104 @param aColumnDescriptions
105 a sequence of strings which represent a description for
108 void setColumnDescriptions
( [in] sequence
< string > aColumnDescriptions
);
111 //=============================================================================