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_chart2_XAnyDescriptionAccess_idl__
24#define __com_sun_star_chart2_XAnyDescriptionAccess_idl__
25
26#ifndef __com_sun_star_chart_XComplexDescriptionAccess_idl__
27#include <com/sun/star/chart/XComplexDescriptionAccess.idl>
28#endif
29
30//=============================================================================
31
32 module com {  module sun {  module star {  module chart2 {
33
34//=============================================================================
35
36/** Offers any access to column and row descriptions.
37This allows to set date values as categories.
38
39<p>Can be obtained from interface <type>XChartDocument</type> via method getData().</p>
40
41@since OOo 3.4
42*/
43
44interface XAnyDescriptionAccess : ::com::sun::star::chart::XComplexDescriptionAccess
45{
46	//-------------------------------------------------------------------------
47
48	/** retrieves the descriptions for all rows.
49
50    	@returns
51        	a sequence of sequences of anys representing the descriptions
52        	of all rows. The outer index represents different rows.
53            The inner index represents the different levels (usually there is only one).
54            The any might be strings for category text axis or doubles for date axis.
55	 */
56	sequence< sequence< any > > getAnyRowDescriptions();
57
58	//-------------------------------------------------------------------------
59
60	/** sets the descriptions for all rows.
61
62        @param rRowDescriptions
63            a sequence of sequences of anys representing the descriptions of all
64        	rows. The outer index represents different rows.
65            The inner index represents the different levels (usually there is only one).
66            The any might be strings for category text axis or doubles for date axis.
67    */
68	void setAnyRowDescriptions( [in] sequence< sequence< any > > rRowDescriptions );
69
70	//-------------------------------------------------------------------------
71
72	/** retrieves the descriptions for all columns.
73
74        @returns
75        	a sequence of sequences of anys representing the descriptions
76        	of all columns. The outer index represents different columns.
77            The inner index represents the different levels (usually there is only one).
78            The any might be strings for category text axis or doubles for date axis.
79	 */
80	sequence< sequence< any > > getAnyColumnDescriptions();
81
82	//-------------------------------------------------------------------------
83
84	/** sets the descriptions for all columns.
85
86        @param rColumnDescriptions
87        	a sequence of sequences of anys which represent the descriptions of
88        	all columns. The outer index represents different columns.
89            The inner index represents the different levels (usually there is only one).
90            The any might be strings for category text axis or doubles for date axis.
91	 */
92	void setAnyColumnDescriptions( [in] sequence< sequence< any > > rColumnDescriptions );
93};
94
95//=============================================================================
96
97}; }; }; };
98
99#endif
100