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_XDataSeriesContainer_idl 24#define com_sun_star_chart2_XDataSeriesContainer_idl 25 26#include <com/sun/star/uno/XInterface.idl> 27 28#ifndef com_sun_star_chart_XDataSeries_idl 29#include <com/sun/star/chart2/XDataSeries.idl> 30#endif 31 32#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ 33#include <com/sun/star/lang/IllegalArgumentException.idl> 34#endif 35#ifndef __com_sun_star_container_NoSuchElementException_idl__ 36#include <com/sun/star/container/NoSuchElementException.idl> 37#endif 38 39module com 40{ 41module sun 42{ 43module star 44{ 45module chart2 46{ 47 48interface XDataSeriesContainer : com::sun::star::uno::XInterface 49{ 50 /** add a data series to the data series container 51 52 @throws IllegalArgumentException 53 If the given data series is already contained in the data series container. 54 */ 55 void addDataSeries( [in] XDataSeries aDataSeries ) 56 raises( com::sun::star::lang::IllegalArgumentException ); 57 58 /** removes one data deries from the data series container. 59 */ 60 void removeDataSeries( [in] XDataSeries aDataSeries ) 61 raises( com::sun::star::container::NoSuchElementException ); 62 63 /** retrieve all data series 64 */ 65 sequence< XDataSeries > getDataSeries(); 66 67 /** set all data series 68 */ 69 void setDataSeries( [in] sequence< XDataSeries > aDataSeries ) 70 raises( com::sun::star::lang::IllegalArgumentException ); 71}; 72 73} ; // chart2 74} ; // com 75} ; // sun 76} ; // star 77 78#endif 79