X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fpaper.h;h=fefad9520ee09f6cfb6e7ec011cf0085a8a6c5b7;hb=90f7007a2e6c78ffd031e4636ff909ab1bc2ddec;hp=85b35e3195c24844074dcf58c1d36b9ed25ef4ba;hpb=a56bd0b8b11cd02570d5780b24d255b2c9f34f4c;p=lyx.git diff --git a/src/paper.h b/src/paper.h index 85b35e3195..fefad9520e 100644 --- a/src/paper.h +++ b/src/paper.h @@ -5,27 +5,21 @@ * 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 -/// -enum PAPER_PACKAGES { - /// - PACKAGE_NONE, - /// - PACKAGE_A4, - /// - PACKAGE_A4WIDE, - /// - PACKAGE_WIDEMARGINSA4 -}; +namespace lyx { /// enum PAPER_SIZE { @@ -40,17 +34,61 @@ enum PAPER_SIZE { /// PAPER_USEXECUTIVE, /// + PAPER_A0, + /// + PAPER_A1, + /// + PAPER_A2, + /// PAPER_A3, /// PAPER_A4, /// PAPER_A5, /// + PAPER_A6, + /// + PAPER_B0, + /// + PAPER_B1, + /// + PAPER_B2, + /// PAPER_B3, /// PAPER_B4, /// - PAPER_B5 + PAPER_B5, + /// + PAPER_B6, + /// + PAPER_C0, + /// + PAPER_C1, + /// + PAPER_C2, + /// + PAPER_C3, + /// + PAPER_C4, + /// + PAPER_C5, + /// + PAPER_C6, + /// + PAPER_JISB0, + /// + PAPER_JISB1, + /// + PAPER_JISB2, + /// + PAPER_JISB3, + /// + PAPER_JISB4, + /// + PAPER_JISB5, + /// + PAPER_JISB6 }; /// @@ -60,4 +98,8 @@ enum PAPER_ORIENTATION { /// ORIENTATION_LANDSCAPE }; + +} // namespace lyx + + #endif