Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / formula / SymbolDescriptor.idl
blob0b1ce8e27fd6c2771325fa91f85da339d2213189
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_SymbolDescriptor_idl__
20 #define __com_sun_star_formula_SymbolDescriptor_idl__
23 module com { module sun { module star { module formula {
25 /** @deprecated draft
26 - nWeight should be changed to float as in FontWeight.idl
27 - nItalic probably needs to have FontItalic extended by the two
28 extra defines REVERSE_* listed in FontSlant.idl
29 - nCharSet should have the CharSet.idl extended by the new defines
30 from rtl/textenc.h
32 published struct SymbolDescriptor
34 /** The name of the symbol.
36 string sName;
38 /** The export name of the symbol.
40 string sExportName;
42 /** Specifies the name of the symbol set to which this symbol belongs.
44 string sSymbolSet;
46 /** Specifies the Unicode character of the symbol.
48 long nCharacter;
50 /** Specifies the exact name of the font ("Arial", "Courier", etc.).
52 string sFontName;
54 /** Specifies the character set which is supported by the font.
56 @see com::sun::star::awt::CharSet
58 short nCharSet;
60 /** Specifies the general style of the font.
62 @see com::sun::star::awt::FontFamily
64 short nFamily;
66 /** Specifies the pitch of the font.
68 @see com::sun::star::awt::FontPitch
70 short nPitch;
72 /** Specifies the thickness of the line.
74 @see com::sun::star::awt::FontWeight
76 The allowed integer values correspond as follows:
77 0 : com::sun::star::awt::FontWeight::DONTKNOW
78 1 : com::sun::star::awt::FontWeight::THIN
79 2 : com::sun::star::awt::FontWeight::ULTRALIGHT
80 3 : com::sun::star::awt::FontWeight::LIGHT
81 4 : com::sun::star::awt::FontWeight::SEMILIGHT
82 5 : com::sun::star::awt::FontWeight::NORMAL
83 7 : com::sun::star::awt::FontWeight::SEMIBOLD
84 8 : com::sun::star::awt::FontWeight::BOLD
85 9 : com::sun::star::awt::FontWeight::ULTRABOLD
86 10 : com::sun::star::awt::FontWeight::BLACK
89 short nWeight;
91 /** Specifies if the font is italic.
93 @see com::sun::star::awt::FontSlant
95 The values
96 com::sun::star::awt::FontSlant::REVERSE_OBLIQUE and
97 com::sun::star::awt::FontSlant::REVERSE_ITALIC
98 may not be used.
100 short nItalic;
102 }; }; }; };
103 #endif
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */