1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_chart_XComplexDescriptionAccess_idl__
24#define __com_sun_star_chart_XComplexDescriptionAccess_idl__
25
26#ifndef __com_sun_star_chart_XChartDataArray_idl__
27#include <com/sun/star/chart/XChartDataArray.idl>
28#endif
29
30//=============================================================================
31
32 module com {  module sun {  module star {  module chart {
33
34//=============================================================================
35
36/** Offers access to complex column and row descriptions.
37
38<p>Can be obtained from interface <type>XChartDocument</type> via method getData().</p>
39
40@since OOo 3.3
41*/
42
43published interface XComplexDescriptionAccess : XChartDataArray
44{
45	//-------------------------------------------------------------------------
46
47	/** retrieves the description texts for all rows.
48
49    	@returns
50        	a sequence of sequences of strings representing the descriptions
51        	of all rows. The outer index represents different rows.
52            The inner index represents the different levels (usually there is only one).
53	 */
54	sequence< sequence< string > > getComplexRowDescriptions();
55
56	//-------------------------------------------------------------------------
57
58	/** sets the description texts for all rows.
59
60        @param rRowDescriptions
61            a sequence of sequences of strings representing the descriptions of all
62        	rows. The outer index represents different rows.
63            The inner index represents the different levels (usually there is only one).
64    */
65	void setComplexRowDescriptions( [in] sequence< sequence< string > > rRowDescriptions );
66
67	//-------------------------------------------------------------------------
68
69	/** retrieves the description texts for all columns.
70
71        @returns
72        	a sequence of sequences of strings representing the descriptions
73        	of all columns. The outer index represents different columns.
74            The inner index represents the different levels (usually there is only one).
75	 */
76	sequence< sequence< string > > getComplexColumnDescriptions();
77
78	//-------------------------------------------------------------------------
79
80	/** sets the description texts for all columns.
81
82        @param rColumnDescriptions
83        	a sequence of sequences of strings which represent the descriptions of
84        	all columns. The outer index represents different columns.
85            The inner index represents the different levels (usually there is only one).
86	 */
87	void setComplexColumnDescriptions( [in] sequence< sequence< string > > rColumnDescriptions );
88};
89
90//=============================================================================
91
92}; }; }; };
93
94#endif
95