1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 module com
{ module sun
{ module star
{ module sheet
{
24 /** represents a field in an AutoFormat. A field contains all cell
25 properties for a specific position in an AutoFormat.
27 published service TableAutoFormatField
30 //! service com::sun::star::beans::PropertySet;
31 /** provides access to the properties.
33 interface com
::sun
::star
::beans
::XPropertySet
;
36 /** specifies the name of the western font.
38 [property
] string CharFontName
;
40 /** specifies the name of the Asian font.
42 [optional, property
] string CharFontNameAsian
;
44 /** specifies the name of the complex font.
46 [optional, property
] string CharFontNameComplex
;
49 /** specifies the name of the western font style.
51 [property
] string CharFontStyleName
;
53 /** specifies the name of the Asian font style.
55 [optional, property
] string CharFontStyleNameAsian
;
57 /** specifies the name of the complex font style.
59 [optional, property
] string CharFontStyleNameComplex
;
62 /** contains the value of the character set of the western font.
64 [property
] string CharFontCharSet
;
66 /** contains the value of the character set of the Asian font.
68 [optional, property
] string CharFontCharSetAsian
;
70 /** contains the value of the character set of the complex font.
72 [optional, property
] string CharFontCharSetComplex
;
75 /** contains the value of the western font family.
77 [property
] string CharFontFamily
;
79 /** contains the value of the Asian font family.
81 [optional, property
] string CharFontFamilyAsian
;
83 /** contains the value of the complex font family.
85 [optional, property
] string CharFontFamilyComplex
;
88 /** contains the value of the pitch of the western font.
90 [property
] string CharFontPitch
;
92 /** contains the value of the pitch of the Asian font.
94 [optional, property
] string CharFontPitchAsian
;
96 /** contains the value of the pitch of the complex font.
98 [optional, property
] string CharFontPitchComplex
;
101 /** contains the height of characters of the western font in point.
103 [property
] float CharHeight
;
105 /** contains the height of characters of the Asian font in point.
107 [optional, property
] float CharHeightAsian
;
109 /** contains the height of characters of the complex font in point.
111 [optional, property
] float CharHeightComplex
;
114 /** contains the value for the weight of characters of the western font.
116 [property
] float CharWeight
;
118 /** contains the value for the weight of characters of the Asian font.
120 [optional, property
] float CharWeightAsian
;
122 /** contains the value for the weight of characters of the complex font.
124 [optional, property
] float CharWeightComplex
;
127 /** contains the value of the posture of characters of the western font.
129 [property
] com
::sun
::star
::awt
::FontSlant CharPosture
;
131 /** contains the value of the posture of characters of the Asian font.
133 [optional, property
] com
::sun
::star
::awt
::FontSlant CharPostureAsian
;
135 /** contains the value of the posture of characters of the complex font.
137 [optional, property
] com
::sun
::star
::awt
::FontSlant CharPostureComplex
;
140 /** contains the value for the character underline.
142 [property
] short CharUnderline
;
145 /** is `TRUE` if the characters are crossed out.
147 [property
] boolean CharCrossedOut
;
150 /** is `TRUE` if the characters are contoured.
152 [property
] boolean CharContoured
;
155 /** is `TRUE` if the characters are shadowed.
157 [property
] boolean CharShadowed
;
160 /** contains the value of the text color.
162 [property
] com
::sun
::star
::util
::Color CharColor
;
165 /** contains the cell background color.
167 [property
] com
::sun
::star
::util
::Color CellBackColor
;
170 /** is `TRUE` if the cell background is transparent.
172 <p>In this case the TableAutoFormatField::CellBackColor
173 value is not used.</p>
175 [property
] boolean IsCellBackgroundTransparent
;
178 /** contains a description of the shadow.
180 [optional, property
] com
::sun
::star
::table
::ShadowFormat ShadowFormat
;
183 /** specifies the horizontal alignment of the cell contents.
185 [optional, property
] com
::sun
::star
::table
::CellHoriJustify HoriJustify
;
188 /** specifies the vertical alignment of the cell contents.
190 changed from com::sun::star::table::CellVertJustify to long in LibO 3.5
192 @see com::sun::star::table::CellVertJustify2
194 [optional, property
] long VertJustify
;
197 /** is `TRUE` if text breaks automatically at cell borders.
199 [optional, property
] boolean IsTextWrapped
;
202 /** contains the orientation of the cell contents
203 (i.e. top-to-bottom or stacked).
205 [optional, property
] com
::sun
::star
::table
::CellOrientation Orientation
;
208 /** contains the rotation angle of the cell contents.
210 [optional, property
] long RotateAngle
;
213 /** contains the reference edge of the cell rotation.
215 changed from com::sun::star::table::CellVertJustify to long in LibO 3.5
217 @see com::sun::star::table::CellVertJustify2
219 [optional, property
] long RotateReference
;
222 /** contains the margin between cell contents and top border
225 [optional, property
] long ParaTopMargin
;
228 /** contains the margin between cell contents and bottom border
231 [optional, property
] long ParaBottomMargin
;
234 /** contains the margin between cell contents and left border
237 [optional, property
] long ParaLeftMargin
;
240 /** contains the margin between cell contents and right border
243 [optional, property
] long ParaRightMargin
;
246 /** property containing a description of the cell border.
250 [optional, property
] com
::sun
::star
::table
::TableBorder TableBorder
;
253 /** property containing a description of the cell border.
254 Preferred over com::sun::star::table::TableBorder
257 @since LibreOffice 3.6
259 [optional, property
] com
::sun
::star
::table
::TableBorder2 TableBorder2
;
266 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */