2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 Matthias Ettrich
9 *======================================================*/
10 #ifndef _DEFINITIONS_H
11 #define _DEFINITIONS_H
14 // We are trying to get rid of the global enums below, so try to _not_
15 // add any more of them. Preferably enums should be located inside classes.
16 // (i.e. class FooBar {
22 // to be accesed as FooBar::more and FooBar::thing
24 // ALL the enums below should be given names, this to get better typechecking.
25 // some don't have names now because this cause warings when compiling.
29 enum { // no good name for this
31 LYX_ENVIRONMENT_DEFAULT
= 97,
33 LYX_LAYOUT_DEFAULT
= 99
35 // Could this cause confusion that both DUMMY_LAYOUT and LAYOUT_DEFAULT has
36 // the same value? (Lgb)
38 #define LYX_DUMMY_LAYOUT 99
43 LYX_META_FOOTNOTE
= 1,
61 LYX_META_PROTECTED_SEPARATOR
,
75 enum OLD_LYX_PAPER_SIZE
{
83 OLD_PAPER_WIDEMARGINSA4
,
91 OLD_PAPER_EXECUTIVEPAPER
,
105 PAPER_EXECUTIVEPAPER
,
117 enum LYX_VMARGIN_PAPER_TYPE
{
127 VM_PAPER_USEXECUTIVE
,
143 enum LYX_PAPER_PACKAGES
{
151 PACKAGE_WIDEMARGINSA4
155 enum LYX_PAPER_ORIENTATION
{
157 ORIENTATION_PORTRAIT
,
159 ORIENTATION_LANDSCAPE
163 enum LYX_PEXTRA_TYPE
{
175 enum LYX_MINIPAGE_ALIGNMENT
{
179 MINIPAGE_ALIGN_MIDDLE
,
181 MINIPAGE_ALIGN_BOTTOM