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: FormulaProperties.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 ************************************************************************/
30 #ifndef __com_sun_star_formula_FormulaProperties_idl__
31 #define __com_sun_star_formula_FormulaProperties_idl__
33 //=============================================================================
35 module com
{ module sun
{ module star
{ module formula
{
37 //=============================================================================
39 /** The formula properties provide access to the properties of a formula
40 in a formula generator
42 published service FormulaProperties
44 //-------------------------------------------------------------------------
46 /** contains the alignment of the formula.
47 @see HorizontalAlignment
49 [property
] short Alignment
;
50 //-------------------------------------------------------------------------
52 /** contains the base font height in point the formula will be
55 <p> All properties containing relative values are related to this value.
58 [property
] short BaseFontHeight
;
59 //-------------------------------------------------------------------------
61 /** customized name for fixed font.
63 [property
] string CustomFontNameFixed
;
64 //-------------------------------------------------------------------------
66 /** determines if the customized fixed font is italic.
68 [property
] boolean FontFixedIsItalic
;
69 //-------------------------------------------------------------------------
71 /** determines if the customized fixed font is bold.
73 [property
] boolean FontFixedIsBold
;
74 //-------------------------------------------------------------------------
76 /** customized name for sans serif font
78 [property
] string CustomFontNameSans
;
79 //-------------------------------------------------------------------------
81 /** determines if the customized sans serif font is italic.
83 [property
] boolean FontSansIsItalic
;
84 //-------------------------------------------------------------------------
86 /** determines if the customized sans serif font is bold.
88 [property
] boolean FontSansIsBold
;
89 //-------------------------------------------------------------------------
91 /** customized name for serif font
93 [property
] string CustomFontNameSerif
;
94 //-------------------------------------------------------------------------
96 /** determines if the customized serif font is italic.
98 [property
] boolean FontSerifIsItalic
;
99 //-------------------------------------------------------------------------
101 /** determines if the customized serif font is bold.
103 [property
] boolean FontSerifIsBold
;
104 //-------------------------------------------------------------------------
106 /** contains the name of the font that is used to
107 display functions contained in the formula.
109 [property
] string FontNameFunctions
;
110 //-------------------------------------------------------------------------
112 /** determines if the font that is used to display functions is italic.
114 [property
] boolean FontFunctionsIsItalic
;
115 //-------------------------------------------------------------------------
117 /** determines if the font that is used to display functions is bold.
119 [property
] boolean FontFunctionsIsBold
;
120 //-------------------------------------------------------------------------
122 /** contains the name of the font that is used to
123 display numbers contained in the formula.
125 [property
] string FontNameNumbers
;
126 //-------------------------------------------------------------------------
128 /** determines if the font that is used to display numbers is italic.
130 [property
] boolean FontNumbersIsItalic
;
131 //-------------------------------------------------------------------------
133 /** determines if the font that is used to display numbers is bold.
135 [property
] boolean FontNumbersIsBold
;
136 //-------------------------------------------------------------------------
138 /** contains the name of the font that is used to
139 display text contained in the formula.
141 [property
] string FontNameText
;
142 //-------------------------------------------------------------------------
144 /** determines if the font that is used to display text is italic.
146 [property
] boolean FontTextIsItalic
;
147 //-------------------------------------------------------------------------
149 /** determines if the font that is used to display text is bold.
151 [property
] boolean FontTextIsBold
;
152 //-------------------------------------------------------------------------
154 /** contains the name of the font that is used to
155 display variables contained in the formula.
157 [property
] string FontNameVariables
;
158 //-------------------------------------------------------------------------
160 /** determines if the font that is used to display variables is italic.
162 [property
] boolean FontVariablesIsItalic
;
163 //-------------------------------------------------------------------------
165 /** determines if the font that is used to display variables is bold.
167 [property
] boolean FontVariablesIsBold
;
168 //-------------------------------------------------------------------------
170 /** contains the command string of the formula
172 [property
] string Formula
;
173 //-------------------------------------------------------------------------
175 /** decides if all brackets (even those without 'left'/'right'
176 modifier) are scaled.
178 [property
] boolean IsScaleAllBrackets
;
179 //-------------------------------------------------------------------------
181 /** switches into text mode.
183 [property
] boolean IsTextMode
;
184 //-------------------------------------------------------------------------
186 /** contains the relative height of the font for functions.
188 The values unit is percent of the
189 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
191 [property
] short RelativeFontHeightFunctions
;
192 //-------------------------------------------------------------------------
194 /** contains the relative height of the font for indices.
196 The values unit is percent of the
197 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
199 [property
] short RelativeFontHeightIndices
;
200 //-------------------------------------------------------------------------
202 /** contains the relative height of the font for limits.
204 The values unit is percent of the
205 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
207 [property
] short RelativeFontHeightLimits
;
208 //-------------------------------------------------------------------------
210 /** contains the relative height of the font for operators.
212 The values unit is percent of the
213 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
215 [property
] short RelativeFontHeightOperators
;
216 //-------------------------------------------------------------------------
218 /** contains the relative height of the font for text.
220 The values unit is percent of the
221 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
223 [property
] short RelativeFontHeightText
;
224 //-------------------------------------------------------------------------
226 /** contains the relative distance of brackets.
228 [property
] short RelativeBracketDistance
;
229 //-------------------------------------------------------------------------
231 /** contains the relative excess size of brackets.
233 [property
] short RelativeBracketExcessSize
;
234 //-------------------------------------------------------------------------
236 /** contains the relative excess length of a fraction bar.
238 [property
] short RelativeFractionBarExcessLength
;
239 //-------------------------------------------------------------------------
241 /** contains the relative line weight of a fraction bar.
243 [property
] short RelativeFractionBarLineWeight
;
244 //-------------------------------------------------------------------------
246 /** contains the relative depth of the denominator of a fraction
248 [property
] short RelativeFractionDenominatorDepth
;
249 //-------------------------------------------------------------------------
251 /** contains the relative height of the numerator of a fraction.
253 [property
] short RelativeFractionNumeratorHeight
;
254 //-------------------------------------------------------------------------
256 /** contains the relative superscript of indices.
258 [property
] short RelativeIndexSubscript
;
259 //-------------------------------------------------------------------------
261 /** contains the relative subscript of indices.
263 [property
] short RelativeIndexSuperscript
;
264 //-------------------------------------------------------------------------
266 /** contains the relative line spacing.
268 [property
] short RelativeLineSpacing
;
269 //-------------------------------------------------------------------------
271 /** contains the relative distance of lower limits.
273 [property
] short RelativeLowerLimitDistance
;
274 //-------------------------------------------------------------------------
276 /** contains the relative column spacing of matrices.
278 [property
] short RelativeMatrixColumnSpacing
;
279 //-------------------------------------------------------------------------
281 /** contains the relative line spacing of matrices.
283 [property
] short RelativeMatrixLineSpacing
;
284 //-------------------------------------------------------------------------
286 /** contains the relative excess of operators.
288 [property
] short RelativeOperatorExcessSize
;
289 //-------------------------------------------------------------------------
291 /** contains the relative spacing of operators.
293 [property
] short RelativeOperatorSpacing
;
294 //-------------------------------------------------------------------------
296 /** contains the relative root spacing
298 [property
] short RelativeRootSpacing
;
299 //-------------------------------------------------------------------------
301 /** contains the relative scaling of the bracket excess.
303 [property
] short RelativeScaleBracketExcessSize
;
304 //-------------------------------------------------------------------------
306 /** contains the relative spacing.
308 [property
] short RelativeSpacing
;
309 //-------------------------------------------------------------------------
311 /** contains the relative minimum height of the formula.
313 [property
] short RelativeSymbolMinimumHeight
;
314 //-------------------------------------------------------------------------
316 /** contains the relative primary height of symbols.
318 [property
] short RelativeSymbolPrimaryHeight
;
319 //-------------------------------------------------------------------------
321 /** contains the relative distance of upper limits
323 [property
] short RelativeUpperLimitDistance
;
324 //-------------------------------------------------------------------------
326 /** contains the metric value of the top margin of the formula.
328 [property
] short TopMargin
;
329 //-------------------------------------------------------------------------
331 /** contains the metric value of the bottom margin of the formula.
333 [property
] short BottomMargin
;
334 //-------------------------------------------------------------------------
336 /** contains the metric value of the left margin of the formula.
338 [property
] short LeftMargin
;
339 //-------------------------------------------------------------------------
341 /** contains the metric value of the right margin of the formula.
343 [property
] short RightMargin
;
346 //=============================================================================