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_SheetCellRange_idl__
29 #define __com_sun_star_sheet_SheetCellRange_idl__
32 #ifndef __com_sun_star_table_CellRange_idl__
33 #include
<com
/sun
/star
/table
/CellRange.idl
>
36 #ifndef __com_sun_star_style_CharacterProperties_idl__
37 #include
<com
/sun
/star
/style
/CharacterProperties.idl
>
40 #ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
41 #include
<com
/sun
/star
/style
/CharacterPropertiesAsian.idl
>
44 #ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
45 #include
<com
/sun
/star
/style
/CharacterPropertiesComplex.idl
>
48 #ifndef __com_sun_star_style_ParagraphProperties_idl__
49 #include
<com
/sun
/star
/style
/ParagraphProperties.idl
>
52 #ifndef __com_sun_star_sheet_SheetRangesQuery_idl__
53 #include
<com
/sun
/star
/sheet
/SheetRangesQuery.idl
>
57 #ifndef __com_sun_star_util_XReplaceable_idl__
58 #include
<com
/sun
/star
/util
/XReplaceable.idl
>
61 #ifndef __com_sun_star_util_XMergeable_idl__
62 #include
<com
/sun
/star
/util
/XMergeable.idl
>
65 #ifndef __com_sun_star_util_XIndent_idl__
66 #include
<com
/sun
/star
/util
/XIndent.idl
>
69 #ifndef __com_sun_star_table_XColumnRowRange_idl__
70 #include
<com
/sun
/star
/table
/XColumnRowRange.idl
>
73 #ifndef __com_sun_star_table_XAutoFormattable_idl__
74 #include
<com
/sun
/star
/table
/XAutoFormattable.idl
>
77 #ifndef __com_sun_star_sheet_XSheetCellRange_idl__
78 #include
<com
/sun
/star
/sheet
/XSheetCellRange.idl
>
81 #ifndef __com_sun_star_sheet_XCellRangeData_idl__
82 #include
<com
/sun
/star
/sheet
/XCellRangeData.idl
>
85 #ifndef __com_sun_star_sheet_XCellRangeFormula_idl__
86 #include
<com
/sun
/star
/sheet
/XCellRangeFormula.idl
>
89 #ifndef __com_sun_star_sheet_XCellRangeAddressable_idl__
90 #include
<com
/sun
/star
/sheet
/XCellRangeAddressable.idl
>
93 #ifndef __com_sun_star_sheet_XSheetOperation_idl__
94 #include
<com
/sun
/star
/sheet
/XSheetOperation.idl
>
97 #ifndef __com_sun_star_sheet_XCellSeries_idl__
98 #include
<com
/sun
/star
/sheet
/XCellSeries.idl
>
101 #ifndef __com_sun_star_sheet_XArrayFormulaRange_idl__
102 #include
<com
/sun
/star
/sheet
/XArrayFormulaRange.idl
>
105 #ifndef __com_sun_star_sheet_XMultipleOperation_idl__
106 #include
<com
/sun
/star
/sheet
/XMultipleOperation.idl
>
109 #ifndef __com_sun_star_util_XSortable_idl__
110 #include
<com
/sun
/star
/util
/XSortable.idl
>
113 #ifndef __com_sun_star_util_XImportable_idl__
114 #include
<com
/sun
/star
/util
/XImportable.idl
>
117 #ifndef __com_sun_star_sheet_XSubTotalCalculatable_idl__
118 #include
<com
/sun
/star
/sheet
/XSubTotalCalculatable.idl
>
121 #ifndef __com_sun_star_sheet_XSheetFilterableEx_idl__
122 #include
<com
/sun
/star
/sheet
/XSheetFilterableEx.idl
>
125 #ifndef __com_sun_star_sheet_XCellFormatRangesSupplier_idl__
126 #include
<com
/sun
/star
/sheet
/XCellFormatRangesSupplier.idl
>
129 #ifndef __com_sun_star_sheet_XUniqueCellFormatRangesSupplier_idl__
130 #include
<com
/sun
/star
/sheet
/XUniqueCellFormatRangesSupplier.idl
>
133 #ifndef __com_sun_star_chart_XChartDataArray_idl__
134 #include
<com
/sun
/star
/chart
/XChartDataArray.idl
>
138 #ifndef __com_sun_star_awt_Point_idl__
139 #include
<com
/sun
/star
/awt
/Point.idl
>
142 #ifndef __com_sun_star_awt_Size_idl__
143 #include
<com
/sun
/star
/awt
/Size.idl
>
146 #ifndef __com_sun_star_sheet_XSheetConditionalEntries_idl__
147 #include
<com
/sun
/star
/sheet
/XSheetConditionalEntries.idl
>
150 #ifndef __com_sun_star_beans_XPropertySet_idl__
151 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
154 #ifndef __com_sun_star_beans_XTolerantMultiPropertySet_idl__
155 #include
<com
/sun
/star
/beans
/XTolerantMultiPropertySet.idl
>
158 #ifndef __com_sun_star_util_XModifyBroadcaster_idl__
159 #include
<com
/sun
/star
/util
/XModifyBroadcaster.idl
>
162 //=============================================================================
164 module com
{ module sun
{ module star
{ module sheet
{
166 //=============================================================================
168 /** represents a rectangular range of cells in a spreadsheet document.
170 <p>This service is an extension of the CellRange service for use
171 in spreadsheet documents.</p>
173 published service SheetCellRange
175 //-------------------------------------------------------------------------
177 /** provides basic handling of cell ranges and contributes common cell
178 formatting properties.
180 service com
::sun
::star
::table
::CellRange
;
182 //-------------------------------------------------------------------------
184 /** contributes properties for character formatting of Western text.
186 service com
::sun
::star
::style
::CharacterProperties
;
188 //-------------------------------------------------------------------------
190 /** contributes properties for character formatting of Asian text.
192 service com
::sun
::star
::style
::CharacterPropertiesAsian
;
194 //-------------------------------------------------------------------------
196 /** contributes properties for character formatting of Complex text.
198 service com
::sun
::star
::style
::CharacterPropertiesComplex
;
200 //-------------------------------------------------------------------------
202 /** contributes properties for paragraph formatting.
204 service com
::sun
::star
::style
::ParagraphProperties
;
206 //-------------------------------------------------------------------------
208 /** provides interfaces to find cells with specific properties.
210 service com
::sun
::star
::sheet
::SheetRangesQuery
;
212 //=========================================================================
214 /** provides "Find & Replace" functionality.
217 <member scope="com::sun::star::util">SearchDescriptor::SearchWords</member>
218 has a different meaning in spreadsheets: If set to <TRUE/>, the
219 spreadsheet searches for cells containing the serch text only.</p>
221 interface com
::sun
::star
::util
::XReplaceable
;
223 //-------------------------------------------------------------------------
225 /** provides merging and unmerging the cells of this cell range.
227 interface com
::sun
::star
::util
::XMergeable
;
229 //-------------------------------------------------------------------------
231 /** provides modifying the cell indentation.
233 interface com
::sun
::star
::util
::XIndent
;
235 //-------------------------------------------------------------------------
237 /** provides access to the collections of columns and rows.
239 interface com
::sun
::star
::table
::XColumnRowRange
;
241 //-------------------------------------------------------------------------
243 /** provides applying an AutoFormat to the cell range.
245 interface com
::sun
::star
::table
::XAutoFormattable
;
247 //-------------------------------------------------------------------------
249 /** provides access to the spreadsheet that contains this cell range.
251 interface com
::sun
::star
::sheet
::XSheetCellRange
;
253 //-------------------------------------------------------------------------
255 /** provides simultaneous access to the contents of all cells.
257 interface com
::sun
::star
::sheet
::XCellRangeData
;
259 //-------------------------------------------------------------------------
261 /** provides simultaneous access to the formula contents of all cells.
265 [optional] interface com
::sun
::star
::sheet
::XCellRangeFormula
;
267 //-------------------------------------------------------------------------
269 /** provides access to the cell range address of this range.
271 interface com
::sun
::star
::sheet
::XCellRangeAddressable
;
273 //-------------------------------------------------------------------------
275 /** provides computation of a value based on the contents of all
276 cells of this range and to clear specific cells.
278 interface com
::sun
::star
::sheet
::XSheetOperation
;
280 //-------------------------------------------------------------------------
282 /** provides filling out the cell range automatically with values based
283 on a start value, step count and fill mode.
285 interface com
::sun
::star
::sheet
::XCellSeries
;
287 //-------------------------------------------------------------------------
289 /** provides handling of array formulas.
291 interface com
::sun
::star
::sheet
::XArrayFormulaRange
;
293 //-------------------------------------------------------------------------
295 /** provides access to the Multiple Operations feature.
297 interface com
::sun
::star
::sheet
::XMultipleOperation
;
299 //-------------------------------------------------------------------------
301 /** provides sorting functionality.
303 interface com
::sun
::star
::util
::XSortable
;
305 //-------------------------------------------------------------------------
307 /** provides functionality to import data from external data sources.
309 @see com::sun::star::sheet::DatabaseImportDescriptor
312 interface com
::sun
::star
::util
::XImportable
;
314 //-------------------------------------------------------------------------
316 /** provides calculating SubTotal values in this range.
318 interface com
::sun
::star
::sheet
::XSubTotalCalculatable
;
320 //-------------------------------------------------------------------------
322 /** provides filtering the contents of this range.
324 interface com
::sun
::star
::sheet
::XSheetFilterableEx
;
326 //-------------------------------------------------------------------------
328 /** provide access to a collection of equal-formatted cell ranges.
330 interface com
::sun
::star
::sheet
::XCellFormatRangesSupplier
;
332 //-------------------------------------------------------------------------
334 /** provide access to a collection of equal-formatted cell ranges.
336 interface com
::sun
::star
::sheet
::XUniqueCellFormatRangesSupplier
;
338 //-------------------------------------------------------------------------
340 /** provides modifying the source data cells of a chart and makes
341 it possible to learn about changes in the cell values.
343 interface com
::sun
::star
::chart
::XChartDataArray
;
345 //-------------------------------------------------------------------------
347 [optional] interface com
::sun
::star
::beans
::XTolerantMultiPropertySet
;
349 //-------------------------------------------------------------------------
356 [optional] interface com
::sun
::star
::util
::XModifyBroadcaster
;
358 //=========================================================================
360 /** contains the position of the top left cell of this range in
361 the sheet (in 1/100 mm).
363 <p>This property contains the absolute position in the whole
364 sheet, not the position in the visible area.</p>
366 [readonly, property
] com
::sun
::star
::awt
::Point Position
;
368 //-------------------------------------------------------------------------
370 /** contains the size of this range (in 1/100 mm).
372 [readonly, property
] com
::sun
::star
::awt
::Size Size
;
374 //-------------------------------------------------------------------------
376 /** contains the conditional formatting settings for this cell.
378 <p>After a conditional format has been changed it has to be
379 reinserted into the property set.</p>
381 @see com::sun::star::sheet::TableConditionalFormat
383 [property
] com
::sun
::star
::sheet
::XSheetConditionalEntries
386 //-------------------------------------------------------------------------
388 /** contains the conditional formatting settings for this cell,
389 using localized formulas.
391 <p>After a conditional format has been changed it has to be
392 reinserted into the property set.</p>
394 @see com::sun::star::sheet::TableConditionalFormat
396 [optional, property
] com
::sun
::star
::sheet
::XSheetConditionalEntries
397 ConditionalFormatLocal
;
399 //-------------------------------------------------------------------------
401 /** contains the data validation settings for this cell.
403 <p>After the data validation settings have been changed the
404 validation has to be reinserted into the property set.</p>
406 @see com::sun::star::sheet::TableValidation
408 [property
] com
::sun
::star
::beans
::XPropertySet Validation
;
410 //-------------------------------------------------------------------------
412 /** contains the data validation settings for this cell,
413 using localized formulas.
415 <p>After the data validation settings have been changed the
416 validation has to be reinserted into the property set.</p>
418 @see com::sun::star::sheet::TableValidation
420 [optional, property
] com
::sun
::star
::beans
::XPropertySet ValidationLocal
;
422 //-------------------------------------------------------------------------
424 /** Returns the absolute adress of the range as string, e.g. "$Sheet1.$B$2:$D$5".
426 [optional, readonly, property
] string AbsoluteName
;
429 //=============================================================================