tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / formula / FormulaProperties.idl
blob79ab4e7244bcad5f65872303f841fa7baa8b1282
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 .
21 module com { module sun { module star { module formula {
24 /** The formula properties provide access to the properties of a formula
25 in a formula generator
27 published service FormulaProperties
30 /** contains the alignment of the formula.
32 @see com::sun::star::style::HorizontalAlignment
34 [property] short Alignment;
36 /** contains the base font height in point the formula will be
37 formatted in.
39 <p> All properties containing relative values are related to this value.
40 </p>
42 [property] short BaseFontHeight;
44 /** customized name for fixed font.
46 [property] string CustomFontNameFixed;
48 /** determines if the customized fixed font is italic.
50 [property] boolean FontFixedIsItalic;
52 /** determines if the customized fixed font is bold.
54 [property] boolean FontFixedIsBold;
56 /** customized name for sans serif font
58 [property] string CustomFontNameSans;
60 /** determines if the customized sans serif font is italic.
62 [property] boolean FontSansIsItalic;
64 /** determines if the customized sans serif font is bold.
66 [property] boolean FontSansIsBold;
68 /** customized name for serif font
70 [property] string CustomFontNameSerif;
72 /** determines if the customized serif font is italic.
74 [property] boolean FontSerifIsItalic;
76 /** determines if the customized serif font is bold.
78 [property] boolean FontSerifIsBold;
80 /** contains the name of the font that is used to
81 display functions contained in the formula.
83 [property] string FontNameFunctions;
85 /** determines if the font that is used to display functions is italic.
87 [property] boolean FontFunctionsIsItalic;
89 /** determines if the font that is used to display functions is bold.
91 [property] boolean FontFunctionsIsBold;
93 /** contains the name of the font that is used to
94 display numbers contained in the formula.
96 [property] string FontNameNumbers;
98 /** determines if the font that is used to display numbers is italic.
100 [property] boolean FontNumbersIsItalic;
102 /** determines if the font that is used to display numbers is bold.
104 [property] boolean FontNumbersIsBold;
106 /** contains the name of the font that is used to
107 display text contained in the formula.
109 [property] string FontNameText;
111 /** determines if the font that is used to display text is italic.
113 [property] boolean FontTextIsItalic;
115 /** determines if the font that is used to display text is bold.
117 [property] boolean FontTextIsBold;
119 /** contains the name of the font that is used to
120 display variables contained in the formula.
122 [property] string FontNameVariables;
124 /** determines if the font that is used to display variables is italic.
126 [property] boolean FontVariablesIsItalic;
128 /** determines if the font that is used to display variables is bold.
130 [property] boolean FontVariablesIsBold;
132 /** contains the command string of the formula
134 [property] string Formula;
136 /** decides if all brackets (even those without "left"/"right"
137 modifier) are scaled.
139 [property] boolean IsScaleAllBrackets;
141 /** switches into text mode.
143 This is a mode where formulas are displayed the same height as
144 a line of text.
146 [property] boolean IsTextMode;
148 /** contains the relative height of the font for functions.
150 The values unit is percent of the
151 com::sun::star::formula::FormulaProperties::BaseFontHeight
153 [property] short RelativeFontHeightFunctions;
155 /** contains the relative height of the font for indices.
157 The values unit is percent of the
158 com::sun::star::formula::FormulaProperties::BaseFontHeight
160 [property] short RelativeFontHeightIndices;
162 /** contains the relative height of the font for limits.
164 The values unit is percent of the
165 com::sun::star::formula::FormulaProperties::BaseFontHeight
167 [property] short RelativeFontHeightLimits;
169 /** contains the relative height of the font for operators.
171 The values unit is percent of the
172 com::sun::star::formula::FormulaProperties::BaseFontHeight
174 [property] short RelativeFontHeightOperators;
176 /** contains the relative height of the font for text.
178 The values unit is percent of the
179 com::sun::star::formula::FormulaProperties::BaseFontHeight
181 [property] short RelativeFontHeightText;
183 /** contains the relative distance of brackets.
185 [property] short RelativeBracketDistance;
187 /** contains the relative excess size of brackets.
189 [property] short RelativeBracketExcessSize;
191 /** contains the relative excess length of a fraction bar.
193 [property] short RelativeFractionBarExcessLength;
195 /** contains the relative line weight of a fraction bar.
197 [property] short RelativeFractionBarLineWeight;
199 /** contains the relative depth of the denominator of a fraction
201 [property] short RelativeFractionDenominatorDepth;
203 /** contains the relative height of the numerator of a fraction.
205 [property] short RelativeFractionNumeratorHeight;
207 /** contains the relative superscript of indices.
209 [property] short RelativeIndexSubscript;
211 /** contains the relative subscript of indices.
213 [property] short RelativeIndexSuperscript;
215 /** contains the relative line spacing.
217 [property] short RelativeLineSpacing;
219 /** contains the relative distance of lower limits.
221 [property] short RelativeLowerLimitDistance;
223 /** contains the relative column spacing of matrices.
225 [property] short RelativeMatrixColumnSpacing;
227 /** contains the relative line spacing of matrices.
229 [property] short RelativeMatrixLineSpacing;
231 /** contains the relative excess of operators.
233 [property] short RelativeOperatorExcessSize;
235 /** contains the relative spacing of operators.
237 [property] short RelativeOperatorSpacing;
239 /** contains the relative root spacing
241 [property] short RelativeRootSpacing;
243 /** contains the relative scaling of the bracket excess.
245 [property] short RelativeScaleBracketExcessSize;
247 /** contains the relative spacing.
249 [property] short RelativeSpacing;
251 /** contains the relative minimum height of the formula.
253 [property] short RelativeSymbolMinimumHeight;
255 /** contains the relative primary height of symbols.
257 [property] short RelativeSymbolPrimaryHeight;
259 /** contains the relative distance of upper limits
261 [property] short RelativeUpperLimitDistance;
263 /** contains the metric value of the top margin of the formula.
265 [property] short TopMargin;
267 /** contains the metric value of the bottom margin of the formula.
269 [property] short BottomMargin;
271 /** contains the metric value of the left margin of the formula.
273 [property] short LeftMargin;
275 /** contains the metric value of the right margin of the formula.
277 [property] short RightMargin;
280 /** contains the baselines offset in respect to the top of the formula rectangle
282 @since OOo 3.4
284 [property, optional] short BaseLine;
286 /** switches into right-to-left layout.
288 @since LibreOffice 24.2
290 [property, optional] boolean IsRightToLeft;
294 }; }; }; };
296 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */