X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fpaper.h;h=fefad9520ee09f6cfb6e7ec011cf0085a8a6c5b7;hb=0385ef0e192a779aed13aab0fd4a9bd4a03f37e0;hp=bed07f9bbdd7ec44a8bf55d2179864ee33439f33;hpb=9bd413bfd7382d49c07b18106fb0ef0a3a1194b4;p=lyx.git diff --git a/src/paper.h b/src/paper.h index bed07f9bbd..fefad9520e 100644 --- a/src/paper.h +++ b/src/paper.h @@ -5,16 +5,22 @@ * 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 { /// @@ -28,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 }; /// @@ -48,4 +98,8 @@ enum PAPER_ORIENTATION { /// ORIENTATION_LANDSCAPE }; + +} // namespace lyx + + #endif