merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / sheet / SheetCellRanges.idl
blob020521203af5fd16ea776e929f4e572e7e25d090
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_SheetCellRanges_idl__
29 #define __com_sun_star_sheet_SheetCellRanges_idl__
32 #ifndef __com_sun_star_table_CellProperties_idl__
33 #include <com/sun/star/table/CellProperties.idl>
34 #endif
36 #ifndef __com_sun_star_style_CharacterProperties_idl__
37 #include <com/sun/star/style/CharacterProperties.idl>
38 #endif
40 #ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
41 #include <com/sun/star/style/CharacterPropertiesAsian.idl>
42 #endif
44 #ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
45 #include <com/sun/star/style/CharacterPropertiesComplex.idl>
46 #endif
48 #ifndef __com_sun_star_style_ParagraphProperties_idl__
49 #include <com/sun/star/style/ParagraphProperties.idl>
50 #endif
52 #ifndef __com_sun_star_sheet_SheetRangesQuery_idl__
53 #include <com/sun/star/sheet/SheetRangesQuery.idl>
54 #endif
57 #ifndef __com_sun_star_util_XReplaceable_idl__
58 #include <com/sun/star/util/XReplaceable.idl>
59 #endif
61 #ifndef __com_sun_star_util_XIndent_idl__
62 #include <com/sun/star/util/XIndent.idl>
63 #endif
65 #ifndef __com_sun_star_sheet_XSheetOperation_idl__
66 #include <com/sun/star/sheet/XSheetOperation.idl>
67 #endif
69 #ifndef __com_sun_star_chart_XChartDataArray_idl__
70 #include <com/sun/star/chart/XChartDataArray.idl>
71 #endif
73 #ifndef __com_sun_star_sheet_XSheetCellRangeContainer_idl__
74 #include <com/sun/star/sheet/XSheetCellRangeContainer.idl>
75 #endif
77 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
78 #include <com/sun/star/container/XEnumerationAccess.idl>
79 #endif
81 #ifndef __com_sun_star_container_XNameContainer_idl__
82 #include <com/sun/star/container/XNameContainer.idl>
83 #endif
86 #ifndef __com_sun_star_sheet_XSheetConditionalEntries_idl__
87 #include <com/sun/star/sheet/XSheetConditionalEntries.idl>
88 #endif
90 #ifndef __com_sun_star_beans_XPropertySet_idl__
91 #include <com/sun/star/beans/XPropertySet.idl>
92 #endif
94 //=============================================================================
96 module com { module sun { module star { module sheet {
98 //=============================================================================
100 /** represents a collection of cell ranges in a spreadsheet document.
102 @see com::sun::star::sheet::SheetCellRange
104 published service SheetCellRanges
106 //-------------------------------------------------------------------------
108 /** contributes common cell formatting properties.
110 service com::sun::star::table::CellProperties;
112 //-------------------------------------------------------------------------
114 /** contributes properties for character formatting of Western text.
116 service com::sun::star::style::CharacterProperties;
118 //-------------------------------------------------------------------------
120 /** contributes properties for character formatting of Asian text.
122 service com::sun::star::style::CharacterPropertiesAsian;
124 //-------------------------------------------------------------------------
126 /** contributes properties for character formatting of Complex text.
128 service com::sun::star::style::CharacterPropertiesComplex;
130 //-------------------------------------------------------------------------
132 /** contributes properties for paragraph formatting.
134 service com::sun::star::style::ParagraphProperties;
136 //-------------------------------------------------------------------------
138 /** provides interfaces to find cells with specific properties.
140 service com::sun::star::sheet::SheetRangesQuery;
142 //=========================================================================
144 /** provides "Find & Replace" functionality.
146 <p>The property
147 <member scope="com::sun::star::util">SearchDescriptor::SearchWords</member>
148 has a different meaning in spreadsheets: If set to <TRUE/>, the
149 spreadsheet searches for cells containing the serch text only.</p>
151 interface com::sun::star::util::XReplaceable;
153 //-------------------------------------------------------------------------
155 /** provides modifying the cell indentation.
157 interface com::sun::star::util::XIndent;
159 //-------------------------------------------------------------------------
161 /** provides computation of a value based on the contents of all
162 cells of this range and to clear specific cells.
164 interface com::sun::star::sheet::XSheetOperation;
166 //-------------------------------------------------------------------------
168 /** provides modifying the source data cells of a chart and makes
169 it possible to learn about changes in the cell values.
171 interface com::sun::star::chart::XChartDataArray;
173 //-------------------------------------------------------------------------
175 /** provides methods to access cell ranges via index and to add and
176 remove cell ranges.
178 interface com::sun::star::sheet::XSheetCellRangeContainer;
180 //-------------------------------------------------------------------------
182 /** creates an enumeration of all cell ranges.
184 @see com::sun::star::sheet::SheetCellRangesEnumeration
186 interface com::sun::star::container::XEnumerationAccess;
188 //-------------------------------------------------------------------------
190 /** provides access of the cell ranges via an user-defined name.
192 <p>Later the range can be found, replaced or removed using that
193 name.</p>
195 interface com::sun::star::container::XNameContainer;
197 //=========================================================================
199 /** contains the conditional formatting settings for this cell.
201 <p>After a conditional format has been changed it has to be
202 reinserted into the property set.</p>
204 @see com::sun::star::sheet::TableConditionalFormat
206 [property] com::sun::star::sheet::XSheetConditionalEntries
207 ConditionalFormat;
209 //-------------------------------------------------------------------------
211 /** contains the conditional formatting settings for this cell,
212 using localized formulas.
214 <p>After a conditional format has been changed it has to be
215 reinserted into the property set.</p>
217 @see com::sun::star::sheet::TableConditionalFormat
219 [optional, property] com::sun::star::sheet::XSheetConditionalEntries
220 ConditionalFormatLocal;
222 //-------------------------------------------------------------------------
224 /** contains the data validation settings for this cell.
226 <p>After the data validation settings have been changed the
227 validation has to be reinserted into the property set.</p>
229 @see com::sun::star::sheet::TableValidation
231 [property] com::sun::star::beans::XPropertySet Validation;
233 //-------------------------------------------------------------------------
235 /** contains the data validation settings for this cell,
236 using localized formulas.
238 <p>After the data validation settings have been changed the
239 validation has to be reinserted into the property set.</p>
241 @see com::sun::star::sheet::TableValidation
243 [optional, property] com::sun::star::beans::XPropertySet ValidationLocal;
245 //-------------------------------------------------------------------------
247 /** Returns the absolute adress of the ranges as string, e.g. "$Sheet1.$B$2:$D$5".
249 [optional, readonly, property] string AbsoluteName;
252 //=============================================================================
254 }; }; }; };
256 #endif