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