]> git.lyx.org Git - lyx.git/blobdiff - src/layout.h
fix compilation bug
[lyx.git] / src / layout.h
index 54ee90713112bdbc4b16e0b69a4bfbc9a4b3083d..637a059a6164e2ecedc10a918544b9f32f9bfbcc 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
 #ifndef LAYOUT_H
 #define LAYOUT_H
 
-enum layout_default {
-       ///
-       LYX_LAYOUT_DEFAULT = 99
-};
-
-
 /// The different output types
 enum OutputType {
        ///
@@ -86,6 +80,15 @@ enum LYX_LATEX_TYPES {
 };
 
 
+/// The different title types
+enum LYX_TITLE_LATEX_TYPES {
+       ///
+       TITLE_COMMAND_AFTER = 1,
+       ///
+       TITLE_ENVIRONMENT
+};
+
+
 /// The different label types
 enum LYX_LABEL_TYPES {
        ///
@@ -142,25 +145,25 @@ enum LYX_END_LABEL_TYPES {
        ///
        END_LABEL_ENUM_LAST = END_LABEL_STATIC
 };
-               
-/* Fix labels are printed flushright, manual labels flushleft. 
+
+/* Fix labels are printed flushright, manual labels flushleft.
  * MARGIN_MANUAL and MARGIN_FIRST_DYNAMIC are *only* for LABEL_MANUAL,
- * MARGIN_DYNAMIC and MARGIN_STATIC are *not* for LABEL_MANUAL. 
+ * MARGIN_DYNAMIC and MARGIN_STATIC are *not* for LABEL_MANUAL.
  * This seems a funny restriction, but I think other combinations are
- * not needed, so I will not change it yet. 
+ * not needed, so I will not change it yet.
  * Correction: MARGIN_FIRST_DYNAMIC also usable with LABEL_STATIC
  */
 
 
-/* There is a parindent and a parskip. Which one is used depends on the 
- * paragraph_separation-flag of the text-object. 
+/* There is a parindent and a parskip. Which one is used depends on the
+ * paragraph_separation-flag of the text-object.
  * BUT: parindent is only thrown away, if a parskip is defined! So if you
- * want a space between the paragraphs and a parindent at the same time, 
+ * want a space between the paragraphs and a parindent at the same time,
  * you should set parskip to zero and use topsep, parsep and bottomsep.
- * 
- * The standard layout is an exception: its parindent is only set, if the 
+ *
+ * The standard layout is an exception: its parindent is only set, if the
  * previous paragraph is standard too. Well, this is LateX and it is good!
- */ 
+ */
 
 
 #endif