1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SymbolDescriptor.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_formula_Symbol_idl__
31 #define __com_sun_star_formula_Symbol_idl__
33 //=============================================================================
35 module com
{ module sun
{ module star
{ module formula
{
37 //=============================================================================
39 - nWeight should be changed to float as in FontWeight.idl
40 - nItalic probably needs to have FontItalic extended by the two
41 extra defines REVERSE_* listed in FontSlant.idl
42 - nCharSet should have the CharSet.idl extended by the new defines
45 published
struct SymbolDescriptor
47 /** The name of the symbol.
51 /** The export name of the symbol.
55 /** Specifies the name of the symbol set to which this symbol belongs.
59 /** Specifies the unicode character of the symbol.
63 /** Specifies the exact name of the font ("Arial", "Courier", etc.).
67 /** Specifies the character set which is supported by the font.
69 @see <type scope="com::sun::star::awt">CharSet</type>
73 /** Specifies the general style of the font.
75 @see <type scope="com::sun::star::awt">FontFamily</type>
79 /** Specifies the pitch of the font.
81 @see <type scope="com::sun::star::awt">FontPitch</type>
85 /** Specifies the thickness of the line.
87 @see <type scope="com::sun::star::awt">FontWeight</type>
89 The allowed integer values correspond as follows:
90 0 : <member scope="com::sun::star::awt">FontWeight::DONTKNOW</member>
91 1 : <member scope="com::sun::star::awt">FontWeight::THIN</member>
92 2 : <member scope="com::sun::star::awt">FontWeight::ULTRALIGHT</member>
93 3 : <member scope="com::sun::star::awt">FontWeight::LIGHT</member>
94 4 : <member scope="com::sun::star::awt">FontWeight::SEMILIGHT</member>
95 5 : <member scope="com::sun::star::awt">FontWeight::NORMAL</member>
96 7 : <member scope="com::sun::star::awt">FontWeight::SEMIBOLD</member>
97 8 : <member scope="com::sun::star::awt">FontWeight::BOLD</member>
98 9 : <member scope="com::sun::star::awt">FontWeight::ULTRABOLD</member>
99 10 : <member scope="com::sun::star::awt">FontWeight::BLACK</member>
104 /** Specifies if the font is italic.
106 @see <type scope="com::sun::star::awt">FontSlant</type>
109 <member cope"com::sun::star::awt">FontSlant::REVERSE_OBLIQUE</member> and
110 <member scope="com::sun::star::awt">FontSlant::REVERSE_ITALIC</member>