xref: /AOO41X/main/offapi/com/sun/star/sheet/TableAutoFormatField.idl (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#ifndef __com_sun_star_sheet_TableAutoFormatField_idl__
29*cdf0e10cSrcweir#define __com_sun_star_sheet_TableAutoFormatField_idl__
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__
32*cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl>
33*cdf0e10cSrcweir#endif
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir#ifndef __com_sun_star_util_Color_idl__
36*cdf0e10cSrcweir#include <com/sun/star/util/Color.idl>
37*cdf0e10cSrcweir#endif
38*cdf0e10cSrcweir
39*cdf0e10cSrcweir#ifndef __com_sun_star_lang_Locale_idl__
40*cdf0e10cSrcweir#include <com/sun/star/lang/Locale.idl>
41*cdf0e10cSrcweir#endif
42*cdf0e10cSrcweir
43*cdf0e10cSrcweir#ifndef __com_sun_star_awt_FontSlant_idl__
44*cdf0e10cSrcweir#include <com/sun/star/awt/FontSlant.idl>
45*cdf0e10cSrcweir#endif
46*cdf0e10cSrcweir
47*cdf0e10cSrcweir#ifndef __com_sun_star_table_ShadowFormat_idl__
48*cdf0e10cSrcweir#include <com/sun/star/table/ShadowFormat.idl>
49*cdf0e10cSrcweir#endif
50*cdf0e10cSrcweir
51*cdf0e10cSrcweir#ifndef __com_sun_star_table_CellHoriJustify_idl__
52*cdf0e10cSrcweir#include <com/sun/star/table/CellHoriJustify.idl>
53*cdf0e10cSrcweir#endif
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir#ifndef __com_sun_star_table_CellVertJustify_idl__
56*cdf0e10cSrcweir#include <com/sun/star/table/CellVertJustify.idl>
57*cdf0e10cSrcweir#endif
58*cdf0e10cSrcweir
59*cdf0e10cSrcweir#ifndef __com_sun_star_table_CellOrientation_idl__
60*cdf0e10cSrcweir#include <com/sun/star/table/CellOrientation.idl>
61*cdf0e10cSrcweir#endif
62*cdf0e10cSrcweir
63*cdf0e10cSrcweir#ifndef __com_sun_star_table_TableBorder_idl__
64*cdf0e10cSrcweir#include <com/sun/star/table/TableBorder.idl>
65*cdf0e10cSrcweir#endif
66*cdf0e10cSrcweir
67*cdf0e10cSrcweir//=============================================================================
68*cdf0e10cSrcweir
69*cdf0e10cSrcweirmodule com {  module sun {  module star {  module sheet {
70*cdf0e10cSrcweir
71*cdf0e10cSrcweir//=============================================================================
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir/** represents a field in an AutoFormat. A field contains all cell
74*cdf0e10cSrcweir	properties for a specific position in an AutoFormat.
75*cdf0e10cSrcweir */
76*cdf0e10cSrcweirpublished service TableAutoFormatField
77*cdf0e10cSrcweir{
78*cdf0e10cSrcweir	//-------------------------------------------------------------------------
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir//!	service com::sun::star::beans::PropertySet;
81*cdf0e10cSrcweir	/** provides access to the properties.
82*cdf0e10cSrcweir	 */
83*cdf0e10cSrcweir	interface com::sun::star::beans::XPropertySet;
84*cdf0e10cSrcweir
85*cdf0e10cSrcweir	//-------------------------------------------------------------------------
86*cdf0e10cSrcweir
87*cdf0e10cSrcweir    /** specifies the name of the western font.
88*cdf0e10cSrcweir	 */
89*cdf0e10cSrcweir	[property] string CharFontName;
90*cdf0e10cSrcweir
91*cdf0e10cSrcweir    /** specifies the name of the asian font.
92*cdf0e10cSrcweir	 */
93*cdf0e10cSrcweir    [optional, property] string CharFontNameAsian;
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir    /** specifies the name of the complex font.
96*cdf0e10cSrcweir	 */
97*cdf0e10cSrcweir    [optional, property] string CharFontNameComplex;
98*cdf0e10cSrcweir
99*cdf0e10cSrcweir	//-------------------------------------------------------------------------
100*cdf0e10cSrcweir
101*cdf0e10cSrcweir    /** specifies the name of the western font style.
102*cdf0e10cSrcweir	 */
103*cdf0e10cSrcweir    [property] string CharFontStyleName;
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir    /** specifies the name of the asian font style.
106*cdf0e10cSrcweir	 */
107*cdf0e10cSrcweir    [optional, property] string CharFontStyleNameAsian;
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir    /** specifies the name of the complex font style.
110*cdf0e10cSrcweir	 */
111*cdf0e10cSrcweir    [optional, property] string CharFontStyleNameComplex;
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir	//-------------------------------------------------------------------------
114*cdf0e10cSrcweir
115*cdf0e10cSrcweir    /** contains the value of the character set of the western font.
116*cdf0e10cSrcweir	 */
117*cdf0e10cSrcweir    [property] string CharFontCharSet;
118*cdf0e10cSrcweir
119*cdf0e10cSrcweir    /** contains the value of the character set of the asian font.
120*cdf0e10cSrcweir	 */
121*cdf0e10cSrcweir    [optional, property] string CharFontCharSetAsian;
122*cdf0e10cSrcweir
123*cdf0e10cSrcweir    /** contains the value of the character set of the complex font.
124*cdf0e10cSrcweir	 */
125*cdf0e10cSrcweir    [optional, property] string CharFontCharSetComplex;
126*cdf0e10cSrcweir
127*cdf0e10cSrcweir	//-------------------------------------------------------------------------
128*cdf0e10cSrcweir
129*cdf0e10cSrcweir    /** contains the value of the western font family.
130*cdf0e10cSrcweir	 */
131*cdf0e10cSrcweir    [property] string CharFontFamily;
132*cdf0e10cSrcweir
133*cdf0e10cSrcweir    /** contains the value of the asian font family.
134*cdf0e10cSrcweir	 */
135*cdf0e10cSrcweir    [optional, property] string CharFontFamilyAsian;
136*cdf0e10cSrcweir
137*cdf0e10cSrcweir    /** contains the value of the complex font family.
138*cdf0e10cSrcweir	 */
139*cdf0e10cSrcweir    [optional, property] string CharFontFamilyComplex;
140*cdf0e10cSrcweir
141*cdf0e10cSrcweir	//-------------------------------------------------------------------------
142*cdf0e10cSrcweir
143*cdf0e10cSrcweir    /** contains the value of the pitch of the western font.
144*cdf0e10cSrcweir	 */
145*cdf0e10cSrcweir    [property] string CharFontPitch;
146*cdf0e10cSrcweir
147*cdf0e10cSrcweir    /** contains the value of the pitch of the asian font.
148*cdf0e10cSrcweir	 */
149*cdf0e10cSrcweir    [optional, property] string CharFontPitchAsian;
150*cdf0e10cSrcweir
151*cdf0e10cSrcweir    /** contains the value of the pitch of the complex font.
152*cdf0e10cSrcweir	 */
153*cdf0e10cSrcweir    [optional, property] string CharFontPitchComplex;
154*cdf0e10cSrcweir
155*cdf0e10cSrcweir	//-------------------------------------------------------------------------
156*cdf0e10cSrcweir
157*cdf0e10cSrcweir    /** contains the height of characters of the western font in point.
158*cdf0e10cSrcweir	 */
159*cdf0e10cSrcweir	[property] float CharHeight;
160*cdf0e10cSrcweir
161*cdf0e10cSrcweir    /** contains the height of characters of the asian font in point.
162*cdf0e10cSrcweir	 */
163*cdf0e10cSrcweir    [optional, property] float CharHeightAsian;
164*cdf0e10cSrcweir
165*cdf0e10cSrcweir    /** contains the height of characters of the complex font in point.
166*cdf0e10cSrcweir	 */
167*cdf0e10cSrcweir    [optional, property] float CharHeightComplex;
168*cdf0e10cSrcweir
169*cdf0e10cSrcweir	//-------------------------------------------------------------------------
170*cdf0e10cSrcweir
171*cdf0e10cSrcweir    /** contains the value for the weight of characters of the western font.
172*cdf0e10cSrcweir	 */
173*cdf0e10cSrcweir	[property] float CharWeight;
174*cdf0e10cSrcweir
175*cdf0e10cSrcweir    /** contains the value for the weight of characters of the asian font.
176*cdf0e10cSrcweir	 */
177*cdf0e10cSrcweir    [optional, property] float CharWeightAsian;
178*cdf0e10cSrcweir
179*cdf0e10cSrcweir    /** contains the value for the weight of characters of the complex font.
180*cdf0e10cSrcweir	 */
181*cdf0e10cSrcweir    [optional, property] float CharWeightComplex;
182*cdf0e10cSrcweir
183*cdf0e10cSrcweir	//-------------------------------------------------------------------------
184*cdf0e10cSrcweir
185*cdf0e10cSrcweir    /** contains the value of the posture of characters of the western font.
186*cdf0e10cSrcweir	 */
187*cdf0e10cSrcweir	[property] com::sun::star::awt::FontSlant CharPosture;
188*cdf0e10cSrcweir
189*cdf0e10cSrcweir    /** contains the value of the posture of characters of the asian font.
190*cdf0e10cSrcweir	 */
191*cdf0e10cSrcweir    [optional, property] com::sun::star::awt::FontSlant CharPostureAsian;
192*cdf0e10cSrcweir
193*cdf0e10cSrcweir    /** contains the value of the posture of characters of the comlex font.
194*cdf0e10cSrcweir	 */
195*cdf0e10cSrcweir    [optional, property] com::sun::star::awt::FontSlant CharPostureComplex;
196*cdf0e10cSrcweir
197*cdf0e10cSrcweir	//-------------------------------------------------------------------------
198*cdf0e10cSrcweir
199*cdf0e10cSrcweir	/** contains the value for the character underline.
200*cdf0e10cSrcweir	 */
201*cdf0e10cSrcweir	[property] short CharUnderline;
202*cdf0e10cSrcweir
203*cdf0e10cSrcweir	//-------------------------------------------------------------------------
204*cdf0e10cSrcweir
205*cdf0e10cSrcweir	/** is <TRUE/> if the characters are crossed out.
206*cdf0e10cSrcweir	 */
207*cdf0e10cSrcweir	[property] boolean CharCrossedOut;
208*cdf0e10cSrcweir
209*cdf0e10cSrcweir	//-------------------------------------------------------------------------
210*cdf0e10cSrcweir
211*cdf0e10cSrcweir	/** is <TRUE/> if the characters are contoured.
212*cdf0e10cSrcweir	 */
213*cdf0e10cSrcweir	[property] boolean CharContoured;
214*cdf0e10cSrcweir
215*cdf0e10cSrcweir	//-------------------------------------------------------------------------
216*cdf0e10cSrcweir
217*cdf0e10cSrcweir	/** is <TRUE/> if the characters are shadowed.
218*cdf0e10cSrcweir	 */
219*cdf0e10cSrcweir	[property] boolean CharShadowed;
220*cdf0e10cSrcweir
221*cdf0e10cSrcweir	//-------------------------------------------------------------------------
222*cdf0e10cSrcweir
223*cdf0e10cSrcweir	/** contains the value of the text color.
224*cdf0e10cSrcweir	 */
225*cdf0e10cSrcweir	[property] com::sun::star::util::Color CharColor;
226*cdf0e10cSrcweir
227*cdf0e10cSrcweir	//-------------------------------------------------------------------------
228*cdf0e10cSrcweir
229*cdf0e10cSrcweir	/** contains the cell background color.
230*cdf0e10cSrcweir	 */
231*cdf0e10cSrcweir	[property] com::sun::star::util::Color CellBackColor;
232*cdf0e10cSrcweir
233*cdf0e10cSrcweir	//-------------------------------------------------------------------------
234*cdf0e10cSrcweir
235*cdf0e10cSrcweir	/** is <TRUE/> if the cell background is transparent.
236*cdf0e10cSrcweir
237*cdf0e10cSrcweir		<p>In this case the <member>TableAutoFormatField::CellBackColor</member>
238*cdf0e10cSrcweir		value is not used.</p>
239*cdf0e10cSrcweir	 */
240*cdf0e10cSrcweir	[property] boolean IsCellBackgroundTransparent;
241*cdf0e10cSrcweir
242*cdf0e10cSrcweir	//-------------------------------------------------------------------------
243*cdf0e10cSrcweir
244*cdf0e10cSrcweir	/** contains a description of the shadow.
245*cdf0e10cSrcweir	 */
246*cdf0e10cSrcweir	[optional, property] com::sun::star::table::ShadowFormat ShadowFormat;
247*cdf0e10cSrcweir
248*cdf0e10cSrcweir	//-------------------------------------------------------------------------
249*cdf0e10cSrcweir
250*cdf0e10cSrcweir    /** specifies the horizontal alignment of the cell contents.
251*cdf0e10cSrcweir	 */
252*cdf0e10cSrcweir    [optional, property] com::sun::star::table::CellHoriJustify HoriJustify;
253*cdf0e10cSrcweir
254*cdf0e10cSrcweir	//-------------------------------------------------------------------------
255*cdf0e10cSrcweir
256*cdf0e10cSrcweir    /** specifies the vertical alignment of the cell contents.
257*cdf0e10cSrcweir	 */
258*cdf0e10cSrcweir    [optional, property] com::sun::star::table::CellVertJustify VertJustify;
259*cdf0e10cSrcweir
260*cdf0e10cSrcweir	//-------------------------------------------------------------------------
261*cdf0e10cSrcweir
262*cdf0e10cSrcweir    /** is <TRUE/> if text breaks automatically at cell borders.
263*cdf0e10cSrcweir	 */
264*cdf0e10cSrcweir    [optional, property] boolean IsTextWrapped;
265*cdf0e10cSrcweir
266*cdf0e10cSrcweir	//-------------------------------------------------------------------------
267*cdf0e10cSrcweir
268*cdf0e10cSrcweir    /** contains the orientation of the cell contents
269*cdf0e10cSrcweir		(i.e. top-to-bottom or stacked).
270*cdf0e10cSrcweir	 */
271*cdf0e10cSrcweir    [optional, property] com::sun::star::table::CellOrientation Orientation;
272*cdf0e10cSrcweir
273*cdf0e10cSrcweir	//-------------------------------------------------------------------------
274*cdf0e10cSrcweir
275*cdf0e10cSrcweir    /** contains the rotation angle of the cell contents.
276*cdf0e10cSrcweir	 */
277*cdf0e10cSrcweir    [optional, property] long RotateAngle;
278*cdf0e10cSrcweir
279*cdf0e10cSrcweir    //-------------------------------------------------------------------------
280*cdf0e10cSrcweir
281*cdf0e10cSrcweir    /** contains the reference egde of the cell rotation.
282*cdf0e10cSrcweir	 */
283*cdf0e10cSrcweir    [optional, property] com::sun::star::table::CellVertJustify RotateReference;
284*cdf0e10cSrcweir
285*cdf0e10cSrcweir    //-------------------------------------------------------------------------
286*cdf0e10cSrcweir
287*cdf0e10cSrcweir    /** contains the margin between cell contents and top border
288*cdf0e10cSrcweir		(in 1/100 mm).
289*cdf0e10cSrcweir	 */
290*cdf0e10cSrcweir    [optional, property] long ParaTopMargin;
291*cdf0e10cSrcweir
292*cdf0e10cSrcweir    //-------------------------------------------------------------------------
293*cdf0e10cSrcweir
294*cdf0e10cSrcweir    /** contains the margin between cell contents and bottom border
295*cdf0e10cSrcweir		(in 1/100 mm).
296*cdf0e10cSrcweir	 */
297*cdf0e10cSrcweir    [optional, property] long ParaBottomMargin;
298*cdf0e10cSrcweir
299*cdf0e10cSrcweir    //-------------------------------------------------------------------------
300*cdf0e10cSrcweir
301*cdf0e10cSrcweir    /** contains the margin between cell contents and left border
302*cdf0e10cSrcweir		(in 1/100 mm).
303*cdf0e10cSrcweir	 */
304*cdf0e10cSrcweir    [optional, property] long ParaLeftMargin;
305*cdf0e10cSrcweir
306*cdf0e10cSrcweir    //-------------------------------------------------------------------------
307*cdf0e10cSrcweir
308*cdf0e10cSrcweir    /** contains the margin between cell contents and right border
309*cdf0e10cSrcweir		(in 1/100 mm).
310*cdf0e10cSrcweir	 */
311*cdf0e10cSrcweir    [optional, property] long ParaRightMargin;
312*cdf0e10cSrcweir
313*cdf0e10cSrcweir    //-------------------------------------------------------------------------
314*cdf0e10cSrcweir
315*cdf0e10cSrcweir	/** property containing a description of the cell border.
316*cdf0e10cSrcweir
317*cdf0e10cSrcweir		@since OOo 1.1.2
318*cdf0e10cSrcweir	 */
319*cdf0e10cSrcweir	[optional, property] com::sun::star::table::TableBorder TableBorder;
320*cdf0e10cSrcweir};
321*cdf0e10cSrcweir
322*cdf0e10cSrcweir//=============================================================================
323*cdf0e10cSrcweir
324*cdf0e10cSrcweir}; }; }; };
325*cdf0e10cSrcweir
326*cdf0e10cSrcweir//=============================================================================
327*cdf0e10cSrcweir
328*cdf0e10cSrcweir#endif
329*cdf0e10cSrcweir
330