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