xref: /aoo41x/main/offapi/com/sun/star/awt/FontWidth.idl (revision d1766043)
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_FontWidth_idl__
24#define __com_sun_star_awt_FontWidth_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module awt {
30
31//=============================================================================
32
33/** These values are used to specify the width of the characters of a font.
34
35	<p>They may be expanded in future versions.</p>
36 */
37published constants FontWidth
38{
39	//-------------------------------------------------------------------------
40
41	/** The width of the font is not specified/known.
42	 */
43	const float DONTKNOW = 0.000000;
44
45	//-------------------------------------------------------------------------
46
47	/** The width of the font is condensed to 50%.
48	 */
49	const float ULTRACONDENSED = 50.000000;
50
51	//-------------------------------------------------------------------------
52
53	/** The width of the font is condensed to 60%.
54	 */
55	const float EXTRACONDENSED = 60.000000;
56
57	//-------------------------------------------------------------------------
58
59	/** The width of the font is condensed to 75%.
60	 */
61	const float CONDENSED = 75.000000;
62
63	//-------------------------------------------------------------------------
64
65	/** The width of the font is condensed to 90%.
66	 */
67	const float SEMICONDENSED = 90.000000;
68
69	//-------------------------------------------------------------------------
70
71	/** The width of the font is normal.
72	 */
73	const float NORMAL = 100.000000;
74
75	//-------------------------------------------------------------------------
76
77	/** The width of the font is expanded to 110%.
78	 */
79	const float SEMIEXPANDED = 110.000000;
80
81	//-------------------------------------------------------------------------
82
83	/** The width of the font is expanded to 150%.
84	 */
85	const float EXPANDED = 150.000000;
86
87	//-------------------------------------------------------------------------
88
89	/** The width of the font is expanded to 175%.
90	 */
91	const float EXTRAEXPANDED = 175.000000;
92
93	//-------------------------------------------------------------------------
94
95	/** The width of the font is expanded to 200%.
96	 */
97	const float ULTRAEXPANDED = 200.000000;
98
99};
100
101//=============================================================================
102
103}; }; }; };
104
105#endif
106