Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / TableAutoFormatField.idl
blobf93c9abfd5d0a3727e3e8966da23b1da9f336ed9
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_TableAutoFormatField_idl__
21 #define __com_sun_star_sheet_TableAutoFormatField_idl__
23 #include <com/sun/star/beans/XPropertySet.idl>
24 #include <com/sun/star/util/Color.idl>
25 #include <com/sun/star/lang/Locale.idl>
26 #include <com/sun/star/awt/FontSlant.idl>
27 #include <com/sun/star/table/ShadowFormat.idl>
28 #include <com/sun/star/table/CellHoriJustify.idl>
29 #include <com/sun/star/table/CellVertJustify.idl>
30 #include <com/sun/star/table/CellOrientation.idl>
31 #include <com/sun/star/table/TableBorder.idl>
32 #include <com/sun/star/table/TableBorder2.idl>
35 module com { module sun { module star { module sheet {
38 /** represents a field in an AutoFormat. A field contains all cell
39 properties for a specific position in an AutoFormat.
41 published service TableAutoFormatField
44 //! service com::sun::star::beans::PropertySet;
45 /** provides access to the properties.
47 interface com::sun::star::beans::XPropertySet;
50 /** specifies the name of the western font.
52 [property] string CharFontName;
54 /** specifies the name of the Asian font.
56 [optional, property] string CharFontNameAsian;
58 /** specifies the name of the complex font.
60 [optional, property] string CharFontNameComplex;
63 /** specifies the name of the western font style.
65 [property] string CharFontStyleName;
67 /** specifies the name of the Asian font style.
69 [optional, property] string CharFontStyleNameAsian;
71 /** specifies the name of the complex font style.
73 [optional, property] string CharFontStyleNameComplex;
76 /** contains the value of the character set of the western font.
78 [property] string CharFontCharSet;
80 /** contains the value of the character set of the Asian font.
82 [optional, property] string CharFontCharSetAsian;
84 /** contains the value of the character set of the complex font.
86 [optional, property] string CharFontCharSetComplex;
89 /** contains the value of the western font family.
91 [property] string CharFontFamily;
93 /** contains the value of the Asian font family.
95 [optional, property] string CharFontFamilyAsian;
97 /** contains the value of the complex font family.
99 [optional, property] string CharFontFamilyComplex;
102 /** contains the value of the pitch of the western font.
104 [property] string CharFontPitch;
106 /** contains the value of the pitch of the Asian font.
108 [optional, property] string CharFontPitchAsian;
110 /** contains the value of the pitch of the complex font.
112 [optional, property] string CharFontPitchComplex;
115 /** contains the height of characters of the western font in point.
117 [property] float CharHeight;
119 /** contains the height of characters of the Asian font in point.
121 [optional, property] float CharHeightAsian;
123 /** contains the height of characters of the complex font in point.
125 [optional, property] float CharHeightComplex;
128 /** contains the value for the weight of characters of the western font.
130 [property] float CharWeight;
132 /** contains the value for the weight of characters of the Asian font.
134 [optional, property] float CharWeightAsian;
136 /** contains the value for the weight of characters of the complex font.
138 [optional, property] float CharWeightComplex;
141 /** contains the value of the posture of characters of the western font.
143 [property] com::sun::star::awt::FontSlant CharPosture;
145 /** contains the value of the posture of characters of the Asian font.
147 [optional, property] com::sun::star::awt::FontSlant CharPostureAsian;
149 /** contains the value of the posture of characters of the complex font.
151 [optional, property] com::sun::star::awt::FontSlant CharPostureComplex;
154 /** contains the value for the character underline.
156 [property] short CharUnderline;
159 /** is `TRUE` if the characters are crossed out.
161 [property] boolean CharCrossedOut;
164 /** is `TRUE` if the characters are contoured.
166 [property] boolean CharContoured;
169 /** is `TRUE` if the characters are shadowed.
171 [property] boolean CharShadowed;
174 /** contains the value of the text color.
176 [property] com::sun::star::util::Color CharColor;
179 /** contains the cell background color.
181 [property] com::sun::star::util::Color CellBackColor;
184 /** is `TRUE` if the cell background is transparent.
186 <p>In this case the TableAutoFormatField::CellBackColor
187 value is not used.</p>
189 [property] boolean IsCellBackgroundTransparent;
192 /** contains a description of the shadow.
194 [optional, property] com::sun::star::table::ShadowFormat ShadowFormat;
197 /** specifies the horizontal alignment of the cell contents.
199 [optional, property] com::sun::star::table::CellHoriJustify HoriJustify;
202 /** specifies the vertical alignment of the cell contents.
204 changed from com::sun::star::table::CellVertJustify to long in LibO 3.5
206 @see com::sun::star::table::CellVertJustify2
208 [optional, property] long VertJustify;
211 /** is `TRUE` if text breaks automatically at cell borders.
213 [optional, property] boolean IsTextWrapped;
216 /** contains the orientation of the cell contents
217 (i.e. top-to-bottom or stacked).
219 [optional, property] com::sun::star::table::CellOrientation Orientation;
222 /** contains the rotation angle of the cell contents.
224 [optional, property] long RotateAngle;
227 /** contains the reference edge of the cell rotation.
229 changed from com::sun::star::table::CellVertJustify to long in LibO 3.5
231 @see com::sun::star::table::CellVertJustify2
233 [optional, property] long RotateReference;
236 /** contains the margin between cell contents and top border
237 (in 1/100 mm).
239 [optional, property] long ParaTopMargin;
242 /** contains the margin between cell contents and bottom border
243 (in 1/100 mm).
245 [optional, property] long ParaBottomMargin;
248 /** contains the margin between cell contents and left border
249 (in 1/100 mm).
251 [optional, property] long ParaLeftMargin;
254 /** contains the margin between cell contents and right border
255 (in 1/100 mm).
257 [optional, property] long ParaRightMargin;
260 /** property containing a description of the cell border.
262 @since OOo 1.1.2
264 [optional, property] com::sun::star::table::TableBorder TableBorder;
267 /** property containing a description of the cell border.
268 Preferred over com::sun::star::table::TableBorder
269 #TableBorder.
271 @since LibreOffice 3.6
273 [optional, property] com::sun::star::table::TableBorder2 TableBorder2;
277 }; }; }; };
280 #endif
282 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */