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_XDataSink_idl
24#define com_sun_star_chart2_data_XDataSink_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/** is a container for sequences of data.  With this interface data
42    can only be written to.
43
44    <p>If you want to be able to also read the data set here, your
45    component must also implement <type>XDataSource</type>.</p>
46  */
47interface XDataSink : ::com::sun::star::uno::XInterface
48{
49    /** sets new data sequences.  The elements set here must support
50        the service <type>DataSequence</type>.
51
52        <p>If the data consist only of floating point numbers (double
53        values), the instances set here should also support the
54        service <type>NumericalDataSequence</type>.</p>
55
56        <p>If the data consist only of strings, the instances set here
57        should also support the service
58        <type>TextualDataSequence</type>.</p>
59
60        <p>If one of the derived services is supported by one element
61        of the sequence, it should be available for all elements in
62        the sequence.</p>
63     */
64    void  setData( [in] sequence< XLabeledDataSequence > aData );
65};
66
67} ; // data
68} ; // chart2
69} ; // com
70} ; // sun
71} ; // star
72
73
74#endif
75