Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / formula / FormulaProperties.idl
blob6717b83f5c08d648712ff89a03240d10c6280d65
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #ifndef __com_sun_star_formula_FormulaProperties_idl__
20 #define __com_sun_star_formula_FormulaProperties_idl__
23 module com { module sun { module star { module formula {
26 /** The formula properties provide access to the properties of a formula
27 in a formula generator
29 published service FormulaProperties
32 /** contains the alignment of the formula.
33 @see HorizontalAlignment
35 [property] short Alignment;
37 /** contains the base font height in point the formula will be
38 formatted in.
40 <p> All properties containing relative values are related to this value.
41 </p>
43 [property] short BaseFontHeight;
45 /** customized name for fixed font.
47 [property] string CustomFontNameFixed;
49 /** determines if the customized fixed font is italic.
51 [property] boolean FontFixedIsItalic;
53 /** determines if the customized fixed font is bold.
55 [property] boolean FontFixedIsBold;
57 /** customized name for sans serif font
59 [property] string CustomFontNameSans;
61 /** determines if the customized sans serif font is italic.
63 [property] boolean FontSansIsItalic;
65 /** determines if the customized sans serif font is bold.
67 [property] boolean FontSansIsBold;
69 /** customized name for serif font
71 [property] string CustomFontNameSerif;
73 /** determines if the customized serif font is italic.
75 [property] boolean FontSerifIsItalic;
77 /** determines if the customized serif font is bold.
79 [property] boolean FontSerifIsBold;
81 /** contains the name of the font that is used to
82 display functions contained in the formula.
84 [property] string FontNameFunctions;
86 /** determines if the font that is used to display functions is italic.
88 [property] boolean FontFunctionsIsItalic;
90 /** determines if the font that is used to display functions is bold.
92 [property] boolean FontFunctionsIsBold;
94 /** contains the name of the font that is used to
95 display numbers contained in the formula.
97 [property] string FontNameNumbers;
99 /** determines if the font that is used to display numbers is italic.
101 [property] boolean FontNumbersIsItalic;
103 /** determines if the font that is used to display numbers is bold.
105 [property] boolean FontNumbersIsBold;
107 /** contains the name of the font that is used to
108 display text contained in the formula.
110 [property] string FontNameText;
112 /** determines if the font that is used to display text is italic.
114 [property] boolean FontTextIsItalic;
116 /** determines if the font that is used to display text is bold.
118 [property] boolean FontTextIsBold;
120 /** contains the name of the font that is used to
121 display variables contained in the formula.
123 [property] string FontNameVariables;
125 /** determines if the font that is used to display variables is italic.
127 [property] boolean FontVariablesIsItalic;
129 /** determines if the font that is used to display variables is bold.
131 [property] boolean FontVariablesIsBold;
133 /** contains the command string of the formula
135 [property] string Formula;
137 /** decides if all brackets (even those without "left"/"right"
138 modifier) are scaled.
140 [property] boolean IsScaleAllBrackets;
142 /** switches into text mode.
144 [property] boolean IsTextMode;
146 /** contains the relative height of the font for functions.
148 The values unit is percent of the
149 com::sun::star::formula::FormulaProperties::BaseFontHeight
151 [property] short RelativeFontHeightFunctions;
153 /** contains the relative height of the font for indices.
155 The values unit is percent of the
156 com::sun::star::formula::FormulaProperties::BaseFontHeight
158 [property] short RelativeFontHeightIndices;
160 /** contains the relative height of the font for limits.
162 The values unit is percent of the
163 com::sun::star::formula::FormulaProperties::BaseFontHeight
165 [property] short RelativeFontHeightLimits;
167 /** contains the relative height of the font for operators.
169 The values unit is percent of the
170 com::sun::star::formula::FormulaProperties::BaseFontHeight
172 [property] short RelativeFontHeightOperators;
174 /** contains the relative height of the font for text.
176 The values unit is percent of the
177 com::sun::star::formula::FormulaProperties::BaseFontHeight
179 [property] short RelativeFontHeightText;
181 /** contains the relative distance of brackets.
183 [property] short RelativeBracketDistance;
185 /** contains the relative excess size of brackets.
187 [property] short RelativeBracketExcessSize;
189 /** contains the relative excess length of a fraction bar.
191 [property] short RelativeFractionBarExcessLength;
193 /** contains the relative line weight of a fraction bar.
195 [property] short RelativeFractionBarLineWeight;
197 /** contains the relative depth of the denominator of a fraction
199 [property] short RelativeFractionDenominatorDepth;
201 /** contains the relative height of the numerator of a fraction.
203 [property] short RelativeFractionNumeratorHeight;
205 /** contains the relative superscript of indices.
207 [property] short RelativeIndexSubscript;
209 /** contains the relative subscript of indices.
211 [property] short RelativeIndexSuperscript;
213 /** contains the relative line spacing.
215 [property] short RelativeLineSpacing;
217 /** contains the relative distance of lower limits.
219 [property] short RelativeLowerLimitDistance;
221 /** contains the relative column spacing of matrices.
223 [property] short RelativeMatrixColumnSpacing;
225 /** contains the relative line spacing of matrices.
227 [property] short RelativeMatrixLineSpacing;
229 /** contains the relative excess of operators.
231 [property] short RelativeOperatorExcessSize;
233 /** contains the relative spacing of operators.
235 [property] short RelativeOperatorSpacing;
237 /** contains the relative root spacing
239 [property] short RelativeRootSpacing;
241 /** contains the relative scaling of the bracket excess.
243 [property] short RelativeScaleBracketExcessSize;
245 /** contains the relative spacing.
247 [property] short RelativeSpacing;
249 /** contains the relative minimum height of the formula.
251 [property] short RelativeSymbolMinimumHeight;
253 /** contains the relative primary height of symbols.
255 [property] short RelativeSymbolPrimaryHeight;
257 /** contains the relative distance of upper limits
259 [property] short RelativeUpperLimitDistance;
261 /** contains the metric value of the top margin of the formula.
263 [property] short TopMargin;
265 /** contains the metric value of the bottom margin of the formula.
267 [property] short BottomMargin;
269 /** contains the metric value of the left margin of the formula.
271 [property] short LeftMargin;
273 /** contains the metric value of the right margin of the formula.
275 [property] short RightMargin;
278 /** contains the baselines offset in respect to the top of the formula rectangle
280 @since OOo 3.4
282 [property, optional] short BaseLine;
286 }; }; }; };
288 #endif
290 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */