merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / chart2 / XDataSeriesContainer.idl
blob659120d67ec69ca5569cdc5a4d39598ef52ddc33
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef com_sun_star_chart2_XDataSeriesContainer_idl
28 #define com_sun_star_chart2_XDataSeriesContainer_idl
30 #include <com/sun/star/uno/XInterface.idl>
32 #ifndef com_sun_star_chart_XDataSeries_idl
33 #include <com/sun/star/chart2/XDataSeries.idl>
34 #endif
36 #ifndef __com_sun_star_lang_IllegalArgumentException_idl__
37 #include <com/sun/star/lang/IllegalArgumentException.idl>
38 #endif
39 #ifndef __com_sun_star_container_NoSuchElementException_idl__
40 #include <com/sun/star/container/NoSuchElementException.idl>
41 #endif
43 module com
45 module sun
47 module star
49 module chart2
52 interface XDataSeriesContainer : com::sun::star::uno::XInterface
54 /** add a data series to the data series container
56 @throws IllegalArgumentException
57 If the given data series is already contained in the data series container.
59 void addDataSeries( [in] XDataSeries aDataSeries )
60 raises( com::sun::star::lang::IllegalArgumentException );
62 /** removes one data deries from the data series container.
64 void removeDataSeries( [in] XDataSeries aDataSeries )
65 raises( com::sun::star::container::NoSuchElementException );
67 /** retrieve all data series
69 sequence< XDataSeries > getDataSeries();
71 /** set all data series
73 void setDataSeries( [in] sequence< XDataSeries > aDataSeries )
74 raises( com::sun::star::lang::IllegalArgumentException );
77 } ; // chart2
78 } ; // com
79 } ; // sun
80 } ; // star
82 #endif