xref: /trunk/main/cui/source/tabpages/page.h (revision 635e0213)
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 
24 #ifndef _SVX_PAGE_H
25 #define _SVX_PAGE_H
26 
27 // define ----------------------------------------------------------------
28 
29 //!! The values of the following defines must correspond to the array position
30 //!! of the respective paper size in the file i18npool/source/paper/paper.cxx
31 //!! There are enums for them in i18npool/inc/i18npool/paper.hxx but unfortunately
32 //!! the resource compiler does not understand enums, thus the enum values need
33 //!! to be duplicated here for use in the src file.
34 
35 #define PAPERSIZE_A0				0
36 #define PAPERSIZE_A1				1
37 #define PAPERSIZE_A2				2
38 #define PAPERSIZE_A3				3
39 #define PAPERSIZE_A4				4
40 #define PAPERSIZE_A5				5
41 #define PAPERSIZE_B4_ISO			6
42 #define PAPERSIZE_B5_ISO			7
43 #define PAPERSIZE_LETTER			8
44 #define PAPERSIZE_LEGAL				9
45 #define PAPERSIZE_TABLOID			10
46 #define PAPERSIZE_USER				11
47 #define PAPERSIZE_B6_ISO			12
48 #define PAPERSIZE_C4				13
49 #define PAPERSIZE_C5				14
50 #define PAPERSIZE_C6				15
51 #define PAPERSIZE_C65				16
52 #define PAPERSIZE_DL				17
53 #define PAPERSIZE_DIA				18
54 #define PAPERSIZE_SCREEN_4_BY_3		19
55 #define PAPERSIZE_C					20
56 #define PAPERSIZE_D					21
57 #define PAPERSIZE_E					22
58 #define PAPERSIZE_EXECUTIVE			23
59 #define PAPERSIZE_LEGAL2			24
60 #define PAPERSIZE_MONARCH			25
61 #define PAPERSIZE_COM675			26
62 #define PAPERSIZE_COM9				27
63 #define PAPERSIZE_COM10				28
64 #define PAPERSIZE_COM11				29
65 #define PAPERSIZE_COM12				30
66 #define PAPERSIZE_KAI16				31
67 #define PAPERSIZE_KAI32				32
68 #define PAPERSIZE_KAI32BIG			33
69 #define PAPERSIZE_B4_JIS			34
70 #define PAPERSIZE_B5_JIS			35
71 #define PAPERSIZE_B6_JIS			36
72 #define PAPERSIZE_A6				56
73 #define PAPERSIZE_SCREEN_16_BY_9	78
74 #define PAPERSIZE_SCREEN_16_BY_10	79
75 
76 #endif
77