]> git.lyx.org Git - lyx.git/blobdiff - src/paper.h
Account for old versions of Pygments
[lyx.git] / src / paper.h
index 07c2f524da8089cee7cfa18ef8f5b84aade54a03..48169d6959a54ffb586860516da64e3581098005 100644 (file)
@@ -1,76 +1,94 @@
 // -*- C++ -*-
 /**
- *  \file paper.h
+ * \file paper.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- *  \author Jean-Marc Lasgouttes
+ * \author Jean-Marc Lasgouttes
+ * \author Uwe Stöhr
  *
- *  Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  *
- *  A trivial header file to hold paper-related enums. It should later
- *  expand to contain many paper-related horrors access.
+ * A trivial header file to hold paper-related enums. It should later
+ * expand to contain many paper-related horrors access.
+ *
+ * The supported paper sizes are those that are supported by the
+ * LaTeX-package geometry.
  */
 
 #ifndef PAPER_H
 #define PAPER_H
 
- ///
- enum PAPER_SIZE {
-        ///
-        PAPER_DEFAULT,
-        ///
-        PAPER_USLETTER,
-        ///
-        PAPER_LEGALPAPER,
-        ///
-        PAPER_EXECUTIVEPAPER,
-        ///
-        PAPER_A3PAPER,
-        ///
-        PAPER_A4PAPER,
-        ///
-        PAPER_A5PAPER,
-        ///
-        PAPER_B5PAPER
- };
+namespace lyx {
 
 ///
-enum PAPER_PACKAGES {
+enum PAPER_SIZE {
        ///
-       PACKAGE_NONE,
+       PAPER_DEFAULT,
        ///
-       PACKAGE_A4,
+       PAPER_CUSTOM,
        ///
-       PACKAGE_A4WIDE,
+       PAPER_USLETTER,
        ///
-       PACKAGE_WIDEMARGINSA4
-};
-
-///
-enum VMARGIN_PAPER_TYPE {
+       PAPER_USLEGAL,
+       ///
+       PAPER_USEXECUTIVE,
+       ///
+       PAPER_A0,
+       ///
+       PAPER_A1,
+       ///
+       PAPER_A2,
+       ///
+       PAPER_A3,
+       ///
+       PAPER_A4,
+       ///
+       PAPER_A5,
+       ///
+       PAPER_A6,
+       ///
+       PAPER_B0,
        ///
-       VM_PAPER_DEFAULT,
+       PAPER_B1,
        ///
-       VM_PAPER_CUSTOM,
+       PAPER_B2,
        ///
-       VM_PAPER_USLETTER,
+       PAPER_B3,
        ///
-       VM_PAPER_USLEGAL,
+       PAPER_B4,
        ///
-       VM_PAPER_USEXECUTIVE,
+       PAPER_B5,
        ///
-       VM_PAPER_A3,
+       PAPER_B6,
        ///
-       VM_PAPER_A4,
+       PAPER_C0,
        ///
-       VM_PAPER_A5,
+       PAPER_C1,
        ///
-       VM_PAPER_B3,
+       PAPER_C2,
        ///
-       VM_PAPER_B4,
+       PAPER_C3,
        ///
-       VM_PAPER_B5
+       PAPER_C4,
+       ///
+       PAPER_C5,
+       ///
+       PAPER_C6,
+       ///
+       PAPER_JISB0,
+       ///
+       PAPER_JISB1,
+       ///
+       PAPER_JISB2,
+       ///
+       PAPER_JISB3,
+       ///
+       PAPER_JISB4,
+       ///
+       PAPER_JISB5,
+       ///
+       PAPER_JISB6
 };
 
 ///
@@ -80,4 +98,8 @@ enum PAPER_ORIENTATION {
        ///
        ORIENTATION_LANDSCAPE
 };
+
+} // namespace lyx
+
+
 #endif