1d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5d1766043SAndrew Rist * distributed with this work for additional information
6d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10d1766043SAndrew Rist *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12d1766043SAndrew Rist *
13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14d1766043SAndrew Rist * software distributed under the License is distributed on an
15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17d1766043SAndrew Rist * specific language governing permissions and limitations
18d1766043SAndrew Rist * under the License.
19d1766043SAndrew Rist *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22d1766043SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef __com_sun_star_sheet_Spreadsheet_idl__
25cdf0e10cSrcweir#define __com_sun_star_sheet_Spreadsheet_idl__
26cdf0e10cSrcweir
27cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SheetCellRange_idl__
28cdf0e10cSrcweir#include <com/sun/star/sheet/SheetCellRange.idl>
29cdf0e10cSrcweir#endif
30cdf0e10cSrcweir
31cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSpreadsheet_idl__
32cdf0e10cSrcweir#include <com/sun/star/sheet/XSpreadsheet.idl>
33cdf0e10cSrcweir#endif
34cdf0e10cSrcweir
35cdf0e10cSrcweir#ifndef __com_sun_star_container_XNamed_idl__
36cdf0e10cSrcweir#include <com/sun/star/container/XNamed.idl>
37cdf0e10cSrcweir#endif
38cdf0e10cSrcweir
39cdf0e10cSrcweir#ifndef __com_sun_star_util_XProtectable_idl__
40cdf0e10cSrcweir#include <com/sun/star/util/XProtectable.idl>
41cdf0e10cSrcweir#endif
42cdf0e10cSrcweir
43cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XDataPilotTablesSupplier_idl__
44cdf0e10cSrcweir#include <com/sun/star/sheet/XDataPilotTablesSupplier.idl>
45cdf0e10cSrcweir#endif
46cdf0e10cSrcweir
47cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XScenariosSupplier_idl__
48cdf0e10cSrcweir#include <com/sun/star/sheet/XScenariosSupplier.idl>
49cdf0e10cSrcweir#endif
50cdf0e10cSrcweir
51cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetAnnotationsSupplier_idl__
52cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetAnnotationsSupplier.idl>
53cdf0e10cSrcweir#endif
54cdf0e10cSrcweir
55cdf0e10cSrcweir#ifndef __com_sun_star_drawing_XDrawPageSupplier_idl__
56cdf0e10cSrcweir#include <com/sun/star/drawing/XDrawPageSupplier.idl>
57cdf0e10cSrcweir#endif
58cdf0e10cSrcweir
59cdf0e10cSrcweir#ifndef __com_sun_star_table_XTableChartsSupplier_idl__
60cdf0e10cSrcweir#include <com/sun/star/table/XTableChartsSupplier.idl>
61cdf0e10cSrcweir#endif
62cdf0e10cSrcweir
63cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XCellRangeMovement_idl__
64cdf0e10cSrcweir#include <com/sun/star/sheet/XCellRangeMovement.idl>
65cdf0e10cSrcweir#endif
66cdf0e10cSrcweir
67cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XPrintAreas_idl__
68cdf0e10cSrcweir#include <com/sun/star/sheet/XPrintAreas.idl>
69cdf0e10cSrcweir#endif
70cdf0e10cSrcweir
71cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetPageBreak_idl__
72cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetPageBreak.idl>
73cdf0e10cSrcweir#endif
74cdf0e10cSrcweir
75cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetOutline_idl__
76cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetOutline.idl>
77cdf0e10cSrcweir#endif
78cdf0e10cSrcweir
79cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetAuditing_idl__
80cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetAuditing.idl>
81cdf0e10cSrcweir#endif
82cdf0e10cSrcweir
83cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetLinkable_idl__
84cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetLinkable.idl>
85cdf0e10cSrcweir#endif
86cdf0e10cSrcweir
87cdf0e10cSrcweir#ifndef __com_sun_star_sheet_Scenario_idl__
88cdf0e10cSrcweir#include <com/sun/star/sheet/Scenario.idl>
89cdf0e10cSrcweir#endif
90cdf0e10cSrcweir
91cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XExternalSheetName_idl__
92cdf0e10cSrcweir#include <com/sun/star/sheet/XExternalSheetName.idl>
93cdf0e10cSrcweir#endif
94cdf0e10cSrcweir
95cdf0e10cSrcweir#include <com/sun/star/util/Color.idl>
96cdf0e10cSrcweir
97cdf0e10cSrcweir//=============================================================================
98cdf0e10cSrcweir
99cdf0e10cSrcweirmodule com {  module sun {  module star {  module sheet {
100cdf0e10cSrcweir
101cdf0e10cSrcweir//=============================================================================
102cdf0e10cSrcweir
103cdf0e10cSrcweir/** represents a complete spreadsheet in a spreadsheet document.
104cdf0e10cSrcweir
105cdf0e10cSrcweir	<p>This service extents the service SheetCellRange. A spreadsheet is
106cdf0e10cSrcweir	nothing else than a cell range with extended functionality.</p>
107cdf0e10cSrcweir
108cdf0e10cSrcweir	@see com::sun::star::sheet::SpreadsheetDocument
109cdf0e10cSrcweir */
110cdf0e10cSrcweirservice Spreadsheet
111cdf0e10cSrcweir{
112cdf0e10cSrcweir	//-------------------------------------------------------------------------
113cdf0e10cSrcweir
114cdf0e10cSrcweir	/** provides functionality for cell range handling.
115cdf0e10cSrcweir	 */
116cdf0e10cSrcweir	service com::sun::star::sheet::SheetCellRange;
117cdf0e10cSrcweir
118cdf0e10cSrcweir	//=========================================================================
119cdf0e10cSrcweir
120cdf0e10cSrcweir    service com::sun::star::sheet::Scenario;
121cdf0e10cSrcweir
122cdf0e10cSrcweir	//=========================================================================
123cdf0e10cSrcweir
124cdf0e10cSrcweir	/** provides methods to create a cell cursor.
125cdf0e10cSrcweir	 */
126cdf0e10cSrcweir	interface com::sun::star::sheet::XSpreadsheet;
127cdf0e10cSrcweir
128cdf0e10cSrcweir	//-------------------------------------------------------------------------
129cdf0e10cSrcweir
130cdf0e10cSrcweir	/** provides accessing the spreadsheet name.
131cdf0e10cSrcweir	 */
132cdf0e10cSrcweir	interface com::sun::star::container::XNamed;
133cdf0e10cSrcweir
134cdf0e10cSrcweir	//-------------------------------------------------------------------------
135cdf0e10cSrcweir
136cdf0e10cSrcweir	/** provides methods to protect and unprotect the sheet contents.
137cdf0e10cSrcweir	 */
138cdf0e10cSrcweir	interface com::sun::star::util::XProtectable;
139cdf0e10cSrcweir
140cdf0e10cSrcweir	//-------------------------------------------------------------------------
141cdf0e10cSrcweir
142cdf0e10cSrcweir	/** provides access to the collection of DataPilot tables.
143cdf0e10cSrcweir	 */
144cdf0e10cSrcweir	interface com::sun::star::sheet::XDataPilotTablesSupplier;
145cdf0e10cSrcweir
146cdf0e10cSrcweir	//-------------------------------------------------------------------------
147cdf0e10cSrcweir
148cdf0e10cSrcweir	/** provides access to the collection of scenarios.
149cdf0e10cSrcweir	 */
150cdf0e10cSrcweir	interface com::sun::star::sheet::XScenariosSupplier;
151cdf0e10cSrcweir
152cdf0e10cSrcweir    	//-------------------------------------------------------------------------
153cdf0e10cSrcweir
154cdf0e10cSrcweir	/** provides access to the collection of annotations.
155cdf0e10cSrcweir	 */
156cdf0e10cSrcweir	interface com::sun::star::sheet::XSheetAnnotationsSupplier;
157cdf0e10cSrcweir
158cdf0e10cSrcweir	//-------------------------------------------------------------------------
159cdf0e10cSrcweir
160cdf0e10cSrcweir	/** provides access to the draw page of this spreadsheet.
161cdf0e10cSrcweir	 */
162cdf0e10cSrcweir	interface com::sun::star::drawing::XDrawPageSupplier;
163cdf0e10cSrcweir
164cdf0e10cSrcweir	//-------------------------------------------------------------------------
165cdf0e10cSrcweir
166cdf0e10cSrcweir	/** provides access to the collection of chart objects.
167cdf0e10cSrcweir	 */
168cdf0e10cSrcweir	interface com::sun::star::table::XTableChartsSupplier;
169cdf0e10cSrcweir
170cdf0e10cSrcweir	//-------------------------------------------------------------------------
171cdf0e10cSrcweir
172cdf0e10cSrcweir	/** provides methods to move cell ranges inside the spreadsheet or to
173cdf0e10cSrcweir		other spreadsheets in this document.
174cdf0e10cSrcweir	 */
175cdf0e10cSrcweir	interface com::sun::star::sheet::XCellRangeMovement;
176cdf0e10cSrcweir
177cdf0e10cSrcweir	//-------------------------------------------------------------------------
178cdf0e10cSrcweir
179cdf0e10cSrcweir	/** provides access to the print area settings of this sheet.
180cdf0e10cSrcweir	 */
181cdf0e10cSrcweir	interface com::sun::star::sheet::XPrintAreas;
182cdf0e10cSrcweir
183cdf0e10cSrcweir	//-------------------------------------------------------------------------
184cdf0e10cSrcweir
185cdf0e10cSrcweir	/** provides access to the page breaks of this sheet.
186cdf0e10cSrcweir	 */
187cdf0e10cSrcweir	interface com::sun::star::sheet::XSheetPageBreak;
188cdf0e10cSrcweir
189cdf0e10cSrcweir	//-------------------------------------------------------------------------
190cdf0e10cSrcweir
191cdf0e10cSrcweir	/** provides access to row and column outline settings.
192cdf0e10cSrcweir	 */
193cdf0e10cSrcweir	interface com::sun::star::sheet::XSheetOutline;
194cdf0e10cSrcweir
195cdf0e10cSrcweir	//-------------------------------------------------------------------------
196cdf0e10cSrcweir
197cdf0e10cSrcweir	/** provides access to the auditing (detective) functionality.
198cdf0e10cSrcweir	 */
199cdf0e10cSrcweir	interface com::sun::star::sheet::XSheetAuditing;
200cdf0e10cSrcweir
201cdf0e10cSrcweir	//-------------------------------------------------------------------------
202cdf0e10cSrcweir
203cdf0e10cSrcweir	/** provides methods for a linked sheet.
204cdf0e10cSrcweir	 */
205cdf0e10cSrcweir	interface com::sun::star::sheet::XSheetLinkable;
206cdf0e10cSrcweir
207cdf0e10cSrcweir    //-------------------------------------------------------------------------
208cdf0e10cSrcweir
209cdf0e10cSrcweir    /** provides a method to set an external name at the sheet.
210cdf0e10cSrcweir
211*fbef625eSJürgen Schmidt        @since OpenOffice 3.0
212cdf0e10cSrcweir     */
213cdf0e10cSrcweir    [optional] interface com::sun::star::sheet::XExternalSheetName;
214cdf0e10cSrcweir
215cdf0e10cSrcweir    //=========================================================================
216cdf0e10cSrcweir
217cdf0e10cSrcweir	/** specifies if the sheet is visible.
218cdf0e10cSrcweir	 */
219cdf0e10cSrcweir	[property] boolean IsVisible;
220cdf0e10cSrcweir
221cdf0e10cSrcweir	//-------------------------------------------------------------------------
222cdf0e10cSrcweir
223cdf0e10cSrcweir	/** specifies the page style of the sheet.
224cdf0e10cSrcweir	 */
225cdf0e10cSrcweir	[property] string PageStyle;
226cdf0e10cSrcweir
227cdf0e10cSrcweir	//-------------------------------------------------------------------------
228cdf0e10cSrcweir
229cdf0e10cSrcweir	/** specifies the direction of the columns in the spreadsheet.
230cdf0e10cSrcweir
231cdf0e10cSrcweir	    <p>Possible values are com::sun::star::text::WritingMode2::LR_TB to
232cdf0e10cSrcweir	    order the columns from left to right, and
233cdf0e10cSrcweir            com::sun::star::text::WritingMode2::RL_TB to order the columns from
234cdf0e10cSrcweir	    right to left.</p>
235cdf0e10cSrcweir
236cdf0e10cSrcweir	    @see com::sun::star::text::WritingMode2
237cdf0e10cSrcweir	 */
238cdf0e10cSrcweir	[optional, property] short TableLayout;
239cdf0e10cSrcweir
240cdf0e10cSrcweir	//-------------------------------------------------------------------------
241cdf0e10cSrcweir
242cdf0e10cSrcweir	/** specifies whether the sheet has an automatic print area.
243cdf0e10cSrcweir
244cdf0e10cSrcweir    <p> The automatic print area is used to print a sheet without
245cdf0e10cSrcweir        explicit print areas, also if other sheets have print areas.</p>
246cdf0e10cSrcweir
247cdf0e10cSrcweir    <p> If the property is true, and there are print areas on other sheets,
248cdf0e10cSrcweir        the used area of this sheet is also printed.</p>
249cdf0e10cSrcweir
250cdf0e10cSrcweir    <p> If the property is false, and there are print areas on other sheets,
251cdf0e10cSrcweir        only these specified print areas are printed.</p>
252cdf0e10cSrcweir
253cdf0e10cSrcweir    <p> If there are no print areas on the other sheets it does not matter
254cdf0e10cSrcweir        whether property is true or false.</p>
255cdf0e10cSrcweir
256cdf0e10cSrcweir	<p> This property can only be true, if there are no print areas given
257cdf0e10cSrcweir        on this sheet. If the property is set to true the print areas of
258cdf0e10cSrcweir        this sheet will be removed.</p>
259cdf0e10cSrcweir
260cdf0e10cSrcweir        @see XPrintAreas
261cdf0e10cSrcweir
262cdf0e10cSrcweir	 */
263cdf0e10cSrcweir	[optional, property] boolean AutomaticPrintArea;
264cdf0e10cSrcweir
265cdf0e10cSrcweir    /** specifies the color of the sheet tab, if any.
266cdf0e10cSrcweir     */
267cdf0e10cSrcweir    [optional, property] com::sun::star::util::Color TabColor;
268cdf0e10cSrcweir};
269cdf0e10cSrcweir
270cdf0e10cSrcweir//=============================================================================
271cdf0e10cSrcweir
272cdf0e10cSrcweir}; }; }; };
273cdf0e10cSrcweir
274cdf0e10cSrcweir#endif
275cdf0e10cSrcweir
276