LibreOffice
LibreOffice 6.2 SDK API Reference
FormulaProperties.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef __com_sun_star_formula_FormulaProperties_idl__
20 #define __com_sun_star_formula_FormulaProperties_idl__
21 
22 
23  module com { module sun { module star { module formula {
24 
25 
29 published service FormulaProperties
30 {
31 
36  [property] short Alignment;
37 
44  [property] short BaseFontHeight;
45 
48  [property] string CustomFontNameFixed;
49 
52  [property] boolean FontFixedIsItalic;
53 
56  [property] boolean FontFixedIsBold;
57 
60  [property] string CustomFontNameSans;
61 
64  [property] boolean FontSansIsItalic;
65 
68  [property] boolean FontSansIsBold;
69 
72  [property] string CustomFontNameSerif;
73 
76  [property] boolean FontSerifIsItalic;
77 
80  [property] boolean FontSerifIsBold;
81 
85  [property] string FontNameFunctions;
86 
89  [property] boolean FontFunctionsIsItalic;
90 
93  [property] boolean FontFunctionsIsBold;
94 
98  [property] string FontNameNumbers;
99 
102  [property] boolean FontNumbersIsItalic;
103 
106  [property] boolean FontNumbersIsBold;
107 
111  [property] string FontNameText;
112 
115  [property] boolean FontTextIsItalic;
116 
119  [property] boolean FontTextIsBold;
120 
124  [property] string FontNameVariables;
125 
128  [property] boolean FontVariablesIsItalic;
129 
132  [property] boolean FontVariablesIsBold;
133 
136  [property] string Formula;
137 
141  [property] boolean IsScaleAllBrackets;
142 
148  [property] boolean IsTextMode;
149 
155  [property] short RelativeFontHeightFunctions;
156 
162  [property] short RelativeFontHeightIndices;
163 
169  [property] short RelativeFontHeightLimits;
170 
176  [property] short RelativeFontHeightOperators;
177 
183  [property] short RelativeFontHeightText;
184 
187  [property] short RelativeBracketDistance;
188 
191  [property] short RelativeBracketExcessSize;
192 
196 
200 
204 
208 
211  [property] short RelativeIndexSubscript;
212 
215  [property] short RelativeIndexSuperscript;
216 
219  [property] short RelativeLineSpacing;
220 
223  [property] short RelativeLowerLimitDistance;
224 
227  [property] short RelativeMatrixColumnSpacing;
228 
231  [property] short RelativeMatrixLineSpacing;
232 
235  [property] short RelativeOperatorExcessSize;
236 
239  [property] short RelativeOperatorSpacing;
240 
243  [property] short RelativeRootSpacing;
244 
248 
251  [property] short RelativeSpacing;
252 
255  [property] short RelativeSymbolMinimumHeight;
256 
259  [property] short RelativeSymbolPrimaryHeight;
260 
263  [property] short RelativeUpperLimitDistance;
264 
267  [property] short TopMargin;
268 
271  [property] short BottomMargin;
272 
275  [property] short LeftMargin;
276 
279  [property] short RightMargin;
280 
281 
286  [property, optional] short BaseLine;
287 };
288 
289 
290 }; }; }; };
291 
292 #endif
293 
294 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
short RightMargin
contains the metric value of the right margin of the formula.
Definition: FormulaProperties.idl:279
short Alignment
contains the alignment of the formula.
Definition: FormulaProperties.idl:36
boolean FontSerifIsItalic
determines if the customized serif font is italic.
Definition: FormulaProperties.idl:76
string CustomFontNameFixed
customized name for fixed font.
Definition: FormulaProperties.idl:48
string FontNameNumbers
contains the name of the font that is used to display numbers contained in the formula.
Definition: FormulaProperties.idl:98
boolean FontVariablesIsBold
determines if the font that is used to display variables is bold.
Definition: FormulaProperties.idl:132
short RelativeFractionBarExcessLength
contains the relative excess length of a fraction bar.
Definition: FormulaProperties.idl:195
short LeftMargin
contains the metric value of the left margin of the formula.
Definition: FormulaProperties.idl:275
boolean FontVariablesIsItalic
determines if the font that is used to display variables is italic.
Definition: FormulaProperties.idl:128
short RelativeOperatorSpacing
contains the relative spacing of operators.
Definition: FormulaProperties.idl:239
boolean FontFixedIsBold
determines if the customized fixed font is bold.
Definition: FormulaProperties.idl:56
short RelativeFractionDenominatorDepth
contains the relative depth of the denominator of a fraction
Definition: FormulaProperties.idl:203
boolean FontFunctionsIsBold
determines if the font that is used to display functions is bold.
Definition: FormulaProperties.idl:93
short RelativeIndexSubscript
contains the relative superscript of indices.
Definition: FormulaProperties.idl:211
Definition: Ambiguous.idl:22
short RelativeBracketDistance
contains the relative distance of brackets.
Definition: FormulaProperties.idl:187
boolean FontFixedIsItalic
determines if the customized fixed font is italic.
Definition: FormulaProperties.idl:52
string CustomFontNameSans
customized name for sans serif font
Definition: FormulaProperties.idl:60
short RelativeFractionNumeratorHeight
contains the relative height of the numerator of a fraction.
Definition: FormulaProperties.idl:207
boolean FontNumbersIsBold
determines if the font that is used to display numbers is bold.
Definition: FormulaProperties.idl:106
string FontNameFunctions
contains the name of the font that is used to display functions contained in the formula.
Definition: FormulaProperties.idl:85
short BaseFontHeight
contains the base font height in point the formula will be formatted in.
Definition: FormulaProperties.idl:44
short RelativeMatrixColumnSpacing
contains the relative column spacing of matrices.
Definition: FormulaProperties.idl:227
short RelativeRootSpacing
contains the relative root spacing
Definition: FormulaProperties.idl:243
short BaseLine
contains the baselines offset in respect to the top of the formula rectangle
Definition: FormulaProperties.idl:286
string FontNameVariables
contains the name of the font that is used to display variables contained in the formula.
Definition: FormulaProperties.idl:124
short RelativeFontHeightText
contains the relative height of the font for text.
Definition: FormulaProperties.idl:183
short RelativeFontHeightIndices
contains the relative height of the font for indices.
Definition: FormulaProperties.idl:162
short TopMargin
contains the metric value of the top margin of the formula.
Definition: FormulaProperties.idl:267
boolean FontTextIsBold
determines if the font that is used to display text is bold.
Definition: FormulaProperties.idl:119
boolean FontFunctionsIsItalic
determines if the font that is used to display functions is italic.
Definition: FormulaProperties.idl:89
boolean FontSansIsBold
determines if the customized sans serif font is bold.
Definition: FormulaProperties.idl:68
short RelativeLowerLimitDistance
contains the relative distance of lower limits.
Definition: FormulaProperties.idl:223
short RelativeScaleBracketExcessSize
contains the relative scaling of the bracket excess.
Definition: FormulaProperties.idl:247
short RelativeMatrixLineSpacing
contains the relative line spacing of matrices.
Definition: FormulaProperties.idl:231
boolean FontNumbersIsItalic
determines if the font that is used to display numbers is italic.
Definition: FormulaProperties.idl:102
string Formula
contains the command string of the formula
Definition: FormulaProperties.idl:136
short RelativeIndexSuperscript
contains the relative subscript of indices.
Definition: FormulaProperties.idl:215
short RelativeSpacing
contains the relative spacing.
Definition: FormulaProperties.idl:251
boolean FontSansIsItalic
determines if the customized sans serif font is italic.
Definition: FormulaProperties.idl:64
short BottomMargin
contains the metric value of the bottom margin of the formula.
Definition: FormulaProperties.idl:271
short RelativeBracketExcessSize
contains the relative excess size of brackets.
Definition: FormulaProperties.idl:191
boolean FontSerifIsBold
determines if the customized serif font is bold.
Definition: FormulaProperties.idl:80
short RelativeSymbolMinimumHeight
contains the relative minimum height of the formula.
Definition: FormulaProperties.idl:255
string FontNameText
contains the name of the font that is used to display text contained in the formula.
Definition: FormulaProperties.idl:111
short RelativeLineSpacing
contains the relative line spacing.
Definition: FormulaProperties.idl:219
boolean IsScaleAllBrackets
decides if all brackets (even those without "left"/"right" modifier) are scaled.
Definition: FormulaProperties.idl:141
string CustomFontNameSerif
customized name for serif font
Definition: FormulaProperties.idl:72
boolean IsTextMode
switches into text mode.
Definition: FormulaProperties.idl:148
short RelativeFontHeightFunctions
contains the relative height of the font for functions.
Definition: FormulaProperties.idl:155
short RelativeOperatorExcessSize
contains the relative excess of operators.
Definition: FormulaProperties.idl:235
short RelativeSymbolPrimaryHeight
contains the relative primary height of symbols.
Definition: FormulaProperties.idl:259
short RelativeFontHeightOperators
contains the relative height of the font for operators.
Definition: FormulaProperties.idl:176
The formula properties provide access to the properties of a formula in a formula generator...
Definition: FormulaProperties.idl:29
short RelativeFractionBarLineWeight
contains the relative line weight of a fraction bar.
Definition: FormulaProperties.idl:199
short RelativeUpperLimitDistance
contains the relative distance of upper limits
Definition: FormulaProperties.idl:263
boolean FontTextIsItalic
determines if the font that is used to display text is italic.
Definition: FormulaProperties.idl:115
short RelativeFontHeightLimits
contains the relative height of the font for limits.
Definition: FormulaProperties.idl:169