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