1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_awt_FontWeight_idl__ 24#define __com_sun_star_awt_FontWeight_idl__ 25 26 27//============================================================================= 28 29 module com { module sun { module star { module awt { 30 31//============================================================================= 32 33/** These values are used to specify whether a font is thin or bold. 34 35 <p>They may be expanded in future versions.</p> 36 */ 37published constants FontWeight 38{ 39 //------------------------------------------------------------------------- 40 41 /** The font weight is not specified/known. 42 */ 43 const float DONTKNOW = 0.000000; 44 45 //------------------------------------------------------------------------- 46 47 /** specifies a 50% font weight. 48 */ 49 const float THIN = 50.000000; 50 51 //------------------------------------------------------------------------- 52 53 /** specifies a 60% font weight. 54 */ 55 const float ULTRALIGHT = 60.000000; 56 57 //------------------------------------------------------------------------- 58 59 /** specifies a 75% font weight. 60 */ 61 const float LIGHT = 75.000000; 62 63 //------------------------------------------------------------------------- 64 65 /** specifies a 90% font weight. 66 */ 67 const float SEMILIGHT = 90.000000; 68 69 //------------------------------------------------------------------------- 70 71 /** specifies a normal font weight. 72 */ 73 const float NORMAL = 100.000000; 74 75 //------------------------------------------------------------------------- 76 77 /** specifies a 110% font weight. 78 */ 79 const float SEMIBOLD = 110.000000; 80 81 //------------------------------------------------------------------------- 82 83 /** specifies a 150% font weight. 84 */ 85 const float BOLD = 150.000000; 86 87 //------------------------------------------------------------------------- 88 89 /** specifies a 175% font weight. 90 */ 91 const float ULTRABOLD = 175.000000; 92 93 //------------------------------------------------------------------------- 94 95 /** specifies a 200% font weight. 96 */ 97 const float BLACK = 200.000000; 98 99}; 100 101//============================================================================= 102 103}; }; }; }; 104 105#endif 106