Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / formula / FormulaProperties.idl
blob06f90a002dd89c6d0e03abecbb322c7c3ed625ea
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_formula_FormulaProperties_idl__
29 #define __com_sun_star_formula_FormulaProperties_idl__
31 //=============================================================================
33 module com { module sun { module star { module formula {
35 //=============================================================================
37 /** The formula properties provide access to the properties of a formula
38 in a formula generator
40 published service FormulaProperties
42 //-------------------------------------------------------------------------
44 /** contains the alignment of the formula.
45 @see HorizontalAlignment
47 [property] short Alignment;
48 //-------------------------------------------------------------------------
50 /** contains the base font height in point the formula will be
51 formatted in.
53 <p> All properties containing relative values are related to this value.
54 </p>
56 [property] short BaseFontHeight;
57 //-------------------------------------------------------------------------
59 /** customized name for fixed font.
61 [property] string CustomFontNameFixed;
62 //-------------------------------------------------------------------------
64 /** determines if the customized fixed font is italic.
66 [property] boolean FontFixedIsItalic;
67 //-------------------------------------------------------------------------
69 /** determines if the customized fixed font is bold.
71 [property] boolean FontFixedIsBold;
72 //-------------------------------------------------------------------------
74 /** customized name for sans serif font
76 [property] string CustomFontNameSans;
77 //-------------------------------------------------------------------------
79 /** determines if the customized sans serif font is italic.
81 [property] boolean FontSansIsItalic;
82 //-------------------------------------------------------------------------
84 /** determines if the customized sans serif font is bold.
86 [property] boolean FontSansIsBold;
87 //-------------------------------------------------------------------------
89 /** customized name for serif font
91 [property] string CustomFontNameSerif;
92 //-------------------------------------------------------------------------
94 /** determines if the customized serif font is italic.
96 [property] boolean FontSerifIsItalic;
97 //-------------------------------------------------------------------------
99 /** determines if the customized serif font is bold.
101 [property] boolean FontSerifIsBold;
102 //-------------------------------------------------------------------------
104 /** contains the name of the font that is used to
105 display functions contained in the formula.
107 [property] string FontNameFunctions;
108 //-------------------------------------------------------------------------
110 /** determines if the font that is used to display functions is italic.
112 [property] boolean FontFunctionsIsItalic;
113 //-------------------------------------------------------------------------
115 /** determines if the font that is used to display functions is bold.
117 [property] boolean FontFunctionsIsBold;
118 //-------------------------------------------------------------------------
120 /** contains the name of the font that is used to
121 display numbers contained in the formula.
123 [property] string FontNameNumbers;
124 //-------------------------------------------------------------------------
126 /** determines if the font that is used to display numbers is italic.
128 [property] boolean FontNumbersIsItalic;
129 //-------------------------------------------------------------------------
131 /** determines if the font that is used to display numbers is bold.
133 [property] boolean FontNumbersIsBold;
134 //-------------------------------------------------------------------------
136 /** contains the name of the font that is used to
137 display text contained in the formula.
139 [property] string FontNameText;
140 //-------------------------------------------------------------------------
142 /** determines if the font that is used to display text is italic.
144 [property] boolean FontTextIsItalic;
145 //-------------------------------------------------------------------------
147 /** determines if the font that is used to display text is bold.
149 [property] boolean FontTextIsBold;
150 //-------------------------------------------------------------------------
152 /** contains the name of the font that is used to
153 display variables contained in the formula.
155 [property] string FontNameVariables;
156 //-------------------------------------------------------------------------
158 /** determines if the font that is used to display variables is italic.
160 [property] boolean FontVariablesIsItalic;
161 //-------------------------------------------------------------------------
163 /** determines if the font that is used to display variables is bold.
165 [property] boolean FontVariablesIsBold;
166 //-------------------------------------------------------------------------
168 /** contains the command string of the formula
170 [property] string Formula;
171 //-------------------------------------------------------------------------
173 /** decides if all brackets (even those without "left"/"right"
174 modifier) are scaled.
176 [property] boolean IsScaleAllBrackets;
177 //-------------------------------------------------------------------------
179 /** switches into text mode.
181 [property] boolean IsTextMode;
182 //-------------------------------------------------------------------------
184 /** contains the relative height of the font for functions.
186 The values unit is percent of the
187 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
189 [property] short RelativeFontHeightFunctions;
190 //-------------------------------------------------------------------------
192 /** contains the relative height of the font for indices.
194 The values unit is percent of the
195 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
197 [property] short RelativeFontHeightIndices;
198 //-------------------------------------------------------------------------
200 /** contains the relative height of the font for limits.
202 The values unit is percent of the
203 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
205 [property] short RelativeFontHeightLimits;
206 //-------------------------------------------------------------------------
208 /** contains the relative height of the font for operators.
210 The values unit is percent of the
211 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
213 [property] short RelativeFontHeightOperators;
214 //-------------------------------------------------------------------------
216 /** contains the relative height of the font for text.
218 The values unit is percent of the
219 <member scope="com::sun::star::formula">FormulaProperties::BaseFontHeight</member>
221 [property] short RelativeFontHeightText;
222 //-------------------------------------------------------------------------
224 /** contains the relative distance of brackets.
226 [property] short RelativeBracketDistance;
227 //-------------------------------------------------------------------------
229 /** contains the relative excess size of brackets.
231 [property] short RelativeBracketExcessSize;
232 //-------------------------------------------------------------------------
234 /** contains the relative excess length of a fraction bar.
236 [property] short RelativeFractionBarExcessLength;
237 //-------------------------------------------------------------------------
239 /** contains the relative line weight of a fraction bar.
241 [property] short RelativeFractionBarLineWeight;
242 //-------------------------------------------------------------------------
244 /** contains the relative depth of the denominator of a fraction
246 [property] short RelativeFractionDenominatorDepth;
247 //-------------------------------------------------------------------------
249 /** contains the relative height of the numerator of a fraction.
251 [property] short RelativeFractionNumeratorHeight;
252 //-------------------------------------------------------------------------
254 /** contains the relative superscript of indices.
256 [property] short RelativeIndexSubscript;
257 //-------------------------------------------------------------------------
259 /** contains the relative subscript of indices.
261 [property] short RelativeIndexSuperscript;
262 //-------------------------------------------------------------------------
264 /** contains the relative line spacing.
266 [property] short RelativeLineSpacing;
267 //-------------------------------------------------------------------------
269 /** contains the relative distance of lower limits.
271 [property] short RelativeLowerLimitDistance;
272 //-------------------------------------------------------------------------
274 /** contains the relative column spacing of matrices.
276 [property] short RelativeMatrixColumnSpacing;
277 //-------------------------------------------------------------------------
279 /** contains the relative line spacing of matrices.
281 [property] short RelativeMatrixLineSpacing;
282 //-------------------------------------------------------------------------
284 /** contains the relative excess of operators.
286 [property] short RelativeOperatorExcessSize;
287 //-------------------------------------------------------------------------
289 /** contains the relative spacing of operators.
291 [property] short RelativeOperatorSpacing;
292 //-------------------------------------------------------------------------
294 /** contains the relative root spacing
296 [property] short RelativeRootSpacing;
297 //-------------------------------------------------------------------------
299 /** contains the relative scaling of the bracket excess.
301 [property] short RelativeScaleBracketExcessSize;
302 //-------------------------------------------------------------------------
304 /** contains the relative spacing.
306 [property] short RelativeSpacing;
307 //-------------------------------------------------------------------------
309 /** contains the relative minimum height of the formula.
311 [property] short RelativeSymbolMinimumHeight;
312 //-------------------------------------------------------------------------
314 /** contains the relative primary height of symbols.
316 [property] short RelativeSymbolPrimaryHeight;
317 //-------------------------------------------------------------------------
319 /** contains the relative distance of upper limits
321 [property] short RelativeUpperLimitDistance;
322 //-------------------------------------------------------------------------
324 /** contains the metric value of the top margin of the formula.
326 [property] short TopMargin;
327 //-------------------------------------------------------------------------
329 /** contains the metric value of the bottom margin of the formula.
331 [property] short BottomMargin;
332 //-------------------------------------------------------------------------
334 /** contains the metric value of the left margin of the formula.
336 [property] short LeftMargin;
337 //-------------------------------------------------------------------------
339 /** contains the metric value of the right margin of the formula.
341 [property] short RightMargin;
343 //-------------------------------------------------------------------------
345 /** contains the baselines offset in respect to the top of the formula rectangle
347 @since OOo 3.4
349 [property, optional] short BaseLine;
352 //=============================================================================
354 }; }; }; };
356 #endif
358 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */