]> git.lyx.org Git - lyx.git/blobdiff - src/paper.h
Group most verbose dbg output into more intuitive categories.
[lyx.git] / src / paper.h
index 03a771d160300c1be65893fe83d06f4305b37c72..48169d6959a54ffb586860516da64e3581098005 100644 (file)
@@ -5,72 +5,90 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Jean-Marc Lasgouttes
+ * \author Uwe Stöhr
  *
  * 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.
+ *
+ * The supported paper sizes are those that are supported by the
+ * LaTeX-package geometry.
  */
 
 #ifndef PAPER_H
 #define PAPER_H
 
+namespace lyx {
+
 ///
 enum PAPER_SIZE {
        ///
        PAPER_DEFAULT,
        ///
+       PAPER_CUSTOM,
+       ///
        PAPER_USLETTER,
        ///
-       PAPER_LEGALPAPER,
+       PAPER_USLEGAL,
        ///
-       PAPER_EXECUTIVEPAPER,
+       PAPER_USEXECUTIVE,
        ///
-       PAPER_A3PAPER,
+       PAPER_A0,
        ///
-       PAPER_A4PAPER,
+       PAPER_A1,
        ///
-       PAPER_A5PAPER,
+       PAPER_A2,
        ///
-       PAPER_B5PAPER
-};
-
-///
-enum PAPER_PACKAGES {
+       PAPER_A3,
        ///
-       PACKAGE_NONE,
+       PAPER_A4,
        ///
-       PACKAGE_A4,
+       PAPER_A5,
        ///
-       PACKAGE_A4WIDE,
+       PAPER_A6,
        ///
-       PACKAGE_WIDEMARGINSA4
-};
-
-///
-enum VMARGIN_PAPER_TYPE {
+       PAPER_B0,
+       ///
+       PAPER_B1,
+       ///
+       PAPER_B2,
        ///
-       VM_PAPER_DEFAULT,
+       PAPER_B3,
        ///
-       VM_PAPER_CUSTOM,
+       PAPER_B4,
        ///
-       VM_PAPER_USLETTER,
+       PAPER_B5,
        ///
-       VM_PAPER_USLEGAL,
+       PAPER_B6,
        ///
-       VM_PAPER_USEXECUTIVE,
+       PAPER_C0,
        ///
-       VM_PAPER_A3,
+       PAPER_C1,
        ///
-       VM_PAPER_A4,
+       PAPER_C2,
        ///
-       VM_PAPER_A5,
+       PAPER_C3,
        ///
-       VM_PAPER_B3,
+       PAPER_C4,
        ///
-       VM_PAPER_B4,
+       PAPER_C5,
        ///
-       VM_PAPER_B5
+       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