1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
26 module com
{ module sun
{ module star
{ module sheet
{
29 /** represents a rectangular range of cells in a spreadsheet document.
31 <p>This service is an extension of the CellRange service for use
32 in spreadsheet documents.</p>
34 published service SheetCellRange
37 /** provides basic handling of cell ranges and contributes common cell
38 formatting properties.
40 service com
::sun
::star
::table
::CellRange
;
43 /** contributes properties for character formatting of Western text.
45 service com
::sun
::star
::style
::CharacterProperties
;
48 /** contributes properties for character formatting of Asian text.
50 service com
::sun
::star
::style
::CharacterPropertiesAsian
;
53 /** contributes properties for character formatting of Complex text.
55 service com
::sun
::star
::style
::CharacterPropertiesComplex
;
58 /** contributes properties for paragraph formatting.
60 service com
::sun
::star
::style
::ParagraphProperties
;
63 /** provides interfaces to find cells with specific properties.
65 service com
::sun
::star
::sheet
::SheetRangesQuery
;
68 /** provides "Find and Replace" functionality.
71 com::sun::star::util::SearchDescriptor::SearchWords
72 has a different meaning in spreadsheets: If set to `TRUE`, the
73 spreadsheet searches for cells containing the search text only.</p>
75 interface com
::sun
::star
::util
::XReplaceable
;
78 /** provides merging and unmerging the cells of this cell range.
80 interface com
::sun
::star
::util
::XMergeable
;
83 /** provides modifying the cell indentation.
85 interface com
::sun
::star
::util
::XIndent
;
88 /** provides access to the collections of columns and rows.
90 interface com
::sun
::star
::table
::XColumnRowRange
;
93 /** provides applying an AutoFormat to the cell range.
95 interface com
::sun
::star
::table
::XAutoFormattable
;
98 /** provides access to the spreadsheet that contains this cell range.
100 interface com
::sun
::star
::sheet
::XSheetCellRange
;
103 /** provides simultaneous access to the contents of all cells.
105 interface com
::sun
::star
::sheet
::XCellRangeData
;
108 /** provides simultaneous access to the formula contents of all cells.
112 [optional] interface com
::sun
::star
::sheet
::XCellRangeFormula
;
115 /** provides access to the cell range address of this range.
117 interface com
::sun
::star
::sheet
::XCellRangeAddressable
;
120 /** provides computation of a value based on the contents of all
121 cells of this range and to clear specific cells.
123 interface com
::sun
::star
::sheet
::XSheetOperation
;
126 /** provides filling out the cell range automatically with values based
127 on a start value, step count and fill mode.
129 interface com
::sun
::star
::sheet
::XCellSeries
;
132 /** provides handling of array formulas.
134 interface com
::sun
::star
::sheet
::XArrayFormulaRange
;
137 /** provides access to the Multiple Operations feature.
139 interface com
::sun
::star
::sheet
::XMultipleOperation
;
142 /** provides sorting functionality.
144 interface com
::sun
::star
::util
::XSortable
;
147 /** provides functionality to import data from external data sources.
149 @see com::sun::star::sheet::DatabaseImportDescriptor
152 interface com
::sun
::star
::util
::XImportable
;
155 /** provides calculating SubTotal values in this range.
157 interface com
::sun
::star
::sheet
::XSubTotalCalculatable
;
160 /** provides filtering the contents of this range.
162 interface com
::sun
::star
::sheet
::XSheetFilterableEx
;
165 /** provide access to a collection of equal-formatted cell ranges.
167 interface com
::sun
::star
::sheet
::XCellFormatRangesSupplier
;
170 /** provide access to a collection of equal-formatted cell ranges.
172 interface com
::sun
::star
::sheet
::XUniqueCellFormatRangesSupplier
;
175 /** provides modifying the source data cells of a chart and makes
176 it possible to learn about changes in the cell values.
178 interface com
::sun
::star
::chart
::XChartDataArray
;
181 [optional] interface com
::sun
::star
::beans
::XTolerantMultiPropertySet
;
189 [optional] interface com
::sun
::star
::util
::XModifyBroadcaster
;
192 /** contains the position of the top left cell of this range in
193 the sheet (in 1/100 mm).
195 <p>This property contains the absolute position in the whole
196 sheet, not the position in the visible area.</p>
198 [readonly, property
] com
::sun
::star
::awt
::Point Position
;
201 /** contains the size of this range (in 1/100 mm).
203 [readonly, property
] com
::sun
::star
::awt
::Size Size
;
206 /** contains the conditional formatting settings for this cell.
208 <p>After a conditional format has been changed it has to be
209 reinserted into the property set.</p>
211 @see com::sun::star::sheet::TableConditionalFormat
213 [property
] com
::sun
::star
::sheet
::XSheetConditionalEntries
217 /** contains the conditional formatting settings for this cell,
218 using localized formulas.
220 <p>After a conditional format has been changed it has to be
221 reinserted into the property set.</p>
223 @see com::sun::star::sheet::TableConditionalFormat
225 [optional, property
] com
::sun
::star
::sheet
::XSheetConditionalEntries
226 ConditionalFormatLocal
;
229 /** contains the data validation settings for this cell.
231 <p>After the data validation settings have been changed the
232 validation has to be reinserted into the property set.</p>
234 @see com::sun::star::sheet::TableValidation
236 [property
] com
::sun
::star
::beans
::XPropertySet Validation
;
239 /** contains the data validation settings for this cell,
240 using localized formulas.
242 <p>After the data validation settings have been changed the
243 validation has to be reinserted into the property set.</p>
245 @see com::sun::star::sheet::TableValidation
247 [optional, property
] com
::sun
::star
::beans
::XPropertySet ValidationLocal
;
250 /** Returns the absolute address of the range as string, e.g. "$Sheet1.$B$2:$D$5".
252 [optional, readonly, property
] string AbsoluteName
;
258 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */