1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TableAutoFormatField.idl,v $
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_TableAutoFormatField_idl__
32 #define __com_sun_star_sheet_TableAutoFormatField_idl__
34 #ifndef __com_sun_star_beans_XPropertySet_idl__
35 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
38 #ifndef __com_sun_star_util_Color_idl__
39 #include
<com
/sun
/star
/util
/Color.idl
>
42 #ifndef __com_sun_star_lang_Locale_idl__
43 #include
<com
/sun
/star
/lang
/Locale.idl
>
46 #ifndef __com_sun_star_awt_FontSlant_idl__
47 #include
<com
/sun
/star
/awt
/FontSlant.idl
>
50 #ifndef __com_sun_star_table_ShadowFormat_idl__
51 #include
<com
/sun
/star
/table
/ShadowFormat.idl
>
54 #ifndef __com_sun_star_table_CellHoriJustify_idl__
55 #include
<com
/sun
/star
/table
/CellHoriJustify.idl
>
58 #ifndef __com_sun_star_table_CellVertJustify_idl__
59 #include
<com
/sun
/star
/table
/CellVertJustify.idl
>
62 #ifndef __com_sun_star_table_CellOrientation_idl__
63 #include
<com
/sun
/star
/table
/CellOrientation.idl
>
66 #ifndef __com_sun_star_table_TableBorder_idl__
67 #include
<com
/sun
/star
/table
/TableBorder.idl
>
70 //=============================================================================
72 module com
{ module sun
{ module star
{ module sheet
{
74 //=============================================================================
76 /** represents a field in an AutoFormat. A field contains all cell
77 properties for a specific position in an AutoFormat.
79 published service TableAutoFormatField
81 //-------------------------------------------------------------------------
83 //! service com::sun::star::beans::PropertySet;
84 /** provides access to the properties.
86 interface com
::sun
::star
::beans
::XPropertySet
;
88 //-------------------------------------------------------------------------
90 /** specifies the name of the western font.
92 [property
] string CharFontName
;
94 /** specifies the name of the asian font.
96 [optional, property
] string CharFontNameAsian
;
98 /** specifies the name of the complex font.
100 [optional, property
] string CharFontNameComplex
;
102 //-------------------------------------------------------------------------
104 /** specifies the name of the western font style.
106 [property
] string CharFontStyleName
;
108 /** specifies the name of the asian font style.
110 [optional, property
] string CharFontStyleNameAsian
;
112 /** specifies the name of the complex font style.
114 [optional, property
] string CharFontStyleNameComplex
;
116 //-------------------------------------------------------------------------
118 /** contains the value of the character set of the western font.
120 [property
] string CharFontCharSet
;
122 /** contains the value of the character set of the asian font.
124 [optional, property
] string CharFontCharSetAsian
;
126 /** contains the value of the character set of the complex font.
128 [optional, property
] string CharFontCharSetComplex
;
130 //-------------------------------------------------------------------------
132 /** contains the value of the western font family.
134 [property
] string CharFontFamily
;
136 /** contains the value of the asian font family.
138 [optional, property
] string CharFontFamilyAsian
;
140 /** contains the value of the complex font family.
142 [optional, property
] string CharFontFamilyComplex
;
144 //-------------------------------------------------------------------------
146 /** contains the value of the pitch of the western font.
148 [property
] string CharFontPitch
;
150 /** contains the value of the pitch of the asian font.
152 [optional, property
] string CharFontPitchAsian
;
154 /** contains the value of the pitch of the complex font.
156 [optional, property
] string CharFontPitchComplex
;
158 //-------------------------------------------------------------------------
160 /** contains the height of characters of the western font in point.
162 [property
] float CharHeight
;
164 /** contains the height of characters of the asian font in point.
166 [optional, property
] float CharHeightAsian
;
168 /** contains the height of characters of the complex font in point.
170 [optional, property
] float CharHeightComplex
;
172 //-------------------------------------------------------------------------
174 /** contains the value for the weight of characters of the western font.
176 [property
] float CharWeight
;
178 /** contains the value for the weight of characters of the asian font.
180 [optional, property
] float CharWeightAsian
;
182 /** contains the value for the weight of characters of the complex font.
184 [optional, property
] float CharWeightComplex
;
186 //-------------------------------------------------------------------------
188 /** contains the value of the posture of characters of the western font.
190 [property
] com
::sun
::star
::awt
::FontSlant CharPosture
;
192 /** contains the value of the posture of characters of the asian font.
194 [optional, property
] com
::sun
::star
::awt
::FontSlant CharPostureAsian
;
196 /** contains the value of the posture of characters of the comlex font.
198 [optional, property
] com
::sun
::star
::awt
::FontSlant CharPostureComplex
;
200 //-------------------------------------------------------------------------
202 /** contains the value for the character underline.
204 [property
] short CharUnderline
;
206 //-------------------------------------------------------------------------
208 /** is <TRUE/> if the characters are crossed out.
210 [property
] boolean CharCrossedOut
;
212 //-------------------------------------------------------------------------
214 /** is <TRUE/> if the characters are contoured.
216 [property
] boolean CharContoured
;
218 //-------------------------------------------------------------------------
220 /** is <TRUE/> if the characters are shadowed.
222 [property
] boolean CharShadowed
;
224 //-------------------------------------------------------------------------
226 /** contains the value of the text color.
228 [property
] com
::sun
::star
::util
::Color CharColor
;
230 //-------------------------------------------------------------------------
232 /** contains the cell background color.
234 [property
] com
::sun
::star
::util
::Color CellBackColor
;
236 //-------------------------------------------------------------------------
238 /** is <TRUE/> if the cell background is transparent.
240 <p>In this case the <member>TableAutoFormatField::CellBackColor</member>
241 value is not used.</p>
243 [property
] boolean IsCellBackgroundTransparent
;
245 //-------------------------------------------------------------------------
247 /** contains a description of the shadow.
249 [optional, property
] com
::sun
::star
::table
::ShadowFormat ShadowFormat
;
251 //-------------------------------------------------------------------------
253 /** specifies the horizontal alignment of the cell contents.
255 [optional, property
] com
::sun
::star
::table
::CellHoriJustify HoriJustify
;
257 //-------------------------------------------------------------------------
259 /** specifies the vertical alignment of the cell contents.
261 [optional, property
] com
::sun
::star
::table
::CellVertJustify VertJustify
;
263 //-------------------------------------------------------------------------
265 /** is <TRUE/> if text breaks automatically at cell borders.
267 [optional, property
] boolean IsTextWrapped
;
269 //-------------------------------------------------------------------------
271 /** contains the orientation of the cell contents
272 (i.e. top-to-bottom or stacked).
274 [optional, property
] com
::sun
::star
::table
::CellOrientation Orientation
;
276 //-------------------------------------------------------------------------
278 /** contains the rotation angle of the cell contents.
280 [optional, property
] long RotateAngle
;
282 //-------------------------------------------------------------------------
284 /** contains the reference egde of the cell rotation.
286 [optional, property
] com
::sun
::star
::table
::CellVertJustify RotateReference
;
288 //-------------------------------------------------------------------------
290 /** contains the margin between cell contents and top border
293 [optional, property
] long ParaTopMargin
;
295 //-------------------------------------------------------------------------
297 /** contains the margin between cell contents and bottom border
300 [optional, property
] long ParaBottomMargin
;
302 //-------------------------------------------------------------------------
304 /** contains the margin between cell contents and left border
307 [optional, property
] long ParaLeftMargin
;
309 //-------------------------------------------------------------------------
311 /** contains the margin between cell contents and right border
314 [optional, property
] long ParaRightMargin
;
316 //-------------------------------------------------------------------------
318 /** property containing a description of the cell border.
322 [optional, property
] com
::sun
::star
::table
::TableBorder TableBorder
;
325 //=============================================================================
329 //=============================================================================