]> git.lyx.org Git - features.git/blob - src/paper.h
support for all page sizes that are supported by the geometry package; fileformat...
[features.git] / src / paper.h
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. However, the Japanese JIS B-series paper
17  * sizes are not yet supported by LyX.
18  */
19
20 #ifndef PAPER_H
21 #define PAPER_H
22
23 namespace lyx {
24
25 ///
26 enum PAPER_SIZE {
27         ///
28         PAPER_DEFAULT,
29         ///
30         PAPER_CUSTOM,
31         ///
32         PAPER_USLETTER,
33         ///
34         PAPER_USLEGAL,
35         ///
36         PAPER_USEXECUTIVE,
37         ///
38         PAPER_A0,
39         ///
40         PAPER_A1,
41         ///
42         PAPER_A2,
43         ///
44         PAPER_A3,
45         ///
46         PAPER_A4,
47         ///
48         PAPER_A5,
49         ///
50         PAPER_A6,
51         ///
52         PAPER_B0,
53         ///
54         PAPER_B1,
55         ///
56         PAPER_B2,
57         ///
58         PAPER_B3,
59         ///
60         PAPER_B4,
61         ///
62         PAPER_B5,
63         ///
64         PAPER_B6,
65         ///
66         PAPER_JISB0,
67         ///
68         PAPER_JISB1,
69         ///
70         PAPER_JISB2,
71         ///
72         PAPER_JISB3,
73         ///
74         PAPER_JISB4,
75         ///
76         PAPER_JISB5,
77         ///
78         PAPER_JISB6
79 };
80
81 ///
82 enum PAPER_ORIENTATION {
83         ///
84         ORIENTATION_PORTRAIT,
85         ///
86         ORIENTATION_LANDSCAPE
87 };
88
89 } // namespace lyx
90
91
92 #endif