Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / chart2 / ChartDocument.idl
blob64b25864bf75e94a73ba01888355a40ad088d532
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ChartDocument.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef com_sun_star_chart2_ChartDocument_idl
31 #define com_sun_star_chart2_ChartDocument_idl
33 #include <com/sun/star/style/XStyleFamiliesSupplier.idl>
34 #include <com/sun/star/util/XNumberFormatsSupplier.idl>
36 #include <com/sun/star/chart2/XChartDocument.idl>
37 #include <com/sun/star/chart2/XUndoSupplier.idl>
38 #include <com/sun/star/chart2/data/XDataReceiver.idl>
40 #include <com/sun/star/chart2/XTitled.idl>
41 #include <com/sun/star/lang/XInitialization.idl>
43 module com
45 module sun
47 module star
49 module chart2
52 service ChartDocument
54 /** this interface is derived from
55 <type-scope="com::sun::star::frame">XModel</type>. Thus model
56 functionality is available via this interface.
58 interface XChartDocument;
60 /** offers connection to data
62 interface data::XDataReceiver;
64 /** gives access to the main title of a chart document
66 interface XTitled;
68 /** maintains all style families applying to any object in the
69 chart.
71 interface ::com::sun::star::style::XStyleFamiliesSupplier;
73 /** maintains all number formats used anywhere in the chart.
75 interface ::com::sun::star::util::XNumberFormatsSupplier;
77 /** Allows passing arguments to createInstanceWithArguments.
79 <p>The following arguments are allowed in the given order:</p>
81 <ol>
82 <li>string Name</li>
83 </ol>
85 [optional] interface ::com::sun::star::lang::XInitialization;
87 [optional] interface XUndoSupplier;
90 } ; // chart2
91 } ; // com
92 } ; // sun
93 } ; // star
95 #endif