xref: /AOO41X/main/cui/source/tabpages/page.h (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb) !
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 #ifndef _SVX_PAGE_H
28 #define _SVX_PAGE_H
29 
30 // define ----------------------------------------------------------------
31 
32 //!! the values of the following defines must correspond to the array position
33 //!! of the respective paper size in the file i18npool/source/paper/paper.cxx
34 //!! There are enums for them in i18npool/inc/i18npool/paper.hxx but unfortunately
35 //!! the resource compiler does not understand enums, thus the enum values need
36 //!! to be duplicated here for use in the src file.
37 #define PAPERSIZE_A0			0
38 #define PAPERSIZE_A1			1
39 #define PAPERSIZE_A2			2
40 #define PAPERSIZE_A3			3
41 #define PAPERSIZE_A4			4
42 #define PAPERSIZE_A5			5
43 #define PAPERSIZE_B4_ISO		6
44 #define PAPERSIZE_B5_ISO		7
45 #define PAPERSIZE_LETTER		8
46 #define PAPERSIZE_LEGAL 		9
47 #define PAPERSIZE_TABLOID   	10
48 #define PAPERSIZE_USER  		11
49 #define PAPERSIZE_B6_ISO		12
50 #define PAPERSIZE_C4			13
51 #define PAPERSIZE_C5			14
52 #define PAPERSIZE_C6			15
53 #define PAPERSIZE_C65   		16
54 #define PAPERSIZE_DL			17
55 #define PAPERSIZE_DIA   		18
56 #define PAPERSIZE_SCREEN		19
57 #define PAPERSIZE_C 			20
58 #define PAPERSIZE_D 			21
59 #define PAPERSIZE_E 			22
60 #define PAPERSIZE_EXECUTIVE 	23
61 #define PAPERSIZE_LEGAL2		24
62 #define PAPERSIZE_MONARCH   	25
63 #define PAPERSIZE_COM675  		26
64 #define PAPERSIZE_COM9  		27
65 #define PAPERSIZE_COM10 		28
66 #define PAPERSIZE_COM11 		29
67 #define PAPERSIZE_COM12 		30
68 #define PAPERSIZE_KAI16 		31
69 #define PAPERSIZE_KAI32 		32
70 #define PAPERSIZE_KAI32BIG 		33
71 #define PAPERSIZE_B4_JIS		34
72 #define PAPERSIZE_B5_JIS		35
73 #define PAPERSIZE_B6_JIS		36
74 #define PAPERSIZE_A6            56
75 
76 #endif
77 
78