merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / sheet / SheetCellRanges.idl
blob2e75b44dec703b2aed25f131cbdb998b2bb9d8ab
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SheetCellRanges.idl,v $
10 * $Revision: 1.9 $
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_SheetCellRanges_idl__
32 #define __com_sun_star_sheet_SheetCellRanges_idl__
35 #ifndef __com_sun_star_table_CellProperties_idl__
36 #include <com/sun/star/table/CellProperties.idl>
37 #endif
39 #ifndef __com_sun_star_style_CharacterProperties_idl__
40 #include <com/sun/star/style/CharacterProperties.idl>
41 #endif
43 #ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
44 #include <com/sun/star/style/CharacterPropertiesAsian.idl>
45 #endif
47 #ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
48 #include <com/sun/star/style/CharacterPropertiesComplex.idl>
49 #endif
51 #ifndef __com_sun_star_style_ParagraphProperties_idl__
52 #include <com/sun/star/style/ParagraphProperties.idl>
53 #endif
55 #ifndef __com_sun_star_sheet_SheetRangesQuery_idl__
56 #include <com/sun/star/sheet/SheetRangesQuery.idl>
57 #endif
60 #ifndef __com_sun_star_util_XReplaceable_idl__
61 #include <com/sun/star/util/XReplaceable.idl>
62 #endif
64 #ifndef __com_sun_star_util_XIndent_idl__
65 #include <com/sun/star/util/XIndent.idl>
66 #endif
68 #ifndef __com_sun_star_sheet_XSheetOperation_idl__
69 #include <com/sun/star/sheet/XSheetOperation.idl>
70 #endif
72 #ifndef __com_sun_star_chart_XChartDataArray_idl__
73 #include <com/sun/star/chart/XChartDataArray.idl>
74 #endif
76 #ifndef __com_sun_star_sheet_XSheetCellRangeContainer_idl__
77 #include <com/sun/star/sheet/XSheetCellRangeContainer.idl>
78 #endif
80 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
81 #include <com/sun/star/container/XEnumerationAccess.idl>
82 #endif
84 #ifndef __com_sun_star_container_XNameContainer_idl__
85 #include <com/sun/star/container/XNameContainer.idl>
86 #endif
89 #ifndef __com_sun_star_sheet_XSheetConditionalEntries_idl__
90 #include <com/sun/star/sheet/XSheetConditionalEntries.idl>
91 #endif
93 #ifndef __com_sun_star_beans_XPropertySet_idl__
94 #include <com/sun/star/beans/XPropertySet.idl>
95 #endif
97 //=============================================================================
99 module com { module sun { module star { module sheet {
101 //=============================================================================
103 /** represents a collection of cell ranges in a spreadsheet document.
105 @see com::sun::star::sheet::SheetCellRange
107 published service SheetCellRanges
109 //-------------------------------------------------------------------------
111 /** contributes common cell formatting properties.
113 service com::sun::star::table::CellProperties;
115 //-------------------------------------------------------------------------
117 /** contributes properties for character formatting of Western text.
119 service com::sun::star::style::CharacterProperties;
121 //-------------------------------------------------------------------------
123 /** contributes properties for character formatting of Asian text.
125 service com::sun::star::style::CharacterPropertiesAsian;
127 //-------------------------------------------------------------------------
129 /** contributes properties for character formatting of Complex text.
131 service com::sun::star::style::CharacterPropertiesComplex;
133 //-------------------------------------------------------------------------
135 /** contributes properties for paragraph formatting.
137 service com::sun::star::style::ParagraphProperties;
139 //-------------------------------------------------------------------------
141 /** provides interfaces to find cells with specific properties.
143 service com::sun::star::sheet::SheetRangesQuery;
145 //=========================================================================
147 /** provides "Find & Replace" functionality.
149 <p>The property
150 <member scope="com::sun::star::util">SearchDescriptor::SearchWords</member>
151 has a different meaning in spreadsheets: If set to <TRUE/>, the
152 spreadsheet searches for cells containing the serch text only.</p>
154 interface com::sun::star::util::XReplaceable;
156 //-------------------------------------------------------------------------
158 /** provides modifying the cell indentation.
160 interface com::sun::star::util::XIndent;
162 //-------------------------------------------------------------------------
164 /** provides computation of a value based on the contents of all
165 cells of this range and to clear specific cells.
167 interface com::sun::star::sheet::XSheetOperation;
169 //-------------------------------------------------------------------------
171 /** provides modifying the source data cells of a chart and makes
172 it possible to learn about changes in the cell values.
174 interface com::sun::star::chart::XChartDataArray;
176 //-------------------------------------------------------------------------
178 /** provides methods to access cell ranges via index and to add and
179 remove cell ranges.
181 interface com::sun::star::sheet::XSheetCellRangeContainer;
183 //-------------------------------------------------------------------------
185 /** creates an enumeration of all cell ranges.
187 @see com::sun::star::sheet::SheetCellRangesEnumeration
189 interface com::sun::star::container::XEnumerationAccess;
191 //-------------------------------------------------------------------------
193 /** provides access of the cell ranges via an user-defined name.
195 <p>Later the range can be found, replaced or removed using that
196 name.</p>
198 interface com::sun::star::container::XNameContainer;
200 //=========================================================================
202 /** contains the conditional formatting settings for this cell.
204 <p>After a conditional format has been changed it has to be
205 reinserted into the property set.</p>
207 @see com::sun::star::sheet::TableConditionalFormat
209 [property] com::sun::star::sheet::XSheetConditionalEntries
210 ConditionalFormat;
212 //-------------------------------------------------------------------------
214 /** contains the conditional formatting settings for this cell,
215 using localized formulas.
217 <p>After a conditional format has been changed it has to be
218 reinserted into the property set.</p>
220 @see com::sun::star::sheet::TableConditionalFormat
222 [optional, property] com::sun::star::sheet::XSheetConditionalEntries
223 ConditionalFormatLocal;
225 //-------------------------------------------------------------------------
227 /** contains the data validation settings for this cell.
229 <p>After the data validation settings have been changed the
230 validation has to be reinserted into the property set.</p>
232 @see com::sun::star::sheet::TableValidation
234 [property] com::sun::star::beans::XPropertySet Validation;
236 //-------------------------------------------------------------------------
238 /** contains the data validation settings for this cell,
239 using localized formulas.
241 <p>After the data validation settings have been changed the
242 validation has to be reinserted into the property set.</p>
244 @see com::sun::star::sheet::TableValidation
246 [optional, property] com::sun::star::beans::XPropertySet ValidationLocal;
248 //-------------------------------------------------------------------------
250 /** Returns the absolute adress of the ranges as string, e.g. "$Sheet1.$B$2:$D$5".
252 [optional, readonly, property] string AbsoluteName;
255 //=============================================================================
257 }; }; }; };
259 #endif