1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_CUI_SOURCE_TABPAGES_PAGE_H
20 #define INCLUDED_CUI_SOURCE_TABPAGES_PAGE_H
22 // define ----------------------------------------------------------------
24 //!! the values of the following defines must correspond to the array position
25 //!! of the respective paper size in the file i18nutil/source/utility/paper.cxx
26 //!! There are enums for them in i18nutil/inc/i18nutil/paper.hxx but unfortunately
27 //!! the resource compiler does not understand enums, thus the enum values need
28 //!! to be duplicated here for use in the src file.
29 #define PAPERSIZE_A0 0
30 #define PAPERSIZE_A1 1
31 #define PAPERSIZE_A2 2
32 #define PAPERSIZE_A3 3
33 #define PAPERSIZE_A4 4
34 #define PAPERSIZE_A5 5
35 #define PAPERSIZE_B4_ISO 6
36 #define PAPERSIZE_B5_ISO 7
37 #define PAPERSIZE_LETTER 8
38 #define PAPERSIZE_LEGAL 9
39 #define PAPERSIZE_TABLOID 10
40 #define PAPERSIZE_USER 11
41 #define PAPERSIZE_B6_ISO 12
42 #define PAPERSIZE_C4 13
43 #define PAPERSIZE_C5 14
44 #define PAPERSIZE_C6 15
45 #define PAPERSIZE_C65 16
46 #define PAPERSIZE_DL 17
47 #define PAPERSIZE_DIA 18
48 #define PAPERSIZE_SCREEN_4_3 19
49 #define PAPERSIZE_C 20
50 #define PAPERSIZE_D 21
51 #define PAPERSIZE_E 22
52 #define PAPERSIZE_EXECUTIVE 23
53 #define PAPERSIZE_LEGAL2 24
54 #define PAPERSIZE_MONARCH 25
55 #define PAPERSIZE_COM675 26
56 #define PAPERSIZE_COM9 27
57 #define PAPERSIZE_COM10 28
58 #define PAPERSIZE_COM11 29
59 #define PAPERSIZE_COM12 30
60 #define PAPERSIZE_KAI16 31
61 #define PAPERSIZE_KAI32 32
62 #define PAPERSIZE_KAI32BIG 33
63 #define PAPERSIZE_B4_JIS 34
64 #define PAPERSIZE_B5_JIS 35
65 #define PAPERSIZE_B6_JIS 36
66 #define PAPERSIZE_POSTCARD_JP 46
67 #define PAPERSIZE_A6 56
68 #define PAPERSIZE_SCREEN_16_9 78
69 #define PAPERSIZE_SCREEN_16_10 79
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */