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: XDataSource.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_chart2_data_XDataSource_idl
31 #define com_sun_star_chart2_data_XDataSource_idl
33 #include
<com
/sun
/star
/uno
/XInterface.idl
>
35 #include
<com
/sun
/star
/chart2
/data
/XLabeledDataSequence.idl
>
49 /** provides access to sequences of data. With this interface data
50 can only be read from.
52 <p>If the data stored consists only of floating point numbers (double
53 values), the returned instances should also support the service
54 <type>NumericalDataSequence</type>.</p>
56 <p>If the data stored consists only of strings, the returned
57 instances should also support the service
58 <type>TextualDataSequence</type>.</p>
60 interface XDataSource
: ::com
::sun
::star
::uno
::XInterface
61 // : ::com::sun::star::container::XIndexAccess
63 /** returns data sequences.
65 @return a sequence of objects that support at least the
66 service <type>DataSequence</type>.
68 <p>If the data stored consist only of floating point numbers
69 (double values), the returned instances should also support
70 the service <type>NumericalDataSequence</type>.</p>
72 <p>If the data stored consist only of strings, the returned
73 instances should also support the service
74 <type>TextualDataSequence</type>.</p>
76 sequence
< XLabeledDataSequence
> getDataSequences
();