LibreOffice
LibreOffice 6.4 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: */
com::sun::star::awt::FontDescriptor::Height
short Height
specifies the height of the font in the measure of the destination.
Definition: FontDescriptor.idl:44
com::sun::star::awt::FontDescriptor::Pitch
short Pitch
specifies the pitch of the font.
Definition: FontDescriptor.idl:79
com::sun::star::awt::FontDescriptor::Strikeout
short Strikeout
specifies the kind of strikeout.
Definition: FontDescriptor.idl:120
com::sun::star::awt::FontDescriptor::CharSet
short CharSet
specifies the character set which is supported by the font.
Definition: FontDescriptor.idl:71
com::sun::star::awt::FontDescriptor::CharacterWidth
float CharacterWidth
specifies the character width.
Definition: FontDescriptor.idl:89
com::sun::star::awt::FontDescriptor::Underline
short Underline
specifies the kind of underlining.
Definition: FontDescriptor.idl:112
com::sun::star::awt::FontDescriptor::Slant
com::sun::star::awt::FontSlant Slant
specifies the slant of the font.
Definition: FontDescriptor.idl:104
com::sun::star::awt::FontDescriptor::Family
short Family
specifies the general style of the font.
Definition: FontDescriptor.idl:63
com::sun::star::awt::FontDescriptor::Kerning
boolean Kerning
For requesting, it specifies if there is a kerning table available.
Definition: FontDescriptor.idl:133
com::sun::star::awt::FontDescriptor::Name
string Name
specifies the exact name of the font.
Definition: FontDescriptor.idl:38
com::sun::star::awt::FontDescriptor::WordLineMode
boolean WordLineMode
specifies if only words get underlined.
Definition: FontDescriptor.idl:145
com::sun::star::awt::FontDescriptor
describes the characteristics of a font.
Definition: FontDescriptor.idl:34
com::sun::star::awt::FontDescriptor::Type
short Type
specifies the technology of the font representation.
Definition: FontDescriptor.idl:154
com::sun::star::awt::FontDescriptor::Weight
float Weight
specifies the thickness of the line.
Definition: FontDescriptor.idl:99
com::sun::star::awt::FontSlant
FontSlant
used to specify the slant of a font.
Definition: FontSlant.idl:30
com::sun::star::awt::FontDescriptor::Width
short Width
specifies the width of the font in the measure of the destination.
Definition: FontDescriptor.idl:50
com::sun::star::awt::FontDescriptor::StyleName
string StyleName
specifies the style name of the font.
Definition: FontDescriptor.idl:55
com
Definition: Ambiguous.idl:22
com::sun::star::awt::FontDescriptor::Orientation
float Orientation
specifies the rotation of the font.
Definition: FontDescriptor.idl:127
FontSlant.idl