LibreOffice
LibreOffice 6.2 SDK API Reference
FontDescriptor.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 #ifndef __com_sun_star_awt_FontDescriptor_idl__
20 #define __com_sun_star_awt_FontDescriptor_idl__
21 
23 
24 
25 
26  module com { module sun { module star { module awt {
27 
28 
33 published struct FontDescriptor
34 {
35 
38  string Name;
39 
40 
44  short Height;
45 
46 
50  short Width;
51 
52 
55  string StyleName;
56 
57 
63  short Family;
64 
65 
71  short CharSet;
72 
73 
79  short Pitch;
80 
81 
90 
91 
99  float Weight;
100 
101 
105 
106 
112  short Underline;
113 
114 
120  short Strikeout;
121 
122 
127  float Orientation;
128 
129 
133  boolean Kerning;
134 
135 
145  boolean WordLineMode;
146 
147 
154  short Type;
155 
156 };
157 
158 
159 }; }; }; };
160 
161 #endif
162 
163 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
short Type
specifies the technology of the font representation.
Definition: FontDescriptor.idl:154
float Orientation
specifies the rotation of the font.
Definition: FontDescriptor.idl:127
short Underline
specifies the kind of underlining.
Definition: FontDescriptor.idl:112
short Strikeout
specifies the kind of strikeout.
Definition: FontDescriptor.idl:120
Definition: Ambiguous.idl:22
boolean WordLineMode
specifies if only words get underlined.
Definition: FontDescriptor.idl:145
float Weight
specifies the thickness of the line.
Definition: FontDescriptor.idl:99
string StyleName
specifies the style name of the font.
Definition: FontDescriptor.idl:55
string Name
specifies the exact name of the font.
Definition: FontDescriptor.idl:38
com::sun::star::awt::FontSlant Slant
specifies the slant of the font.
Definition: FontDescriptor.idl:104
short Height
specifies the height of the font in the measure of the destination.
Definition: FontDescriptor.idl:44
short CharSet
specifies the character set which is supported by the font.
Definition: FontDescriptor.idl:71
describes the characteristics of a font.
Definition: FontDescriptor.idl:33
float CharacterWidth
specifies the character width.
Definition: FontDescriptor.idl:89
boolean Kerning
For requesting, it specifies if there is a kerning table available.
Definition: FontDescriptor.idl:133
FontSlant
used to specify the slant of a font.
Definition: FontSlant.idl:29
short Family
specifies the general style of the font.
Definition: FontDescriptor.idl:63
short Width
specifies the width of the font in the measure of the destination.
Definition: FontDescriptor.idl:50
short Pitch
specifies the pitch of the font.
Definition: FontDescriptor.idl:79