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_LabeledDataSequence_idl
24#define com_sun_star_chart2_data_LabeledDataSequence_idl
25
26#include <com/sun/star/util/XCloneable.idl>
27#include <com/sun/star/util/XModifyBroadcaster.idl>
28
29#include <com/sun/star/chart2/data/XLabeledDataSequence.idl>
30
31module com
32{
33module sun
34{
35module star
36{
37module chart2
38{
39module data
40{
41
42/** describes a container for a sequence pair of value-sequences, one
43    for a label and one for the associated data.
44  */
45service LabeledDataSequence
46{
47    /** provides read- and write-access to the underlying data.
48     */
49    interface XLabeledDataSequence;
50
51    /** is used to broadcast when the sequence for labels or values
52        change their identity, or their content changes.
53
54        <p>The LabeledDataSequence should add itself at its
55        XDataSequences for values and labels, and forward any change
56        events coming from there.</p>
57     */
58    interface com::sun::star::util::XModifyBroadcaster;
59
60    /** Allows creating copies of data sequences.  If this interface
61        is not supported, the same object will be shared if used by
62        multiple objects.
63
64        <p>If a <type>LabeledDataSequence</type> is cloned, it has to
65        query its contents for the
66        <type scope="com::sun::star::util">XCloneable</type> interface
67        and use it if available.</p>
68    */
69    [optional] interface ::com::sun::star::util::XCloneable;
70};
71
72} ; // data
73} ; // chart2
74} ; // com
75} ; // sun
76} ; // star
77
78
79#endif
80