1d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5d1766043SAndrew Rist * distributed with this work for additional information
6d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10d1766043SAndrew Rist *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12d1766043SAndrew Rist *
13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14d1766043SAndrew Rist * software distributed under the License is distributed on an
15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17d1766043SAndrew Rist * specific language governing permissions and limitations
18d1766043SAndrew Rist * under the License.
19d1766043SAndrew Rist *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22d1766043SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SheetCellRanges_idl__
25cdf0e10cSrcweir#define __com_sun_star_sheet_SheetCellRanges_idl__
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir#ifndef __com_sun_star_table_CellProperties_idl__
29cdf0e10cSrcweir#include <com/sun/star/table/CellProperties.idl>
30cdf0e10cSrcweir#endif
31cdf0e10cSrcweir
32cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterProperties_idl__
33cdf0e10cSrcweir#include <com/sun/star/style/CharacterProperties.idl>
34cdf0e10cSrcweir#endif
35cdf0e10cSrcweir
36cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
37cdf0e10cSrcweir#include <com/sun/star/style/CharacterPropertiesAsian.idl>
38cdf0e10cSrcweir#endif
39cdf0e10cSrcweir
40cdf0e10cSrcweir#ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
41cdf0e10cSrcweir#include <com/sun/star/style/CharacterPropertiesComplex.idl>
42cdf0e10cSrcweir#endif
43cdf0e10cSrcweir
44cdf0e10cSrcweir#ifndef __com_sun_star_style_ParagraphProperties_idl__
45cdf0e10cSrcweir#include <com/sun/star/style/ParagraphProperties.idl>
46cdf0e10cSrcweir#endif
47cdf0e10cSrcweir
48cdf0e10cSrcweir#ifndef __com_sun_star_sheet_SheetRangesQuery_idl__
49cdf0e10cSrcweir#include <com/sun/star/sheet/SheetRangesQuery.idl>
50cdf0e10cSrcweir#endif
51cdf0e10cSrcweir
52cdf0e10cSrcweir
53cdf0e10cSrcweir#ifndef __com_sun_star_util_XReplaceable_idl__
54cdf0e10cSrcweir#include <com/sun/star/util/XReplaceable.idl>
55cdf0e10cSrcweir#endif
56cdf0e10cSrcweir
57cdf0e10cSrcweir#ifndef __com_sun_star_util_XIndent_idl__
58cdf0e10cSrcweir#include <com/sun/star/util/XIndent.idl>
59cdf0e10cSrcweir#endif
60cdf0e10cSrcweir
61cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetOperation_idl__
62cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetOperation.idl>
63cdf0e10cSrcweir#endif
64cdf0e10cSrcweir
65cdf0e10cSrcweir#ifndef __com_sun_star_chart_XChartDataArray_idl__
66cdf0e10cSrcweir#include <com/sun/star/chart/XChartDataArray.idl>
67cdf0e10cSrcweir#endif
68cdf0e10cSrcweir
69cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetCellRangeContainer_idl__
70cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetCellRangeContainer.idl>
71cdf0e10cSrcweir#endif
72cdf0e10cSrcweir
73cdf0e10cSrcweir#ifndef __com_sun_star_container_XEnumerationAccess_idl__
74cdf0e10cSrcweir#include <com/sun/star/container/XEnumerationAccess.idl>
75cdf0e10cSrcweir#endif
76cdf0e10cSrcweir
77cdf0e10cSrcweir#ifndef __com_sun_star_container_XNameContainer_idl__
78cdf0e10cSrcweir#include <com/sun/star/container/XNameContainer.idl>
79cdf0e10cSrcweir#endif
80cdf0e10cSrcweir
81cdf0e10cSrcweir
82cdf0e10cSrcweir#ifndef __com_sun_star_sheet_XSheetConditionalEntries_idl__
83cdf0e10cSrcweir#include <com/sun/star/sheet/XSheetConditionalEntries.idl>
84cdf0e10cSrcweir#endif
85cdf0e10cSrcweir
86cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__
87cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl>
88cdf0e10cSrcweir#endif
89cdf0e10cSrcweir
90cdf0e10cSrcweir//=============================================================================
91cdf0e10cSrcweir
92cdf0e10cSrcweirmodule com {  module sun {  module star {  module sheet {
93cdf0e10cSrcweir
94cdf0e10cSrcweir//=============================================================================
95cdf0e10cSrcweir
96cdf0e10cSrcweir/** represents a collection of cell ranges in a spreadsheet document.
97cdf0e10cSrcweir
98cdf0e10cSrcweir	@see com::sun::star::sheet::SheetCellRange
99cdf0e10cSrcweir */
100cdf0e10cSrcweirpublished service SheetCellRanges
101cdf0e10cSrcweir{
102cdf0e10cSrcweir	//-------------------------------------------------------------------------
103cdf0e10cSrcweir
104cdf0e10cSrcweir	/** contributes common cell formatting properties.
105cdf0e10cSrcweir	 */
106cdf0e10cSrcweir	service com::sun::star::table::CellProperties;
107cdf0e10cSrcweir
108cdf0e10cSrcweir	//-------------------------------------------------------------------------
109cdf0e10cSrcweir
110cdf0e10cSrcweir	/** contributes properties for character formatting of Western text.
111cdf0e10cSrcweir	 */
112cdf0e10cSrcweir	service com::sun::star::style::CharacterProperties;
113cdf0e10cSrcweir
114cdf0e10cSrcweir	//-------------------------------------------------------------------------
115cdf0e10cSrcweir
116cdf0e10cSrcweir	/** contributes properties for character formatting of Asian text.
117cdf0e10cSrcweir	 */
118cdf0e10cSrcweir	service com::sun::star::style::CharacterPropertiesAsian;
119cdf0e10cSrcweir
120cdf0e10cSrcweir	//-------------------------------------------------------------------------
121cdf0e10cSrcweir
122cdf0e10cSrcweir	/** contributes properties for character formatting of Complex text.
123cdf0e10cSrcweir	 */
124cdf0e10cSrcweir	service com::sun::star::style::CharacterPropertiesComplex;
125cdf0e10cSrcweir
126cdf0e10cSrcweir	//-------------------------------------------------------------------------
127cdf0e10cSrcweir
128cdf0e10cSrcweir	/** contributes properties for paragraph formatting.
129cdf0e10cSrcweir	 */
130cdf0e10cSrcweir	service com::sun::star::style::ParagraphProperties;
131cdf0e10cSrcweir
132cdf0e10cSrcweir	//-------------------------------------------------------------------------
133cdf0e10cSrcweir
134cdf0e10cSrcweir	/** provides interfaces to find cells with specific properties.
135cdf0e10cSrcweir	 */
136cdf0e10cSrcweir	service com::sun::star::sheet::SheetRangesQuery;
137cdf0e10cSrcweir
138cdf0e10cSrcweir	//=========================================================================
139cdf0e10cSrcweir
140cdf0e10cSrcweir	/** provides "Find & Replace" functionality.
141cdf0e10cSrcweir
142cdf0e10cSrcweir		<p>The property
143cdf0e10cSrcweir		<member scope="com::sun::star::util">SearchDescriptor::SearchWords</member>
144cdf0e10cSrcweir		has a different meaning in spreadsheets: If set to <TRUE/>, the
145cdf0e10cSrcweir		spreadsheet searches for cells containing the serch text only.</p>
146cdf0e10cSrcweir	 */
147cdf0e10cSrcweir	interface com::sun::star::util::XReplaceable;
148cdf0e10cSrcweir
149cdf0e10cSrcweir	//-------------------------------------------------------------------------
150cdf0e10cSrcweir
151cdf0e10cSrcweir	/** provides modifying the cell indentation.
152cdf0e10cSrcweir	 */
153cdf0e10cSrcweir	interface com::sun::star::util::XIndent;
154cdf0e10cSrcweir
155cdf0e10cSrcweir	//-------------------------------------------------------------------------
156cdf0e10cSrcweir
157cdf0e10cSrcweir	/** provides computation of a value based on the contents of all
158cdf0e10cSrcweir		cells of this range and to clear specific cells.
159cdf0e10cSrcweir	 */
160cdf0e10cSrcweir	interface com::sun::star::sheet::XSheetOperation;
161cdf0e10cSrcweir
162cdf0e10cSrcweir	//-------------------------------------------------------------------------
163cdf0e10cSrcweir
164cdf0e10cSrcweir	/** provides modifying the source data cells of a chart and makes
165cdf0e10cSrcweir		it possible to learn about changes in the cell values.
166cdf0e10cSrcweir	 */
167cdf0e10cSrcweir	interface com::sun::star::chart::XChartDataArray;
168cdf0e10cSrcweir
169cdf0e10cSrcweir	//-------------------------------------------------------------------------
170cdf0e10cSrcweir
171cdf0e10cSrcweir	/** provides methods to access cell ranges via index and to add and
172cdf0e10cSrcweir		remove cell ranges.
173cdf0e10cSrcweir	 */
174cdf0e10cSrcweir	interface com::sun::star::sheet::XSheetCellRangeContainer;
175cdf0e10cSrcweir
176cdf0e10cSrcweir	//-------------------------------------------------------------------------
177cdf0e10cSrcweir
178cdf0e10cSrcweir	/** creates an enumeration of all cell ranges.
179cdf0e10cSrcweir
180cdf0e10cSrcweir		@see com::sun::star::sheet::SheetCellRangesEnumeration
181cdf0e10cSrcweir	 */
182cdf0e10cSrcweir	interface com::sun::star::container::XEnumerationAccess;
183cdf0e10cSrcweir
184cdf0e10cSrcweir	//-------------------------------------------------------------------------
185cdf0e10cSrcweir
186cdf0e10cSrcweir	/** provides access of the cell ranges via an user-defined name.
187cdf0e10cSrcweir
188cdf0e10cSrcweir		<p>Later the range can be found, replaced or removed using that
189cdf0e10cSrcweir		name.</p>
190cdf0e10cSrcweir	 */
191cdf0e10cSrcweir	interface com::sun::star::container::XNameContainer;
192cdf0e10cSrcweir
193cdf0e10cSrcweir	//=========================================================================
194cdf0e10cSrcweir
195cdf0e10cSrcweir	/** contains the conditional formatting settings for this cell.
196cdf0e10cSrcweir
197cdf0e10cSrcweir		<p>After a conditional format has been changed it has to be
198cdf0e10cSrcweir		reinserted into the property set.</p>
199cdf0e10cSrcweir
200cdf0e10cSrcweir		@see com::sun::star::sheet::TableConditionalFormat
201cdf0e10cSrcweir	 */
202cdf0e10cSrcweir	[property] com::sun::star::sheet::XSheetConditionalEntries
203cdf0e10cSrcweir		ConditionalFormat;
204cdf0e10cSrcweir
205cdf0e10cSrcweir	//-------------------------------------------------------------------------
206cdf0e10cSrcweir
207cdf0e10cSrcweir	/** contains the conditional formatting settings for this cell,
208cdf0e10cSrcweir		using localized formulas.
209cdf0e10cSrcweir
210cdf0e10cSrcweir		<p>After a conditional format has been changed it has to be
211cdf0e10cSrcweir		reinserted into the property set.</p>
212cdf0e10cSrcweir
213cdf0e10cSrcweir		@see com::sun::star::sheet::TableConditionalFormat
214cdf0e10cSrcweir	 */
215cdf0e10cSrcweir	[optional, property] com::sun::star::sheet::XSheetConditionalEntries
216cdf0e10cSrcweir		ConditionalFormatLocal;
217cdf0e10cSrcweir
218cdf0e10cSrcweir	//-------------------------------------------------------------------------
219cdf0e10cSrcweir
220cdf0e10cSrcweir	/** contains the data validation settings for this cell.
221cdf0e10cSrcweir
222cdf0e10cSrcweir		<p>After the data validation settings have been changed the
223cdf0e10cSrcweir		validation has to be reinserted into the property set.</p>
224cdf0e10cSrcweir
225cdf0e10cSrcweir		@see com::sun::star::sheet::TableValidation
226cdf0e10cSrcweir	 */
227cdf0e10cSrcweir	[property] com::sun::star::beans::XPropertySet Validation;
228cdf0e10cSrcweir
229cdf0e10cSrcweir	//-------------------------------------------------------------------------
230cdf0e10cSrcweir
231cdf0e10cSrcweir	/** contains the data validation settings for this cell,
232cdf0e10cSrcweir		using localized formulas.
233cdf0e10cSrcweir
234cdf0e10cSrcweir		<p>After the data validation settings have been changed the
235cdf0e10cSrcweir		validation has to be reinserted into the property set.</p>
236cdf0e10cSrcweir
237cdf0e10cSrcweir		@see com::sun::star::sheet::TableValidation
238cdf0e10cSrcweir	 */
239cdf0e10cSrcweir	[optional, property] com::sun::star::beans::XPropertySet ValidationLocal;
240cdf0e10cSrcweir
241cdf0e10cSrcweir	//-------------------------------------------------------------------------
242cdf0e10cSrcweir
243*a893be29SPedro Giffuni	/** Returns the absolute address of the ranges as string, e.g. "$Sheet1.$B$2:$D$5".
244cdf0e10cSrcweir	 */
245cdf0e10cSrcweir	[optional, readonly, property] string AbsoluteName;
246cdf0e10cSrcweir};
247cdf0e10cSrcweir
248cdf0e10cSrcweir//=============================================================================
249cdf0e10cSrcweir
250cdf0e10cSrcweir}; }; }; };
251cdf0e10cSrcweir
252cdf0e10cSrcweir#endif
253cdf0e10cSrcweir
254