Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / formula / SymbolDescriptor.idl
blob20d917384826333dcef082410ab4235325225bde
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_Symbol_idl__
29 #define __com_sun_star_formula_Symbol_idl__
31 //=============================================================================
33 module com { module sun { module star { module formula {
35 //=============================================================================
36 /** @deprecated draft
37 - nWeight should be changed to float as in FontWeight.idl
38 - nItalic probably needs to have FontItalic extended by the two
39 extra defines REVERSE_* listed in FontSlant.idl
40 - nCharSet should have the CharSet.idl extended by the new defines
41 from rtl/textenc.h
43 published struct SymbolDescriptor
45 /** The name of the symbol.
47 string sName;
49 /** The export name of the symbol.
51 string sExportName;
53 /** Specifies the name of the symbol set to which this symbol belongs.
55 string sSymbolSet;
57 /** Specifies the Unicode character of the symbol.
59 long nCharacter;
61 /** Specifies the exact name of the font ("Arial", "Courier", etc.).
63 string sFontName;
65 /** Specifies the character set which is supported by the font.
67 @see <type scope="com::sun::star::awt">CharSet</type>
69 short nCharSet;
71 /** Specifies the general style of the font.
73 @see <type scope="com::sun::star::awt">FontFamily</type>
75 short nFamily;
77 /** Specifies the pitch of the font.
79 @see <type scope="com::sun::star::awt">FontPitch</type>
81 short nPitch;
83 /** Specifies the thickness of the line.
85 @see <type scope="com::sun::star::awt">FontWeight</type>
87 The allowed integer values correspond as follows:
88 0 : <member scope="com::sun::star::awt">FontWeight::DONTKNOW</member>
89 1 : <member scope="com::sun::star::awt">FontWeight::THIN</member>
90 2 : <member scope="com::sun::star::awt">FontWeight::ULTRALIGHT</member>
91 3 : <member scope="com::sun::star::awt">FontWeight::LIGHT</member>
92 4 : <member scope="com::sun::star::awt">FontWeight::SEMILIGHT</member>
93 5 : <member scope="com::sun::star::awt">FontWeight::NORMAL</member>
94 7 : <member scope="com::sun::star::awt">FontWeight::SEMIBOLD</member>
95 8 : <member scope="com::sun::star::awt">FontWeight::BOLD</member>
96 9 : <member scope="com::sun::star::awt">FontWeight::ULTRABOLD</member>
97 10 : <member scope="com::sun::star::awt">FontWeight::BLACK</member>
100 short nWeight;
102 /** Specifies if the font is italic.
104 @see <type scope="com::sun::star::awt">FontSlant</type>
106 The values
107 <member cope"com::sun::star::awt">FontSlant::REVERSE_OBLIQUE</member> and
108 <member scope="com::sun::star::awt">FontSlant::REVERSE_ITALIC</member>
109 may not be used.
111 short nItalic;
113 }; }; }; };
114 #endif
116 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */