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_data_XDataSource_idl
24#define com_sun_star_chart2_data_XDataSource_idl
25
26#include <com/sun/star/uno/XInterface.idl>
27
28#include <com/sun/star/chart2/data/XLabeledDataSequence.idl>
29
30module com
31{
32module sun
33{
34module star
35{
36module chart2
37{
38module data
39{
40
41
42/** provides access to sequences of data.  With this interface data
43    can only be read from.
44
45    <p>If the data stored consists only of floating point numbers (double
46    values), the returned instances should also support the service
47    <type>NumericalDataSequence</type>.</p>
48
49    <p>If the data stored consists only of strings, the returned
50    instances should also support the service
51    <type>TextualDataSequence</type>.</p>
52  */
53interface XDataSource  : ::com::sun::star::uno::XInterface
54// : ::com::sun::star::container::XIndexAccess
55{
56    /** returns data sequences.
57
58        @return a sequence of objects that support at least the
59                service <type>DataSequence</type>.
60
61        <p>If the data stored consist only of floating point numbers
62        (double values), the returned instances should also support
63        the service <type>NumericalDataSequence</type>.</p>
64
65        <p>If the data stored consist only of strings, the returned
66        instances should also support the service
67        <type>TextualDataSequence</type>.</p>
68     */
69    sequence< XLabeledDataSequence >  getDataSequences();
70};
71
72} ; // data
73} ; // chart2
74} ; // com
75} ; // sun
76} ; // star
77
78
79#endif
80