1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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_awt_FontWeight_idl__
20 #define __com_sun_star_awt_FontWeight_idl__
24 module com
{ module sun
{ module star
{ module awt
{
27 /** These values are used to specify whether a font is thin or bold.
29 <p>They may be expanded in future versions.</p>
31 published constants FontWeight
34 /** The font weight is not specified/known.
36 const float DONTKNOW
= 0.000000;
39 /** specifies a 50% font weight.
41 const float THIN
= 50.000000;
44 /** specifies a 60% font weight.
46 const float ULTRALIGHT
= 60.000000;
49 /** specifies a 75% font weight.
51 const float LIGHT
= 75.000000;
54 /** specifies a 90% font weight.
56 const float SEMILIGHT
= 90.000000;
59 /** specifies a normal font weight.
61 const float NORMAL
= 100.000000;
64 /** specifies a 110% font weight.
66 const float SEMIBOLD
= 110.000000;
69 /** specifies a 150% font weight.
71 const float BOLD
= 150.000000;
74 /** specifies a 175% font weight.
76 const float ULTRABOLD
= 175.000000;
79 /** specifies a 200% font weight.
81 const float BLACK
= 200.000000;
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */