bump product version to 4.1.6.2
[LibreOffice.git] / offapi / com / sun / star / sheet / SheetCell.idl
blob9e4280f4702156d9407f25bc93a8e61c83f44caf
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /**
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef __com_sun_star_sheet_SheetCell_idl__
21 #define __com_sun_star_sheet_SheetCell_idl__
24 #include <com/sun/star/table/Cell.idl>
25 #include <com/sun/star/text/Text.idl>
26 #include <com/sun/star/style/CharacterProperties.idl>
27 #include <com/sun/star/style/CharacterPropertiesAsian.idl>
28 #include <com/sun/star/style/CharacterPropertiesComplex.idl>
29 #include <com/sun/star/style/ParagraphProperties.idl>
30 #include <com/sun/star/style/ParagraphPropertiesAsian.idl>
31 #include <com/sun/star/style/ParagraphPropertiesComplex.idl>
32 #include <com/sun/star/sheet/SheetRangesQuery.idl>
35 #include <com/sun/star/document/XActionLockable.idl>
36 #include <com/sun/star/util/XReplaceable.idl>
37 #include <com/sun/star/util/XIndent.idl>
38 #include <com/sun/star/table/XColumnRowRange.idl>
39 #include <com/sun/star/sheet/XCellAddressable.idl>
40 #include <com/sun/star/sheet/XSheetAnnotationAnchor.idl>
41 #include <com/sun/star/text/XTextFieldsSupplier.idl>
44 #include <com/sun/star/awt/Point.idl>
45 #include <com/sun/star/awt/Size.idl>
46 #include <com/sun/star/sheet/XSheetConditionalEntries.idl>
47 #include <com/sun/star/beans/XPropertySet.idl>
48 #include <com/sun/star/beans/XTolerantMultiPropertySet.idl>
49 #include <com/sun/star/util/XModifyBroadcaster.idl>
52 module com { module sun { module star { module sheet {
55 /** represents a single addressable cell in a spreadsheet document.
57 published service SheetCell
60 /** provides basic cell handling and contributes common cell
61 formatting properties.
63 service com::sun::star::table::Cell;
66 /** provides handling of formatted text cells.
68 service com::sun::star::text::Text;
71 /** contributes properties for character formatting of Western text.
73 service com::sun::star::style::CharacterProperties;
76 /** contributes properties for character formatting of Asian text.
78 service com::sun::star::style::CharacterPropertiesAsian;
81 /** contributes properties for character formatting of Complex text.
83 service com::sun::star::style::CharacterPropertiesComplex;
86 /** contributes properties for paragraph formatting.
88 service com::sun::star::style::ParagraphProperties;
91 /** contributes properties for paragraph formatting of Asian text.
93 [optional] service com::sun::star::style::ParagraphPropertiesAsian;
96 /** contributes properties for paragraph formatting of Complex text.
98 [optional] service com::sun::star::style::ParagraphPropertiesComplex;
101 /** provides interfaces to find cells with specific properties.
103 service com::sun::star::sheet::SheetRangesQuery;
106 /** provides methods to lock and unlock the update between
107 <type scope="com::sun::star::table">XCell</type> and
108 <type scope="com::sun::star::text">XText</type>.
110 interface com::sun::star::document::XActionLockable;
113 /** provides "Find & Replace" functionality.
115 <p>The property
116 <member scope="com::sun::star::util">SearchDescriptor::SearchWords</member>
117 has a different meaning in spreadsheets: If set to <TRUE/>, the
118 spreadsheet searches for cells containing the search text only.</p>
120 interface com::sun::star::util::XReplaceable;
123 /** provides modifying the cell indentation.
125 interface com::sun::star::util::XIndent;
128 /** provides access to the collections of columns and rows.
130 interface com::sun::star::table::XColumnRowRange;
133 /** provides access to the cell address of this cell.
135 interface com::sun::star::sheet::XCellAddressable;
138 /** provides access to the annotation attached to this cell.
140 interface com::sun::star::sheet::XSheetAnnotationAnchor;
143 /** provides access to the text fields used in this cell.
145 interface com::sun::star::text::XTextFieldsSupplier;
148 [optional] interface com::sun::star::beans::XTolerantMultiPropertySet;
153 @since OOo 2.0
156 [optional] interface com::sun::star::util::XModifyBroadcaster;
159 /** contains the position of this cell in the sheet (in 1/100 mm).
161 <p>This property contains the absolute position in the whole
162 sheet, not the position in the visible area.</p>
164 [readonly, property] com::sun::star::awt::Point Position;
167 /** contains the size of this cell (in 1/100 mm).
169 [readonly, property] com::sun::star::awt::Size Size;
172 /** contains the formula string with localized function names.
174 <p>This property can also be used to set a new localized formula.</p>
176 [optional, property] string FormulaLocal;
179 /** contains the result type of a formula.
181 @see com::sun::star::sheet::FormulaResult
183 [readonly, property] long FormulaResultType;
186 /** contains the conditional formatting settings for this cell.
188 <p>After a conditional format has been changed it has to be
189 reinserted into the property set.</p>
191 @see com::sun::star::sheet::TableConditionalFormat
193 [property] com::sun::star::sheet::XSheetConditionalEntries
194 ConditionalFormat;
197 /** contains the conditional formatting settings for this cell,
198 using localized formulas.
200 <p>After a conditional format has been changed it has to be
201 reinserted into the property set.</p>
203 @see com::sun::star::sheet::TableConditionalFormat
205 [optional, property] com::sun::star::sheet::XSheetConditionalEntries
206 ConditionalFormatLocal;
209 /** contains the data validation settings for this cell.
211 <p>After the data validation settings have been changed the
212 validation has to be reinserted into the property set.</p>
214 @see com::sun::star::sheet::TableValidation
216 [property] com::sun::star::beans::XPropertySet Validation;
219 /** contains the data validation settings for this cell,
220 using localized formulas.
222 <p>After the data validation settings have been changed the
223 validation has to be reinserted into the property set.</p>
225 @see com::sun::star::sheet::TableValidation
227 [optional, property] com::sun::star::beans::XPropertySet ValidationLocal;
230 /** Returns the absolute address of the range as string, e.g. "$Sheet1.$B$2".
232 [optional, readonly, property] string AbsoluteName;
236 }; }; }; };
238 #endif
240 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */