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 ************************************************************************/
28 #ifndef __com_sun_star_sheet_SpreadsheetDocument_idl__
29 #define __com_sun_star_sheet_SpreadsheetDocument_idl__
31 #ifndef __com_sun_star_document_OfficeDocument_idl__
32 #include
<com
/sun
/star
/document
/OfficeDocument.idl
>
35 #ifndef __com_sun_star_sheet_SpreadsheetDocumentSettings_idl__
36 #include
<com
/sun
/star
/sheet
/SpreadsheetDocumentSettings.idl
>
40 #ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
41 #include
<com
/sun
/star
/lang
/XMultiServiceFactory.idl
>
44 #ifndef __com_sun_star_frame_XModel_idl__
45 #include
<com
/sun
/star
/frame
/XModel.idl
>
48 #ifndef __com_sun_star_document_XActionLockable_idl__
49 #include
<com
/sun
/star
/document
/XActionLockable.idl
>
52 #ifndef __com_sun_star_document_XLinkTargetSupplier_idl__
53 #include
<com
/sun
/star
/document
/XLinkTargetSupplier.idl
>
56 #ifndef __com_sun_star_util_XProtectable_idl__
57 #include
<com
/sun
/star
/util
/XProtectable.idl
>
60 #ifndef __com_sun_star_sheet_XSpreadsheetDocument_idl__
61 #include
<com
/sun
/star
/sheet
/XSpreadsheetDocument.idl
>
64 #ifndef __com_sun_star_sheet_XCalculatable_idl__
65 #include
<com
/sun
/star
/sheet
/XCalculatable.idl
>
68 #ifndef __com_sun_star_sheet_XDocumentAuditing_idl__
69 #include
<com
/sun
/star
/sheet
/XDocumentAuditing.idl
>
72 #ifndef __com_sun_star_sheet_XConsolidatable_idl__
73 #include
<com
/sun
/star
/sheet
/XConsolidatable.idl
>
76 #ifndef __com_sun_star_sheet_XGoalSeek_idl__
77 #include
<com
/sun
/star
/sheet
/XGoalSeek.idl
>
80 #ifndef __com_sun_star_drawing_XDrawPagesSupplier_idl__
81 #include
<com
/sun
/star
/drawing
/XDrawPagesSupplier.idl
>
84 #ifndef __com_sun_star_style_XStyleFamiliesSupplier_idl__
85 #include
<com
/sun
/star
/style
/XStyleFamiliesSupplier.idl
>
88 #ifndef __com_sun_star_util_XNumberFormatsSupplier_idl__
89 #include
<com
/sun
/star
/util
/XNumberFormatsSupplier.idl
>
93 #ifndef __com_sun_star_sheet_XNamedRanges_idl__
94 #include
<com
/sun
/star
/sheet
/XNamedRanges.idl
>
97 #ifndef __com_sun_star_sheet_XDatabaseRanges_idl__
98 #include
<com
/sun
/star
/sheet
/XDatabaseRanges.idl
>
101 #ifndef __com_sun_star_sheet_XLabelRanges_idl__
102 #include
<com
/sun
/star
/sheet
/XLabelRanges.idl
>
105 #ifndef __com_sun_star_container_XNameAccess_idl__
106 #include
<com
/sun
/star
/container
/XNameAccess.idl
>
109 #ifndef __com_sun_star_sheet_XAreaLinks_idl__
110 #include
<com
/sun
/star
/sheet
/XAreaLinks.idl
>
113 #ifndef __com_sun_star_sheet_XExternalDocLinks_idl__
114 #include
<com
/sun
/star
/sheet
/XExternalDocLinks.idl
>
117 //=============================================================================
119 module com
{ module sun
{ module star
{ module sheet
{
121 //=============================================================================
123 /** represents a model component which consists of some settings and
124 one or more spreadsheets.
126 published service SpreadsheetDocument
128 //-------------------------------------------------------------------------
130 /** common service for all types of documents.
132 service com
::sun
::star
::document
::OfficeDocument
;
134 //-------------------------------------------------------------------------
136 /** contributes spreadsheet document specific properties.
140 [optional] service com
::sun
::star
::sheet
::SpreadsheetDocumentSettings
;
142 //=========================================================================
144 /** provides methods to create instances of several spreadsheet
147 interface com
::sun
::star
::lang
::XMultiServiceFactory
;
149 //-------------------------------------------------------------------------
151 /** provides common methods for a document model.
153 <p>This interface is derived from
154 <type scope="com::sun::star::lang">XComponent</type>.</p>
156 interface com
::sun
::star
::frame
::XModel
;
158 //-------------------------------------------------------------------------
160 /** provides methods to control the automatic update of cell contents.
162 interface com
::sun
::star
::document
::XActionLockable
;
164 //-------------------------------------------------------------------------
166 /** provides access to the collection of link targets available in
169 interface com
::sun
::star
::document
::XLinkTargetSupplier
;
171 //-------------------------------------------------------------------------
173 /** provides methods to protect and unprotect the document.
175 interface com
::sun
::star
::util
::XProtectable
;
177 //-------------------------------------------------------------------------
179 /** provides access to the collection of spreadsheets.
181 interface com
::sun
::star
::sheet
::XSpreadsheetDocument
;
183 //-------------------------------------------------------------------------
185 /** controls the recalculation settings of the document.
187 interface com
::sun
::star
::sheet
::XCalculatable
;
189 //-------------------------------------------------------------------------
191 /** provides a method to refresh all auditing arrows.
193 interface com
::sun
::star
::sheet
::XDocumentAuditing
;
195 //-------------------------------------------------------------------------
197 /** provides methods to perform a data consolidation.
199 interface com
::sun
::star
::sheet
::XConsolidatable
;
201 //-------------------------------------------------------------------------
203 /** provides a method to perform a goal seek.
205 interface com
::sun
::star
::sheet
::XGoalSeek
;
207 //-------------------------------------------------------------------------
209 /** provides access to the collection of draw pages of this document.
211 interface com
::sun
::star
::drawing
::XDrawPagesSupplier
;
213 //-------------------------------------------------------------------------
215 /** provides access to the collection of style families.
217 <p>A spreadsheet document contains 2 families of styles:
218 "PageStyles" and "CellStyles".</p>
220 interface com
::sun
::star
::style
::XStyleFamiliesSupplier
;
222 //-------------------------------------------------------------------------
224 /** provides access to the collection of number formats contained in
227 interface com
::sun
::star
::util
::XNumberFormatsSupplier
;
229 //=========================================================================
231 /** contains the collection of named ranges in the document.
233 [readonly, property
] com
::sun
::star
::sheet
::XNamedRanges NamedRanges
;
235 //-------------------------------------------------------------------------
237 /** contains the collection of database ranges in the document.
239 [readonly, property
] com
::sun
::star
::sheet
::XDatabaseRanges DatabaseRanges
;
241 //-------------------------------------------------------------------------
243 /** contains the collection of column label ranges in the document.
245 [readonly, property
] com
::sun
::star
::sheet
::XLabelRanges ColumnLabelRanges
;
247 //-------------------------------------------------------------------------
249 /** contains the collection of row label ranges in the document.
251 [readonly, property
] com
::sun
::star
::sheet
::XLabelRanges RowLabelRanges
;
253 //-------------------------------------------------------------------------
255 /** contains the collection of sheet links in the document.
257 [readonly, property
] com
::sun
::star
::container
::XNameAccess SheetLinks
;
259 //-------------------------------------------------------------------------
261 /** contains the collection of area links in the document.
263 [readonly, property
] com
::sun
::star
::sheet
::XAreaLinks AreaLinks
;
265 //-------------------------------------------------------------------------
267 /** contains the collection of DDE links in the document.
269 [readonly, property
] com
::sun
::star
::container
::XNameAccess DDELinks
;
271 //-------------------------------------------------------------------------
274 /** contains the collection of external document links in the document.
278 [optional, readonly, property
] com
::sun
::star
::sheet
::XExternalDocLinks ExternalDocLinks
;
283 //=============================================================================