LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
FontWeight.idl
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
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 .
18
*/
19
20
21
22
module
com
{ module sun { module star { module awt {
23
24
29
published constants
FontWeight
30
{
31
34
const
float
DONTKNOW
= 0.000000;
35
36
39
const
float
THIN
= 50.000000;
40
41
44
const
float
ULTRALIGHT
= 60.000000;
45
46
49
const
float
LIGHT
= 75.000000;
50
51
54
const
float
SEMILIGHT
= 90.000000;
55
56
59
const
float
NORMAL
= 100.000000;
60
61
66
const
float
MEDIUM
= 105.000000;
67
68
71
const
float
SEMIBOLD
= 110.000000;
72
73
76
const
float
BOLD
= 150.000000;
77
78
81
const
float
ULTRABOLD
= 175.000000;
82
83
86
const
float
BLACK
= 200.000000;
87
88
};
89
90
91
}; }; }; };
92
93
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::FontWeight
These values are used to specify whether a font is thin or bold.
Definition
FontWeight.idl:30
com::sun::star::awt::FontWeight::ULTRALIGHT
const float ULTRALIGHT
specifies a 60% font weight.
Definition
FontWeight.idl:44
com::sun::star::awt::FontWeight::THIN
const float THIN
specifies a 50% font weight.
Definition
FontWeight.idl:39
com::sun::star::awt::FontWeight::ULTRABOLD
const float ULTRABOLD
specifies a 175% font weight.
Definition
FontWeight.idl:81
com::sun::star::awt::FontWeight::SEMIBOLD
const float SEMIBOLD
specifies a 110% font weight.
Definition
FontWeight.idl:71
com::sun::star::awt::FontWeight::BOLD
const float BOLD
specifies a 150% font weight.
Definition
FontWeight.idl:76
com::sun::star::awt::FontWeight::MEDIUM
const float MEDIUM
specifies a 105% font weight.
Definition
FontWeight.idl:66
com::sun::star::awt::FontWeight::BLACK
const float BLACK
specifies a 200% font weight.
Definition
FontWeight.idl:86
com::sun::star::awt::FontWeight::LIGHT
const float LIGHT
specifies a 75% font weight.
Definition
FontWeight.idl:49
com::sun::star::awt::FontWeight::NORMAL
const float NORMAL
specifies a normal font weight.
Definition
FontWeight.idl:59
com::sun::star::awt::FontWeight::SEMILIGHT
const float SEMILIGHT
specifies a 90% font weight.
Definition
FontWeight.idl:54
com::sun::star::awt::FontWeight::DONTKNOW
const float DONTKNOW
The font weight is not specified/known.
Definition
FontWeight.idl:34
com
Definition
Ambiguous.idl:20
com
sun
star
awt
FontWeight.idl
Generated by
1.17.0