1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SpreadsheetDocument_idl__
29*cdf0e10cSrcweir#define __com_sun_star_sheet_SpreadsheetDocument_idl__
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir#ifndef __com_sun_star_document_OfficeDocument_idl__
32*cdf0e10cSrcweir#include <com/sun/star/document/OfficeDocument.idl>
33*cdf0e10cSrcweir#endif
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SpreadsheetDocumentSettings_idl__
36*cdf0e10cSrcweir#include <com/sun/star/sheet/SpreadsheetDocumentSettings.idl>
37*cdf0e10cSrcweir#endif
38*cdf0e10cSrcweir
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
41*cdf0e10cSrcweir#include <com/sun/star/lang/XMultiServiceFactory.idl>
42*cdf0e10cSrcweir#endif
43*cdf0e10cSrcweir
44*cdf0e10cSrcweir#ifndef __com_sun_star_frame_XModel_idl__
45*cdf0e10cSrcweir#include <com/sun/star/frame/XModel.idl>
46*cdf0e10cSrcweir#endif
47*cdf0e10cSrcweir
48*cdf0e10cSrcweir#ifndef __com_sun_star_document_XActionLockable_idl__
49*cdf0e10cSrcweir#include <com/sun/star/document/XActionLockable.idl>
50*cdf0e10cSrcweir#endif
51*cdf0e10cSrcweir
52*cdf0e10cSrcweir#ifndef __com_sun_star_document_XLinkTargetSupplier_idl__
53*cdf0e10cSrcweir#include <com/sun/star/document/XLinkTargetSupplier.idl>
54*cdf0e10cSrcweir#endif
55*cdf0e10cSrcweir
56*cdf0e10cSrcweir#ifndef __com_sun_star_util_XProtectable_idl__
57*cdf0e10cSrcweir#include <com/sun/star/util/XProtectable.idl>
58*cdf0e10cSrcweir#endif
59*cdf0e10cSrcweir
60*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSpreadsheetDocument_idl__
61*cdf0e10cSrcweir#include <com/sun/star/sheet/XSpreadsheetDocument.idl>
62*cdf0e10cSrcweir#endif
63*cdf0e10cSrcweir
64*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XCalculatable_idl__
65*cdf0e10cSrcweir#include <com/sun/star/sheet/XCalculatable.idl>
66*cdf0e10cSrcweir#endif
67*cdf0e10cSrcweir
68*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XDocumentAuditing_idl__
69*cdf0e10cSrcweir#include <com/sun/star/sheet/XDocumentAuditing.idl>
70*cdf0e10cSrcweir#endif
71*cdf0e10cSrcweir
72*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XConsolidatable_idl__
73*cdf0e10cSrcweir#include <com/sun/star/sheet/XConsolidatable.idl>
74*cdf0e10cSrcweir#endif
75*cdf0e10cSrcweir
76*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XGoalSeek_idl__
77*cdf0e10cSrcweir#include <com/sun/star/sheet/XGoalSeek.idl>
78*cdf0e10cSrcweir#endif
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir#ifndef __com_sun_star_drawing_XDrawPagesSupplier_idl__
81*cdf0e10cSrcweir#include <com/sun/star/drawing/XDrawPagesSupplier.idl>
82*cdf0e10cSrcweir#endif
83*cdf0e10cSrcweir
84*cdf0e10cSrcweir#ifndef __com_sun_star_style_XStyleFamiliesSupplier_idl__
85*cdf0e10cSrcweir#include <com/sun/star/style/XStyleFamiliesSupplier.idl>
86*cdf0e10cSrcweir#endif
87*cdf0e10cSrcweir
88*cdf0e10cSrcweir#ifndef __com_sun_star_util_XNumberFormatsSupplier_idl__
89*cdf0e10cSrcweir#include <com/sun/star/util/XNumberFormatsSupplier.idl>
90*cdf0e10cSrcweir#endif
91*cdf0e10cSrcweir
92*cdf0e10cSrcweir
93*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XNamedRanges_idl__
94*cdf0e10cSrcweir#include <com/sun/star/sheet/XNamedRanges.idl>
95*cdf0e10cSrcweir#endif
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XDatabaseRanges_idl__
98*cdf0e10cSrcweir#include <com/sun/star/sheet/XDatabaseRanges.idl>
99*cdf0e10cSrcweir#endif
100*cdf0e10cSrcweir
101*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XLabelRanges_idl__
102*cdf0e10cSrcweir#include <com/sun/star/sheet/XLabelRanges.idl>
103*cdf0e10cSrcweir#endif
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir#ifndef __com_sun_star_container_XNameAccess_idl__
106*cdf0e10cSrcweir#include <com/sun/star/container/XNameAccess.idl>
107*cdf0e10cSrcweir#endif
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XAreaLinks_idl__
110*cdf0e10cSrcweir#include <com/sun/star/sheet/XAreaLinks.idl>
111*cdf0e10cSrcweir#endif
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XExternalDocLinks_idl__
114*cdf0e10cSrcweir#include <com/sun/star/sheet/XExternalDocLinks.idl>
115*cdf0e10cSrcweir#endif
116*cdf0e10cSrcweir
117*cdf0e10cSrcweir//=============================================================================
118*cdf0e10cSrcweir
119*cdf0e10cSrcweirmodule com {  module sun {  module star {  module sheet {
120*cdf0e10cSrcweir
121*cdf0e10cSrcweir//=============================================================================
122*cdf0e10cSrcweir
123*cdf0e10cSrcweir/** represents a model component which consists of some settings and
124*cdf0e10cSrcweir	one or more spreadsheets.
125*cdf0e10cSrcweir */
126*cdf0e10cSrcweirpublished service SpreadsheetDocument
127*cdf0e10cSrcweir{
128*cdf0e10cSrcweir	//-------------------------------------------------------------------------
129*cdf0e10cSrcweir
130*cdf0e10cSrcweir	/** common service for all types of documents.
131*cdf0e10cSrcweir	 */
132*cdf0e10cSrcweir	service com::sun::star::document::OfficeDocument;
133*cdf0e10cSrcweir
134*cdf0e10cSrcweir	//-------------------------------------------------------------------------
135*cdf0e10cSrcweir
136*cdf0e10cSrcweir	/** contributes spreadsheet document specific properties.
137*cdf0e10cSrcweir
138*cdf0e10cSrcweir	@deprecated
139*cdf0e10cSrcweir	 */
140*cdf0e10cSrcweir	[optional] service com::sun::star::sheet::SpreadsheetDocumentSettings;
141*cdf0e10cSrcweir
142*cdf0e10cSrcweir	//=========================================================================
143*cdf0e10cSrcweir
144*cdf0e10cSrcweir	/** provides methods to create instances of several spreadsheet
145*cdf0e10cSrcweir		services.
146*cdf0e10cSrcweir	 */
147*cdf0e10cSrcweir	interface com::sun::star::lang::XMultiServiceFactory;
148*cdf0e10cSrcweir
149*cdf0e10cSrcweir	//-------------------------------------------------------------------------
150*cdf0e10cSrcweir
151*cdf0e10cSrcweir	/** provides common methods for a document model.
152*cdf0e10cSrcweir
153*cdf0e10cSrcweir		<p>This interface is derived from
154*cdf0e10cSrcweir		<type scope="com::sun::star::lang">XComponent</type>.</p>
155*cdf0e10cSrcweir	 */
156*cdf0e10cSrcweir	interface com::sun::star::frame::XModel;
157*cdf0e10cSrcweir
158*cdf0e10cSrcweir	//-------------------------------------------------------------------------
159*cdf0e10cSrcweir
160*cdf0e10cSrcweir	/** provides methods to control the automatic update of cell contents.
161*cdf0e10cSrcweir	 */
162*cdf0e10cSrcweir	interface com::sun::star::document::XActionLockable;
163*cdf0e10cSrcweir
164*cdf0e10cSrcweir	//-------------------------------------------------------------------------
165*cdf0e10cSrcweir
166*cdf0e10cSrcweir	/** provides access to the collection of link targets available in
167*cdf0e10cSrcweir		the document.
168*cdf0e10cSrcweir	 */
169*cdf0e10cSrcweir	interface com::sun::star::document::XLinkTargetSupplier;
170*cdf0e10cSrcweir
171*cdf0e10cSrcweir	//-------------------------------------------------------------------------
172*cdf0e10cSrcweir
173*cdf0e10cSrcweir	/** provides methods to protect and unprotect the document.
174*cdf0e10cSrcweir	 */
175*cdf0e10cSrcweir	interface com::sun::star::util::XProtectable;
176*cdf0e10cSrcweir
177*cdf0e10cSrcweir	//-------------------------------------------------------------------------
178*cdf0e10cSrcweir
179*cdf0e10cSrcweir	/** provides access to the collection of spreadsheets.
180*cdf0e10cSrcweir	 */
181*cdf0e10cSrcweir	interface com::sun::star::sheet::XSpreadsheetDocument;
182*cdf0e10cSrcweir
183*cdf0e10cSrcweir	//-------------------------------------------------------------------------
184*cdf0e10cSrcweir
185*cdf0e10cSrcweir	/** controls the recalculation settings of the document.
186*cdf0e10cSrcweir	 */
187*cdf0e10cSrcweir	interface com::sun::star::sheet::XCalculatable;
188*cdf0e10cSrcweir
189*cdf0e10cSrcweir	//-------------------------------------------------------------------------
190*cdf0e10cSrcweir
191*cdf0e10cSrcweir	/** provides a method to refresh all auditing arrows.
192*cdf0e10cSrcweir	 */
193*cdf0e10cSrcweir	interface com::sun::star::sheet::XDocumentAuditing;
194*cdf0e10cSrcweir
195*cdf0e10cSrcweir	//-------------------------------------------------------------------------
196*cdf0e10cSrcweir
197*cdf0e10cSrcweir	/** provides methods to perform a data consolidation.
198*cdf0e10cSrcweir	 */
199*cdf0e10cSrcweir	interface com::sun::star::sheet::XConsolidatable;
200*cdf0e10cSrcweir
201*cdf0e10cSrcweir	//-------------------------------------------------------------------------
202*cdf0e10cSrcweir
203*cdf0e10cSrcweir	/** provides a method to perform a goal seek.
204*cdf0e10cSrcweir	 */
205*cdf0e10cSrcweir	interface com::sun::star::sheet::XGoalSeek;
206*cdf0e10cSrcweir
207*cdf0e10cSrcweir	//-------------------------------------------------------------------------
208*cdf0e10cSrcweir
209*cdf0e10cSrcweir	/** provides access to the collection of draw pages of this document.
210*cdf0e10cSrcweir	 */
211*cdf0e10cSrcweir	interface com::sun::star::drawing::XDrawPagesSupplier;
212*cdf0e10cSrcweir
213*cdf0e10cSrcweir	//-------------------------------------------------------------------------
214*cdf0e10cSrcweir
215*cdf0e10cSrcweir	/** provides access to the collection of style families.
216*cdf0e10cSrcweir
217*cdf0e10cSrcweir		<p>A spreadsheet document contains 2 families of styles:
218*cdf0e10cSrcweir		"PageStyles" and "CellStyles".</p>
219*cdf0e10cSrcweir	 */
220*cdf0e10cSrcweir	interface com::sun::star::style::XStyleFamiliesSupplier;
221*cdf0e10cSrcweir
222*cdf0e10cSrcweir	//-------------------------------------------------------------------------
223*cdf0e10cSrcweir
224*cdf0e10cSrcweir	/** provides access to the collection of number formats contained in
225*cdf0e10cSrcweir		the document.
226*cdf0e10cSrcweir	 */
227*cdf0e10cSrcweir	interface com::sun::star::util::XNumberFormatsSupplier;
228*cdf0e10cSrcweir
229*cdf0e10cSrcweir	//=========================================================================
230*cdf0e10cSrcweir
231*cdf0e10cSrcweir	/** contains the collection of named ranges in the document.
232*cdf0e10cSrcweir	 */
233*cdf0e10cSrcweir	[readonly, property] com::sun::star::sheet::XNamedRanges NamedRanges;
234*cdf0e10cSrcweir
235*cdf0e10cSrcweir	//-------------------------------------------------------------------------
236*cdf0e10cSrcweir
237*cdf0e10cSrcweir	/** contains the collection of database ranges in the document.
238*cdf0e10cSrcweir	 */
239*cdf0e10cSrcweir	[readonly, property] com::sun::star::sheet::XDatabaseRanges DatabaseRanges;
240*cdf0e10cSrcweir
241*cdf0e10cSrcweir	//-------------------------------------------------------------------------
242*cdf0e10cSrcweir
243*cdf0e10cSrcweir	/** contains the collection of column label ranges in the document.
244*cdf0e10cSrcweir	 */
245*cdf0e10cSrcweir	[readonly, property] com::sun::star::sheet::XLabelRanges ColumnLabelRanges;
246*cdf0e10cSrcweir
247*cdf0e10cSrcweir	//-------------------------------------------------------------------------
248*cdf0e10cSrcweir
249*cdf0e10cSrcweir	/** contains the collection of row label ranges in the document.
250*cdf0e10cSrcweir	 */
251*cdf0e10cSrcweir	[readonly, property] com::sun::star::sheet::XLabelRanges RowLabelRanges;
252*cdf0e10cSrcweir
253*cdf0e10cSrcweir	//-------------------------------------------------------------------------
254*cdf0e10cSrcweir
255*cdf0e10cSrcweir	/** contains the collection of sheet links in the document.
256*cdf0e10cSrcweir	 */
257*cdf0e10cSrcweir	[readonly, property] com::sun::star::container::XNameAccess SheetLinks;
258*cdf0e10cSrcweir
259*cdf0e10cSrcweir	//-------------------------------------------------------------------------
260*cdf0e10cSrcweir
261*cdf0e10cSrcweir	/** contains the collection of area links in the document.
262*cdf0e10cSrcweir	 */
263*cdf0e10cSrcweir	[readonly, property] com::sun::star::sheet::XAreaLinks AreaLinks;
264*cdf0e10cSrcweir
265*cdf0e10cSrcweir	//-------------------------------------------------------------------------
266*cdf0e10cSrcweir
267*cdf0e10cSrcweir	/** contains the collection of DDE links in the document.
268*cdf0e10cSrcweir	 */
269*cdf0e10cSrcweir	[readonly, property] com::sun::star::container::XNameAccess DDELinks;
270*cdf0e10cSrcweir
271*cdf0e10cSrcweir    //-------------------------------------------------------------------------
272*cdf0e10cSrcweir
273*cdf0e10cSrcweir#if 0
274*cdf0e10cSrcweir    /** contains the collection of external document links in the document.
275*cdf0e10cSrcweir
276*cdf0e10cSrcweir        @since OOo 3.1
277*cdf0e10cSrcweir     */
278*cdf0e10cSrcweir    [optional, readonly, property] com::sun::star::sheet::XExternalDocLinks ExternalDocLinks;
279*cdf0e10cSrcweir#endif
280*cdf0e10cSrcweir
281*cdf0e10cSrcweir};
282*cdf0e10cSrcweir
283*cdf0e10cSrcweir//=============================================================================
284*cdf0e10cSrcweir
285*cdf0e10cSrcweir}; }; }; };
286*cdf0e10cSrcweir
287*cdf0e10cSrcweir#endif
288*cdf0e10cSrcweir
289