* qt_helpers.cpp:
[lyx.git] / src / FontEnums.h
blob717cc399d5feff2752aa72564bd48d3dded56b82
1 // -*- C++ -*-
2 /**
3 * \file src/FontEnums.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
8 * \author Jean-Marc Lasgouttes
9 * \author Angus Leeming
10 * \author Dekel Tsur
12 * Full author contact details are available in file CREDITS.
15 #ifndef FONT_ENUMS_H
16 #define FONT_ENUMS_H
18 namespace lyx {
20 /** The value INHERIT_* means that the font attribute is
21 inherited from the layout. In the case of layout fonts, the
22 attribute is inherited from the default font.
23 The value IGNORE_* is used with Font::update() when the
24 attribute should not be changed.
26 enum FontFamily {
27 ///
28 ROMAN_FAMILY = 0,
29 ///
30 SANS_FAMILY,
31 ///
32 TYPEWRITER_FAMILY,
33 ///
34 SYMBOL_FAMILY,
35 ///
36 CMR_FAMILY,
37 ///
38 CMSY_FAMILY,
39 ///
40 CMM_FAMILY,
41 ///
42 CMEX_FAMILY,
43 ///
44 MSA_FAMILY,
45 ///
46 MSB_FAMILY,
47 ///
48 EUFRAK_FAMILY,
49 ///
50 WASY_FAMILY,
51 ///
52 ESINT_FAMILY,
53 ///
54 INHERIT_FAMILY,
55 ///
56 IGNORE_FAMILY,
57 ///
58 NUM_FAMILIES = INHERIT_FAMILY
61 ///
62 enum FontSeries {
63 ///
64 MEDIUM_SERIES = 0,
65 ///
66 BOLD_SERIES,
67 ///
68 INHERIT_SERIES,
69 ///
70 IGNORE_SERIES
73 ///
74 enum FontShape {
75 ///
76 UP_SHAPE = 0,
77 ///
78 ITALIC_SHAPE,
79 ///
80 SLANTED_SHAPE,
81 ///
82 SMALLCAPS_SHAPE,
83 ///
84 INHERIT_SHAPE,
85 ///
86 IGNORE_SHAPE
89 ///
90 enum FontSize {
91 ///
92 FONT_SIZE_TINY = 0,
93 ///
94 FONT_SIZE_SCRIPT,
95 ///
96 FONT_SIZE_FOOTNOTE,
97 ///
98 FONT_SIZE_SMALL,
99 ///
100 FONT_SIZE_NORMAL,
102 FONT_SIZE_LARGE,
104 FONT_SIZE_LARGER,
106 FONT_SIZE_LARGEST,
108 FONT_SIZE_HUGE,
110 FONT_SIZE_HUGER,
112 FONT_SIZE_INCREASE,
114 FONT_SIZE_DECREASE,
116 FONT_SIZE_INHERIT,
118 FONT_SIZE_IGNORE
121 /// Used for emph, underbar, noun and latex toggles
122 enum FontState {
124 FONT_OFF,
126 FONT_ON,
128 FONT_TOGGLE,
130 FONT_INHERIT,
132 FONT_IGNORE
135 } // namespace lyx
136 #endif