Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / awt / FontWeight.idl
blob24d8cde845c6eebd92212592bfcc9141e70e1183
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: FontWeight.idl,v $
10 * $Revision: 1.11 $
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_awt_FontWeight_idl__
31 #define __com_sun_star_awt_FontWeight_idl__
34 //=============================================================================
36 module com { module sun { module star { module awt {
38 //=============================================================================
40 /** These values are used to specify whether a font is thin or bold.
42 <p>They may be expanded in future versions.</p>
44 published constants FontWeight
46 //-------------------------------------------------------------------------
48 /** The font weight is not specified/known.
49 */
50 const float DONTKNOW = 0.000000;
52 //-------------------------------------------------------------------------
54 /** specifies a 50% font weight.
55 */
56 const float THIN = 50.000000;
58 //-------------------------------------------------------------------------
60 /** specifies a 60% font weight.
61 */
62 const float ULTRALIGHT = 60.000000;
64 //-------------------------------------------------------------------------
66 /** specifies a 75% font weight.
67 */
68 const float LIGHT = 75.000000;
70 //-------------------------------------------------------------------------
72 /** specifies a 90% font weight.
73 */
74 const float SEMILIGHT = 90.000000;
76 //-------------------------------------------------------------------------
78 /** specifies a normal font weight.
79 */
80 const float NORMAL = 100.000000;
82 //-------------------------------------------------------------------------
84 /** specifies a 110% font weight.
85 */
86 const float SEMIBOLD = 110.000000;
88 //-------------------------------------------------------------------------
90 /** specifies a 150% font weight.
91 */
92 const float BOLD = 150.000000;
94 //-------------------------------------------------------------------------
96 /** specifies a 175% font weight.
97 */
98 const float ULTRABOLD = 175.000000;
100 //-------------------------------------------------------------------------
102 /** specifies a 200% font weight.
104 const float BLACK = 200.000000;
108 //=============================================================================
110 }; }; }; };
112 #endif