1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SheetCellRange.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_sheet_SheetCellRange_idl__
32 #define __com_sun_star_sheet_SheetCellRange_idl__
35 #ifndef __com_sun_star_table_CellRange_idl__
36 #include
<com
/sun
/star
/table
/CellRange.idl
>
39 #ifndef __com_sun_star_style_CharacterProperties_idl__
40 #include
<com
/sun
/star
/style
/CharacterProperties.idl
>
43 #ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
44 #include
<com
/sun
/star
/style
/CharacterPropertiesAsian.idl
>
47 #ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
48 #include
<com
/sun
/star
/style
/CharacterPropertiesComplex.idl
>
51 #ifndef __com_sun_star_style_ParagraphProperties_idl__
52 #include
<com
/sun
/star
/style
/ParagraphProperties.idl
>
55 #ifndef __com_sun_star_sheet_SheetRangesQuery_idl__
56 #include
<com
/sun
/star
/sheet
/SheetRangesQuery.idl
>
60 #ifndef __com_sun_star_util_XReplaceable_idl__
61 #include
<com
/sun
/star
/util
/XReplaceable.idl
>
64 #ifndef __com_sun_star_util_XMergeable_idl__
65 #include
<com
/sun
/star
/util
/XMergeable.idl
>
68 #ifndef __com_sun_star_util_XIndent_idl__
69 #include
<com
/sun
/star
/util
/XIndent.idl
>
72 #ifndef __com_sun_star_table_XColumnRowRange_idl__
73 #include
<com
/sun
/star
/table
/XColumnRowRange.idl
>
76 #ifndef __com_sun_star_table_XAutoFormattable_idl__
77 #include
<com
/sun
/star
/table
/XAutoFormattable.idl
>
80 #ifndef __com_sun_star_sheet_XSheetCellRange_idl__
81 #include
<com
/sun
/star
/sheet
/XSheetCellRange.idl
>
84 #ifndef __com_sun_star_sheet_XCellRangeData_idl__
85 #include
<com
/sun
/star
/sheet
/XCellRangeData.idl
>
88 #ifndef __com_sun_star_sheet_XCellRangeFormula_idl__
89 #include
<com
/sun
/star
/sheet
/XCellRangeFormula.idl
>
92 #ifndef __com_sun_star_sheet_XCellRangeAddressable_idl__
93 #include
<com
/sun
/star
/sheet
/XCellRangeAddressable.idl
>
96 #ifndef __com_sun_star_sheet_XSheetOperation_idl__
97 #include
<com
/sun
/star
/sheet
/XSheetOperation.idl
>
100 #ifndef __com_sun_star_sheet_XCellSeries_idl__
101 #include
<com
/sun
/star
/sheet
/XCellSeries.idl
>
104 #ifndef __com_sun_star_sheet_XArrayFormulaRange_idl__
105 #include
<com
/sun
/star
/sheet
/XArrayFormulaRange.idl
>
108 #ifndef __com_sun_star_sheet_XMultipleOperation_idl__
109 #include
<com
/sun
/star
/sheet
/XMultipleOperation.idl
>
112 #ifndef __com_sun_star_util_XSortable_idl__
113 #include
<com
/sun
/star
/util
/XSortable.idl
>
116 #ifndef __com_sun_star_util_XImportable_idl__
117 #include
<com
/sun
/star
/util
/XImportable.idl
>
120 #ifndef __com_sun_star_sheet_XSubTotalCalculatable_idl__
121 #include
<com
/sun
/star
/sheet
/XSubTotalCalculatable.idl
>
124 #ifndef __com_sun_star_sheet_XSheetFilterableEx_idl__
125 #include
<com
/sun
/star
/sheet
/XSheetFilterableEx.idl
>
128 #ifndef __com_sun_star_sheet_XCellFormatRangesSupplier_idl__
129 #include
<com
/sun
/star
/sheet
/XCellFormatRangesSupplier.idl
>
132 #ifndef __com_sun_star_sheet_XUniqueCellFormatRangesSupplier_idl__
133 #include
<com
/sun
/star
/sheet
/XUniqueCellFormatRangesSupplier.idl
>
136 #ifndef __com_sun_star_chart_XChartDataArray_idl__
137 #include
<com
/sun
/star
/chart
/XChartDataArray.idl
>
141 #ifndef __com_sun_star_awt_Point_idl__
142 #include
<com
/sun
/star
/awt
/Point.idl
>
145 #ifndef __com_sun_star_awt_Size_idl__
146 #include
<com
/sun
/star
/awt
/Size.idl
>
149 #ifndef __com_sun_star_sheet_XSheetConditionalEntries_idl__
150 #include
<com
/sun
/star
/sheet
/XSheetConditionalEntries.idl
>
153 #ifndef __com_sun_star_beans_XPropertySet_idl__
154 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
157 #ifndef __com_sun_star_beans_XTolerantMultiPropertySet_idl__
158 #include
<com
/sun
/star
/beans
/XTolerantMultiPropertySet.idl
>
161 #ifndef __com_sun_star_util_XModifyBroadcaster_idl__
162 #include
<com
/sun
/star
/util
/XModifyBroadcaster.idl
>
165 //=============================================================================
167 module com
{ module sun
{ module star
{ module sheet
{
169 //=============================================================================
171 /** represents a rectangular range of cells in a spreadsheet document.
173 <p>This service is an extension of the CellRange service for use
174 in spreadsheet documents.</p>
176 published service SheetCellRange
178 //-------------------------------------------------------------------------
180 /** provides basic handling of cell ranges and contributes common cell
181 formatting properties.
183 service com
::sun
::star
::table
::CellRange
;
185 //-------------------------------------------------------------------------
187 /** contributes properties for character formatting of Western text.
189 service com
::sun
::star
::style
::CharacterProperties
;
191 //-------------------------------------------------------------------------
193 /** contributes properties for character formatting of Asian text.
195 service com
::sun
::star
::style
::CharacterPropertiesAsian
;
197 //-------------------------------------------------------------------------
199 /** contributes properties for character formatting of Complex text.
201 service com
::sun
::star
::style
::CharacterPropertiesComplex
;
203 //-------------------------------------------------------------------------
205 /** contributes properties for paragraph formatting.
207 service com
::sun
::star
::style
::ParagraphProperties
;
209 //-------------------------------------------------------------------------
211 /** provides interfaces to find cells with specific properties.
213 service com
::sun
::star
::sheet
::SheetRangesQuery
;
215 //=========================================================================
217 /** provides "Find & Replace" functionality.
220 <member scope="com::sun::star::util">SearchDescriptor::SearchWords</member>
221 has a different meaning in spreadsheets: If set to <TRUE/>, the
222 spreadsheet searches for cells containing the serch text only.</p>
224 interface com
::sun
::star
::util
::XReplaceable
;
226 //-------------------------------------------------------------------------
228 /** provides merging and unmerging the cells of this cell range.
230 interface com
::sun
::star
::util
::XMergeable
;
232 //-------------------------------------------------------------------------
234 /** provides modifying the cell indentation.
236 interface com
::sun
::star
::util
::XIndent
;
238 //-------------------------------------------------------------------------
240 /** provides access to the collections of columns and rows.
242 interface com
::sun
::star
::table
::XColumnRowRange
;
244 //-------------------------------------------------------------------------
246 /** provides applying an AutoFormat to the cell range.
248 interface com
::sun
::star
::table
::XAutoFormattable
;
250 //-------------------------------------------------------------------------
252 /** provides access to the spreadsheet that contains this cell range.
254 interface com
::sun
::star
::sheet
::XSheetCellRange
;
256 //-------------------------------------------------------------------------
258 /** provides simultaneous access to the contents of all cells.
260 interface com
::sun
::star
::sheet
::XCellRangeData
;
262 //-------------------------------------------------------------------------
264 /** provides simultaneous access to the formula contents of all cells.
268 [optional] interface com
::sun
::star
::sheet
::XCellRangeFormula
;
270 //-------------------------------------------------------------------------
272 /** provides access to the cell range address of this range.
274 interface com
::sun
::star
::sheet
::XCellRangeAddressable
;
276 //-------------------------------------------------------------------------
278 /** provides computation of a value based on the contents of all
279 cells of this range and to clear specific cells.
281 interface com
::sun
::star
::sheet
::XSheetOperation
;
283 //-------------------------------------------------------------------------
285 /** provides filling out the cell range automatically with values based
286 on a start value, step count and fill mode.
288 interface com
::sun
::star
::sheet
::XCellSeries
;
290 //-------------------------------------------------------------------------
292 /** provides handling of array formulas.
294 interface com
::sun
::star
::sheet
::XArrayFormulaRange
;
296 //-------------------------------------------------------------------------
298 /** provides access to the Multiple Operations feature.
300 interface com
::sun
::star
::sheet
::XMultipleOperation
;
302 //-------------------------------------------------------------------------
304 /** provides sorting functionality.
306 interface com
::sun
::star
::util
::XSortable
;
308 //-------------------------------------------------------------------------
310 /** provides functionality to import data from external data sources.
312 @see com::sun::star::sheet::DatabaseImportDescriptor
315 interface com
::sun
::star
::util
::XImportable
;
317 //-------------------------------------------------------------------------
319 /** provides calculating SubTotal values in this range.
321 interface com
::sun
::star
::sheet
::XSubTotalCalculatable
;
323 //-------------------------------------------------------------------------
325 /** provides filtering the contents of this range.
327 interface com
::sun
::star
::sheet
::XSheetFilterableEx
;
329 //-------------------------------------------------------------------------
331 /** provide access to a collection of equal-formatted cell ranges.
333 interface com
::sun
::star
::sheet
::XCellFormatRangesSupplier
;
335 //-------------------------------------------------------------------------
337 /** provide access to a collection of equal-formatted cell ranges.
339 interface com
::sun
::star
::sheet
::XUniqueCellFormatRangesSupplier
;
341 //-------------------------------------------------------------------------
343 /** provides modifying the source data cells of a chart and makes
344 it possible to learn about changes in the cell values.
346 interface com
::sun
::star
::chart
::XChartDataArray
;
348 //-------------------------------------------------------------------------
350 [optional] interface com
::sun
::star
::beans
::XTolerantMultiPropertySet
;
352 //-------------------------------------------------------------------------
359 [optional] interface com
::sun
::star
::util
::XModifyBroadcaster
;
361 //=========================================================================
363 /** contains the position of the top left cell of this range in
364 the sheet (in 1/100 mm).
366 <p>This property contains the absolute position in the whole
367 sheet, not the position in the visible area.</p>
369 [readonly, property
] com
::sun
::star
::awt
::Point Position
;
371 //-------------------------------------------------------------------------
373 /** contains the size of this range (in 1/100 mm).
375 [readonly, property
] com
::sun
::star
::awt
::Size Size
;
377 //-------------------------------------------------------------------------
379 /** contains the conditional formatting settings for this cell.
381 <p>After a conditional format has been changed it has to be
382 reinserted into the property set.</p>
384 @see com::sun::star::sheet::TableConditionalFormat
386 [property
] com
::sun
::star
::sheet
::XSheetConditionalEntries
389 //-------------------------------------------------------------------------
391 /** contains the conditional formatting settings for this cell,
392 using localized formulas.
394 <p>After a conditional format has been changed it has to be
395 reinserted into the property set.</p>
397 @see com::sun::star::sheet::TableConditionalFormat
399 [optional, property
] com
::sun
::star
::sheet
::XSheetConditionalEntries
400 ConditionalFormatLocal
;
402 //-------------------------------------------------------------------------
404 /** contains the data validation settings for this cell.
406 <p>After the data validation settings have been changed the
407 validation has to be reinserted into the property set.</p>
409 @see com::sun::star::sheet::TableValidation
411 [property
] com
::sun
::star
::beans
::XPropertySet Validation
;
413 //-------------------------------------------------------------------------
415 /** contains the data validation settings for this cell,
416 using localized formulas.
418 <p>After the data validation settings have been changed the
419 validation has to be reinserted into the property set.</p>
421 @see com::sun::star::sheet::TableValidation
423 [optional, property
] com
::sun
::star
::beans
::XPropertySet ValidationLocal
;
425 //-------------------------------------------------------------------------
427 /** Returns the absolute adress of the range as string, e.g. "$Sheet1.$B$2:$D$5".
429 [optional, readonly, property
] string AbsoluteName
;
432 //=============================================================================