1 // -*- C++ -*- 2 /** 3 * \file paper.h 4 * This file is part of LyX, the document processor. 5 * Licence details can be found in the file COPYING. 6 * 7 * \author Jean-Marc Lasgouttes 8 * \author Uwe Stöhr 9 * 10 * Full author contact details are available in file CREDITS. 11 * 12 * A trivial header file to hold paper-related enums. It should later 13 * expand to contain many paper-related horrors access. 14 * 15 * The supported paper sizes are those that are supported by the 16 * LaTeX-package geometry. 17 */ 18 19 #ifndef PAPER_H 20 #define PAPER_H 21 22 namespace lyx { 23 24 /// 25 enum PAPER_SIZE { 26 /// 27 PAPER_DEFAULT, 28 /// 29 PAPER_CUSTOM, 30 /// 31 PAPER_USLETTER, 32 /// 33 PAPER_USLEGAL, 34 /// 35 PAPER_USEXECUTIVE, 36 /// 37 PAPER_A0, 38 /// 39 PAPER_A1, 40 /// 41 PAPER_A2, 42 /// 43 PAPER_A3, 44 /// 45 PAPER_A4, 46 /// 47 PAPER_A5, 48 /// 49 PAPER_A6, 50 /// 51 PAPER_B0, 52 /// 53 PAPER_B1, 54 /// 55 PAPER_B2, 56 /// 57 PAPER_B3, 58 /// 59 PAPER_B4, 60 /// 61 PAPER_B5, 62 /// 63 PAPER_B6, 64 /// 65 PAPER_C0, 66 /// 67 PAPER_C1, 68 /// 69 PAPER_C2, 70 /// 71 PAPER_C3, 72 /// 73 PAPER_C4, 74 /// 75 PAPER_C5, 76 /// 77 PAPER_C6, 78 /// 79 PAPER_JISB0, 80 /// 81 PAPER_JISB1, 82 /// 83 PAPER_JISB2, 84 /// 85 PAPER_JISB3, 86 /// 87 PAPER_JISB4, 88 /// 89 PAPER_JISB5, 90 /// 91 PAPER_JISB6 92 }; 93 94 /// 95 enum PAPER_ORIENTATION { 96 /// 97 ORIENTATION_PORTRAIT, 98 /// 99 ORIENTATION_LANDSCAPE 100 }; 101 102 } // namespace lyx 103 104 105 #endif 106