fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / tools / fontenum.hxx
blob7a53e931cc1cf82c0eb95433dc9b49a00608f684
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 _TOOLS_FONTENUM_HXX
20 #define _TOOLS_FONTENUM_HXX
22 #include <sal/types.h>
23 #include <tools/solar.h>
25 #ifndef ENUM_FONTFAMILY_DECLARED
26 #define ENUM_FONTFAMILY_DECLARED
27 enum FontFamily { FAMILY_DONTKNOW, FAMILY_DECORATIVE, FAMILY_MODERN,
28 FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, FAMILY_SYSTEM, FontFamily_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
29 #endif
31 #ifndef ENUM_FONTPITCH_DECLARED
32 #define ENUM_FONTPITCH_DECLARED
33 enum FontPitch { PITCH_DONTKNOW, PITCH_FIXED, PITCH_VARIABLE, FontPitch_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
34 #endif
36 #ifndef ENUM_TEXTALIGN_DECLARED
37 #define ENUM_TEXTALIGN_DECLARED
38 enum TextAlign { ALIGN_TOP, ALIGN_BASELINE, ALIGN_BOTTOM, TextAlign_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
39 #endif
41 #ifndef ENUM_FONTWEIGHT_DECLARED
42 #define ENUM_FONTWEIGHT_DECLARED
43 enum FontWeight { WEIGHT_DONTKNOW, WEIGHT_THIN, WEIGHT_ULTRALIGHT,
44 WEIGHT_LIGHT, WEIGHT_SEMILIGHT, WEIGHT_NORMAL,
45 WEIGHT_MEDIUM, WEIGHT_SEMIBOLD, WEIGHT_BOLD,
46 WEIGHT_ULTRABOLD, WEIGHT_BLACK, FontWeight_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
47 #endif
49 #ifndef ENUM_FONTWIDTH_DECLARED
50 #define ENUM_FONTWIDTH_DECLARED
51 enum FontWidth { WIDTH_DONTKNOW, WIDTH_ULTRA_CONDENSED, WIDTH_EXTRA_CONDENSED,
52 WIDTH_CONDENSED, WIDTH_SEMI_CONDENSED, WIDTH_NORMAL,
53 WIDTH_SEMI_EXPANDED, WIDTH_EXPANDED, WIDTH_EXTRA_EXPANDED,
54 WIDTH_ULTRA_EXPANDED,
55 FontWidth_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
56 #endif
58 #ifndef ENUM_FONTITALIC_DECLARED
59 #define ENUM_FONTITALIC_DECLARED
60 enum FontItalic { ITALIC_NONE, ITALIC_OBLIQUE, ITALIC_NORMAL, ITALIC_DONTKNOW, FontItalic_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
61 #endif
63 #ifndef ENUM_FONTUNDERLINE_DECLARED
64 #define ENUM_FONTUNDERLINE_DECLARED
65 enum FontUnderline { UNDERLINE_NONE, UNDERLINE_SINGLE, UNDERLINE_DOUBLE,
66 UNDERLINE_DOTTED, UNDERLINE_DONTKNOW,
67 UNDERLINE_DASH, UNDERLINE_LONGDASH,
68 UNDERLINE_DASHDOT, UNDERLINE_DASHDOTDOT,
69 UNDERLINE_SMALLWAVE,
70 UNDERLINE_WAVE, UNDERLINE_DOUBLEWAVE,
71 UNDERLINE_BOLD, UNDERLINE_BOLDDOTTED,
72 UNDERLINE_BOLDDASH, UNDERLINE_BOLDLONGDASH,
73 UNDERLINE_BOLDDASHDOT, UNDERLINE_BOLDDASHDOTDOT,
74 UNDERLINE_BOLDWAVE,
75 FontUnderline_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
76 #endif
78 #ifndef ENUM_FONTSTRIKEOUT_DECLARED
79 #define ENUM_FONTSTRIKEOUT_DECLARED
80 enum FontStrikeout { STRIKEOUT_NONE, STRIKEOUT_SINGLE, STRIKEOUT_DOUBLE,
81 STRIKEOUT_DONTKNOW, STRIKEOUT_BOLD,
82 STRIKEOUT_SLASH, STRIKEOUT_X,
83 FontStrikeout_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
84 #endif
86 #ifndef ENUM_FONTEMPHASISMARK_DECLARED
87 #define ENUM_FONTEMPHASISMARK_DECLARED
89 typedef sal_uInt16 FontEmphasisMark;
90 #define EMPHASISMARK_NONE ((FontEmphasisMark)0x0000)
91 #define EMPHASISMARK_DOT ((FontEmphasisMark)0x0001)
92 #define EMPHASISMARK_CIRCLE ((FontEmphasisMark)0x0002)
93 #define EMPHASISMARK_DISC ((FontEmphasisMark)0x0003)
94 #define EMPHASISMARK_ACCENT ((FontEmphasisMark)0x0004)
95 #define EMPHASISMARK_STYLE ((FontEmphasisMark)0x00FF)
96 #define EMPHASISMARK_POS_ABOVE ((FontEmphasisMark)0x1000)
97 #define EMPHASISMARK_POS_BELOW ((FontEmphasisMark)0x2000)
99 // Only for compability
100 #define EMPHASISMARK_DOTS_ABOVE (EMPHASISMARK_DOT | EMPHASISMARK_POS_ABOVE)
101 #define EMPHASISMARK_DOTS_BELOW (EMPHASISMARK_DOT | EMPHASISMARK_POS_BELOW)
102 #define EMPHASISMARK_SIDE_DOTS (EMPHASISMARK_ACCENT | EMPHASISMARK_POS_ABOVE)
103 #define EMPHASISMARK_CIRCLE_ABOVE (EMPHASISMARK_CIRCLE | EMPHASISMARK_POS_ABOVE)
105 #endif
107 #ifndef ENUM_FONTTYPE_DECLARED
108 #define ENUM_FONTTYPE_DECLARED
109 enum FontType { TYPE_DONTKNOW, TYPE_RASTER, TYPE_VECTOR, TYPE_SCALABLE,
110 FontType_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
111 #endif
113 #ifndef ENUM_FONTEMBEDDEDBITMAP_DECLARED
114 #define ENUM_FONTEMBEDDEDBITMAP_DECLARED
115 enum FontEmbeddedBitmap { EMBEDDEDBITMAP_DONTKNOW, EMBEDDEDBITMAP_FALSE, EMBEDDEDBITMAP_TRUE };
116 #endif
118 #ifndef ENUM_FONTANTIALIAS_DECLARED
119 #define ENUM_FONTANTIALIAS_DECLARED
120 enum FontAntiAlias { ANTIALIAS_DONTKNOW, ANTIALIAS_FALSE, ANTIALIAS_TRUE };
121 #endif
123 #endif
125 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */