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_ChartDocument_idl 24#define com_sun_star_chart2_ChartDocument_idl 25 26#include <com/sun/star/style/XStyleFamiliesSupplier.idl> 27#include <com/sun/star/util/XNumberFormatsSupplier.idl> 28 29#include <com/sun/star/chart2/XChartDocument.idl> 30#include <com/sun/star/chart2/XUndoSupplier.idl> 31#include <com/sun/star/chart2/data/XDataReceiver.idl> 32 33#include <com/sun/star/chart2/XTitled.idl> 34#include <com/sun/star/lang/XInitialization.idl> 35 36module com 37{ 38module sun 39{ 40module star 41{ 42module chart2 43{ 44 45service ChartDocument 46{ 47 /** this interface is derived from 48 <type-scope="com::sun::star::frame">XModel</type>. Thus model 49 functionality is available via this interface. 50 */ 51 interface XChartDocument; 52 53 /** offers connection to data 54 */ 55 interface data::XDataReceiver; 56 57 /** gives access to the main title of a chart document 58 */ 59 interface XTitled; 60 61 /** maintains all style families applying to any object in the 62 chart. 63 */ 64 interface ::com::sun::star::style::XStyleFamiliesSupplier; 65 66 /** maintains all number formats used anywhere in the chart. 67 */ 68 interface ::com::sun::star::util::XNumberFormatsSupplier; 69 70 /** Allows passing arguments to createInstanceWithArguments. 71 72 <p>The following arguments are allowed in the given order:</p> 73 74 <ol> 75 <li>string Name</li> 76 </ol> 77 */ 78 [optional] interface ::com::sun::star::lang::XInitialization; 79 80 [optional] interface XUndoSupplier; 81}; 82 83} ; // chart2 84} ; // com 85} ; // sun 86} ; // star 87 88#endif 89