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
10 * Full author contact details are available in file CREDITS.
16 /// The different output types
29 /// The different margin types
30 enum LYX_MARGIN_TYPE {
40 MARGIN_RIGHT_ADDRESS_BOX
57 LYX_ALIGN_LAYOUT = 16,
59 LYX_ALIGN_SPECIAL = 32
64 void operator|=(LyXAlignment & la1, LyXAlignment la2) {
65 la1 = static_cast<LyXAlignment>(la1 | la2);
69 /// The different LaTeX-Types
70 enum LYX_LATEX_TYPES {
78 LATEX_ITEM_ENVIRONMENT,
80 LATEX_BIB_ENVIRONMENT,
82 LATEX_LIST_ENVIRONMENT
86 /// The different title types
87 enum LYX_TITLE_LATEX_TYPES {
89 TITLE_COMMAND_AFTER = 1,
95 /// The different label types
96 enum LYX_LABEL_TYPES {
104 LABEL_TOP_ENVIRONMENT,
106 LABEL_CENTERED_TOP_ENVIRONMENT,
108 // the flushright labels following now must start with LABEL_STATIC
114 LABEL_COUNTER_CHAPTER,
116 LABEL_COUNTER_SECTION,
118 LABEL_COUNTER_SUBSECTION,
120 LABEL_COUNTER_SUBSUBSECTION,
122 LABEL_COUNTER_PARAGRAPH,
124 LABEL_COUNTER_SUBPARAGRAPH,
128 LABEL_COUNTER_ENUMII,
130 LABEL_COUNTER_ENUMIII,
137 enum LYX_END_LABEL_TYPES {
143 END_LABEL_FILLED_BOX,
147 END_LABEL_ENUM_FIRST = END_LABEL_NO_LABEL,
149 END_LABEL_ENUM_LAST = END_LABEL_STATIC
152 /* Fix labels are printed flushright, manual labels flushleft.
153 * MARGIN_MANUAL and MARGIN_FIRST_DYNAMIC are *only* for LABEL_MANUAL,
154 * MARGIN_DYNAMIC and MARGIN_STATIC are *not* for LABEL_MANUAL.
155 * This seems a funny restriction, but I think other combinations are
156 * not needed, so I will not change it yet.
157 * Correction: MARGIN_FIRST_DYNAMIC also usable with LABEL_STATIC
161 /* There is a parindent and a parskip. Which one is used depends on the
162 * paragraph_separation-flag of the text-object.
163 * BUT: parindent is only thrown away, if a parskip is defined! So if you
164 * want a space between the paragraphs and a parindent at the same time,
165 * you should set parskip to zero and use topsep, parsep and bottomsep.
167 * The standard layout is an exception: its parindent is only set, if the
168 * previous paragraph is standard too. Well, this is LateX and it is good!