xref: /aoo4110/main/cui/source/tabpages/page.h (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _SVX_PAGE_H
24 #define _SVX_PAGE_H
25 
26 // define ----------------------------------------------------------------
27 
28 //!! the values of the following defines must correspond to the array position
29 //!! of the respective paper size in the file i18npool/source/paper/paper.cxx
30 //!! There are enums for them in i18npool/inc/i18npool/paper.hxx but unfortunately
31 //!! the resource compiler does not understand enums, thus the enum values need
32 //!! to be duplicated here for use in the src file.
33 #define PAPERSIZE_A0			0
34 #define PAPERSIZE_A1			1
35 #define PAPERSIZE_A2			2
36 #define PAPERSIZE_A3			3
37 #define PAPERSIZE_A4			4
38 #define PAPERSIZE_A5			5
39 #define PAPERSIZE_B4_ISO		6
40 #define PAPERSIZE_B5_ISO		7
41 #define PAPERSIZE_LETTER		8
42 #define PAPERSIZE_LEGAL 		9
43 #define PAPERSIZE_TABLOID   	10
44 #define PAPERSIZE_USER  		11
45 #define PAPERSIZE_B6_ISO		12
46 #define PAPERSIZE_C4			13
47 #define PAPERSIZE_C5			14
48 #define PAPERSIZE_C6			15
49 #define PAPERSIZE_C65   		16
50 #define PAPERSIZE_DL			17
51 #define PAPERSIZE_DIA   		18
52 #define PAPERSIZE_SCREEN		19
53 #define PAPERSIZE_C 			20
54 #define PAPERSIZE_D 			21
55 #define PAPERSIZE_E 			22
56 #define PAPERSIZE_EXECUTIVE 	23
57 #define PAPERSIZE_LEGAL2		24
58 #define PAPERSIZE_MONARCH   	25
59 #define PAPERSIZE_COM675  		26
60 #define PAPERSIZE_COM9  		27
61 #define PAPERSIZE_COM10 		28
62 #define PAPERSIZE_COM11 		29
63 #define PAPERSIZE_COM12 		30
64 #define PAPERSIZE_KAI16 		31
65 #define PAPERSIZE_KAI32 		32
66 #define PAPERSIZE_KAI32BIG 		33
67 #define PAPERSIZE_B4_JIS		34
68 #define PAPERSIZE_B5_JIS		35
69 #define PAPERSIZE_B6_JIS		36
70 #define PAPERSIZE_A6            56
71 
72 #endif
73 
74