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_ChartTableAddressSupplier_idl__
24#define __com_sun_star_chart_ChartTableAddressSupplier_idl__
25
26#ifndef __com_sun_star_chart_ChartSeriesAddress_idl__
27#include <com/sun/star/chart/ChartSeriesAddress.idl>
28#endif
29
30//=============================================================================
31
32module com { module sun { module star { module chart {
33
34//=============================================================================
35/** This is a helper service for access to table Address to
36	cell ranges of the container document of a chart.
37
38	The cell addresses are in the format of the application that
39	contains this chart.
40*/
41published service ChartTableAddressSupplier
42{
43	//-------------------------------------------------------------------------
44	/** contains the address to the cells containing
45		the names of the categories.
46
47		Note: Each value of a data series belongs exactly to one category.
48	*/
49	[property] string CategoriesRangeAddress;
50
51	//-------------------------------------------------------------------------
52	/** contains the addresses to the elements of a series.
53		This sequence should contain one element for each series in the chart.
54
55		@see ChartSeriesAddress
56	*/
57	[property] sequence< com::sun::star::chart::ChartSeriesAddress > SeriesAddresses;
58
59	//-------------------------------------------------------------------------
60	/** contains the address to the main title.
61	*/
62	[optional, property] string MainTitleAddress;
63
64	//-------------------------------------------------------------------------
65	/** contains the address to the sub title.
66
67    <!-- Dennis: Does "Address" have a capital "A" or lowercase? -->
68	<!-- JRH: changed to lowercase, consistent with the others -->*/
69	[optional, property] string SubTitleAddress;
70};
71
72//=============================================================================
73
74}; }; }; };
75
76#endif
77