2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
10 * ====================================================== */
15 /// The different output types
28 /// The different margin types
29 enum LYX_MARGIN_TYPE {
39 MARGIN_RIGHT_ADDRESS_BOX
56 LYX_ALIGN_LAYOUT = 16,
58 LYX_ALIGN_SPECIAL = 32
63 void operator|=(LyXAlignment & la1, LyXAlignment la2) {
64 la1 = static_cast<LyXAlignment>(la1 | la2);
68 /// The different LaTeX-Types
69 enum LYX_LATEX_TYPES {
77 LATEX_ITEM_ENVIRONMENT,
79 LATEX_LIST_ENVIRONMENT
83 /// The different title types
84 enum LYX_TITLE_LATEX_TYPES {
86 TITLE_COMMAND_AFTER = 1,
92 /// The different label types
93 enum LYX_LABEL_TYPES {
101 LABEL_TOP_ENVIRONMENT,
103 LABEL_CENTERED_TOP_ENVIRONMENT,
105 // the flushright labels following now must start with LABEL_STATIC
111 LABEL_COUNTER_CHAPTER,
113 LABEL_COUNTER_SECTION,
115 LABEL_COUNTER_SUBSECTION,
117 LABEL_COUNTER_SUBSUBSECTION,
119 LABEL_COUNTER_PARAGRAPH,
121 LABEL_COUNTER_SUBPARAGRAPH,
125 LABEL_COUNTER_ENUMII,
127 LABEL_COUNTER_ENUMIII,
134 enum LYX_END_LABEL_TYPES {
140 END_LABEL_FILLED_BOX,
144 END_LABEL_ENUM_FIRST = END_LABEL_NO_LABEL,
146 END_LABEL_ENUM_LAST = END_LABEL_STATIC
149 /* Fix labels are printed flushright, manual labels flushleft.
150 * MARGIN_MANUAL and MARGIN_FIRST_DYNAMIC are *only* for LABEL_MANUAL,
151 * MARGIN_DYNAMIC and MARGIN_STATIC are *not* for LABEL_MANUAL.
152 * This seems a funny restriction, but I think other combinations are
153 * not needed, so I will not change it yet.
154 * Correction: MARGIN_FIRST_DYNAMIC also usable with LABEL_STATIC
158 /* There is a parindent and a parskip. Which one is used depends on the
159 * paragraph_separation-flag of the text-object.
160 * BUT: parindent is only thrown away, if a parskip is defined! So if you
161 * want a space between the paragraphs and a parindent at the same time,
162 * you should set parskip to zero and use topsep, parsep and bottomsep.
164 * The standard layout is an exception: its parindent is only set, if the
165 * previous paragraph is standard too. Well, this is LateX and it is good!