tdf#146549 sw: Make the formatting toolbar visible
[LibreOffice.git] / offapi / com / sun / star / sheet / Spreadsheet.idl
blob605055c7b4ec5104cf8e725b99c7146964814adc
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com { module sun { module star { module sheet {
24 /** represents a complete spreadsheet in a spreadsheet document.
26 <p>This service extents the service SheetCellRange. A spreadsheet is
27 nothing else than a cell range with extended functionality.</p>
29 @see com::sun::star::sheet::SpreadsheetDocument
31 service Spreadsheet
34 /** provides functionality for cell range handling.
36 service com::sun::star::sheet::SheetCellRange;
39 service com::sun::star::sheet::Scenario;
42 /** provides methods to create a cell cursor.
44 interface com::sun::star::sheet::XSpreadsheet;
47 /** provides accessing the spreadsheet name.
49 interface com::sun::star::container::XNamed;
52 /** provides methods to protect and unprotect the sheet contents.
54 interface com::sun::star::util::XProtectable;
57 /** provides access to the collection of DataPilot tables.
59 interface com::sun::star::sheet::XDataPilotTablesSupplier;
62 /** provides access to the collection of scenarios.
64 interface com::sun::star::sheet::XScenariosSupplier;
67 /** provides access to the collection of annotations.
69 interface com::sun::star::sheet::XSheetAnnotationsSupplier;
72 /** provides access to the draw page of this spreadsheet.
74 interface com::sun::star::drawing::XDrawPageSupplier;
77 /** provides access to the collection of chart objects.
79 interface com::sun::star::table::XTableChartsSupplier;
82 /** provides methods to move cell ranges inside the spreadsheet or to
83 other spreadsheets in this document.
85 interface com::sun::star::sheet::XCellRangeMovement;
88 /** provides access to the print area settings of this sheet.
90 interface com::sun::star::sheet::XPrintAreas;
93 /** provides access to the page breaks of this sheet.
95 interface com::sun::star::sheet::XSheetPageBreak;
98 /** provides access to row and column outline settings.
100 interface com::sun::star::sheet::XSheetOutline;
103 /** provides access to the auditing (detective) functionality.
105 interface com::sun::star::sheet::XSheetAuditing;
108 /** provides methods for a linked sheet.
110 interface com::sun::star::sheet::XSheetLinkable;
113 /** provides a method to set an external name at the sheet.
115 @since OOo 3.0
117 [optional] interface com::sun::star::sheet::XExternalSheetName;
120 /** specifies if the sheet is visible.
122 [property] boolean IsVisible;
125 /** specifies the page style of the sheet.
127 [property] string PageStyle;
130 /** specifies the direction of the columns in the spreadsheet.
132 <p>Possible values are com::sun::star::text::WritingMode2::LR_TB to
133 order the columns from left to right, and
134 com::sun::star::text::WritingMode2::RL_TB to order the columns from
135 right to left.</p>
137 @see com::sun::star::text::WritingMode2
139 [optional, property] short TableLayout;
142 /** specifies whether the sheet has an automatic print area.
144 <p> The automatic print area is used to print a sheet without
145 explicit print areas, also if other sheets have print areas.</p>
147 <p> If the property is true, and there are print areas on other sheets,
148 the used area of this sheet is also printed.</p>
150 <p> If the property is false, and there are print areas on other sheets,
151 only these specified print areas are printed.</p>
153 <p> If there are no print areas on the other sheets it does not matter
154 whether property is true or false.</p>
156 <p> This property can only be true, if there are no print areas given
157 on this sheet. If the property is set to true the print areas of
158 this sheet will be removed.</p>
160 @see XPrintAreas
163 [optional, property] boolean AutomaticPrintArea;
165 /** specifies the color of the sheet tab, if any.
167 [optional, property] com::sun::star::util::Color TabColor;
169 /** specifies all conditional formats of that sheet
171 [optional, property] com::sun::star::sheet::XConditionalFormats ConditionalFormats;
173 /** specifies whether summary rows appear below detail in an outline,
174 when applying an outline.
176 <p> When true a summary row is inserted below the detailed data being
177 summarized and a new outline level is established on that row.</p>
179 <p> When false a summary row is inserted above the detailed data being
180 summarized and a new outline level is established on that row.</p>
182 @since LibreOffice 25.2
184 [optional, property] boolean TotalsRowBelow;
188 }; }; }; };
190 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */