1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir // #pragma ***************************************************************** 28*cdf0e10cSrcweir 29*cdf0e10cSrcweir // #include **************************************************************** 30*cdf0e10cSrcweir#include "envprt.hrc" 31*cdf0e10cSrcweir#include "helpid.h" 32*cdf0e10cSrcweir // TP_ENV_PRT --------------------------------------------------------------- 33*cdf0e10cSrcweirTabPage TP_ENV_PRT 34*cdf0e10cSrcweir{ 35*cdf0e10cSrcweir HelpID = HID_ENV_PRT ; 36*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 37*cdf0e10cSrcweir Hide = TRUE ; 38*cdf0e10cSrcweir FixedLine FL_NONAME 39*cdf0e10cSrcweir { 40*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 41*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 42*cdf0e10cSrcweir Text [ en-US ] = "Envelope orientation"; 43*cdf0e10cSrcweir }; 44*cdf0e10cSrcweir ToolBox BOX_ALIGN 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 47*cdf0e10cSrcweir ItemList = 48*cdf0e10cSrcweir { 49*cdf0e10cSrcweir ToolBoxItem 50*cdf0e10cSrcweir { 51*cdf0e10cSrcweir Identifier = ITM_HOR_LEFT ; 52*cdf0e10cSrcweir HelpID = HID_ITM_HOR_LEFT ; 53*cdf0e10cSrcweir }; 54*cdf0e10cSrcweir ToolBoxItem 55*cdf0e10cSrcweir { 56*cdf0e10cSrcweir Identifier = ITM_HOR_CNTR ; 57*cdf0e10cSrcweir HelpID = HID_ITM_HOR_CNTR ; 58*cdf0e10cSrcweir }; 59*cdf0e10cSrcweir ToolBoxItem 60*cdf0e10cSrcweir { 61*cdf0e10cSrcweir Identifier = ITM_HOR_RGHT ; 62*cdf0e10cSrcweir HelpID = HID_ITM_HOR_RGHT ; 63*cdf0e10cSrcweir }; 64*cdf0e10cSrcweir ToolBoxItem 65*cdf0e10cSrcweir { 66*cdf0e10cSrcweir Identifier = ITM_VER_LEFT ; 67*cdf0e10cSrcweir HelpID = HID_ITM_VER_LEFT ; 68*cdf0e10cSrcweir }; 69*cdf0e10cSrcweir ToolBoxItem 70*cdf0e10cSrcweir { 71*cdf0e10cSrcweir Identifier = ITM_VER_CNTR ; 72*cdf0e10cSrcweir HelpID = HID_ITM_VER_CNTR ; 73*cdf0e10cSrcweir }; 74*cdf0e10cSrcweir ToolBoxItem 75*cdf0e10cSrcweir { 76*cdf0e10cSrcweir Identifier = ITM_VER_RGHT ; 77*cdf0e10cSrcweir HelpID = HID_ITM_VER_RGHT ; 78*cdf0e10cSrcweir }; 79*cdf0e10cSrcweir }; 80*cdf0e10cSrcweir }; 81*cdf0e10cSrcweir RadioButton BTN_TOP 82*cdf0e10cSrcweir { 83*cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_TOP"; 84*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 42 ) ; 85*cdf0e10cSrcweir Size = MAP_APPFONT ( 179 , 10 ) ; 86*cdf0e10cSrcweir Text [ en-US ] = "~Print from top" ; 87*cdf0e10cSrcweir TabStop = TRUE ; 88*cdf0e10cSrcweir Group = TRUE ; 89*cdf0e10cSrcweir Check = TRUE ; 90*cdf0e10cSrcweir }; 91*cdf0e10cSrcweir RadioButton BTN_BOTTOM 92*cdf0e10cSrcweir { 93*cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_BOTTOM"; 94*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 56 ) ; 95*cdf0e10cSrcweir Size = MAP_APPFONT ( 179 , 10 ) ; 96*cdf0e10cSrcweir Text [ en-US ] = "Print from ~bottom" ; 97*cdf0e10cSrcweir TabStop = TRUE ; 98*cdf0e10cSrcweir }; 99*cdf0e10cSrcweir FixedText TXT_RIGHT 100*cdf0e10cSrcweir { 101*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 74 ) ; 102*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 8 ) ; 103*cdf0e10cSrcweir Text [ en-US ] = "~Shift right" ; 104*cdf0e10cSrcweir Left = TRUE ; 105*cdf0e10cSrcweir }; 106*cdf0e10cSrcweir MetricField FLD_RIGHT 107*cdf0e10cSrcweir { 108*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_PRT:FLD_RIGHT"; 109*cdf0e10cSrcweir Border = TRUE ; 110*cdf0e10cSrcweir Pos = MAP_APPFONT ( 86 , 72 ) ; 111*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 112*cdf0e10cSrcweir TabStop = TRUE ; 113*cdf0e10cSrcweir Left = TRUE ; 114*cdf0e10cSrcweir Repeat = TRUE ; 115*cdf0e10cSrcweir Spin = TRUE ; 116*cdf0e10cSrcweir Minimum = 0 ; 117*cdf0e10cSrcweir Maximum = 10000 ; 118*cdf0e10cSrcweir DecimalDigits = 2 ; 119*cdf0e10cSrcweir Unit = FUNIT_CM ; 120*cdf0e10cSrcweir First = 0 ; 121*cdf0e10cSrcweir Last = 10000 ; 122*cdf0e10cSrcweir SpinSize = 10 ; 123*cdf0e10cSrcweir }; 124*cdf0e10cSrcweir FixedText TXT_DOWN 125*cdf0e10cSrcweir { 126*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 90 ) ; 127*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 8 ) ; 128*cdf0e10cSrcweir Text [ en-US ] = "Shift ~down" ; 129*cdf0e10cSrcweir Left = TRUE ; 130*cdf0e10cSrcweir }; 131*cdf0e10cSrcweir MetricField FLD_DOWN 132*cdf0e10cSrcweir { 133*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_PRT:FLD_DOWN"; 134*cdf0e10cSrcweir Border = TRUE ; 135*cdf0e10cSrcweir Pos = MAP_APPFONT ( 86 , 88 ) ; 136*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 137*cdf0e10cSrcweir TabStop = TRUE ; 138*cdf0e10cSrcweir Left = TRUE ; 139*cdf0e10cSrcweir Repeat = TRUE ; 140*cdf0e10cSrcweir Spin = TRUE ; 141*cdf0e10cSrcweir Minimum = 0 ; 142*cdf0e10cSrcweir Maximum = 10000 ; 143*cdf0e10cSrcweir DecimalDigits = 2 ; 144*cdf0e10cSrcweir Unit = FUNIT_CM ; 145*cdf0e10cSrcweir First = 0 ; 146*cdf0e10cSrcweir Last = 10000 ; 147*cdf0e10cSrcweir SpinSize = 10 ; 148*cdf0e10cSrcweir }; 149*cdf0e10cSrcweir FixedLine FL_PRINTER 150*cdf0e10cSrcweir { 151*cdf0e10cSrcweir Pos = MAP_APPFONT ( 3 , 103 ) ; 152*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 153*cdf0e10cSrcweir Text [ en-US ] = "Current printer"; 154*cdf0e10cSrcweir }; 155*cdf0e10cSrcweir FixedText TXT_PRINTER 156*cdf0e10cSrcweir { 157*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 116 ) ; 158*cdf0e10cSrcweir Size = MAP_APPFONT ( 179 , 8 ) ; 159*cdf0e10cSrcweir Text [ en-US ] = "- No printer installed -" ; 160*cdf0e10cSrcweir Left = TRUE ; 161*cdf0e10cSrcweir }; 162*cdf0e10cSrcweir PushButton BTN_PRTSETUP 163*cdf0e10cSrcweir { 164*cdf0e10cSrcweir HelpID = "sw:PushButton:TP_ENV_PRT:BTN_PRTSETUP"; 165*cdf0e10cSrcweir Pos = MAP_APPFONT ( 198 , 114 ) ; 166*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 167*cdf0e10cSrcweir TabStop = TRUE ; 168*cdf0e10cSrcweir Text [ en-US ] = "Setup..." ; 169*cdf0e10cSrcweir }; 170*cdf0e10cSrcweir}; 171*cdf0e10cSrcweir // Bitmaps ****************************************************************** 172*cdf0e10cSrcweirBitmap BMP_HOR_LEFT_LOWER 173*cdf0e10cSrcweir{ 174*cdf0e10cSrcweir File = "envhl_l.bmp" ; 175*cdf0e10cSrcweir}; 176*cdf0e10cSrcweirBitmap BMP_HOR_LEFT_UPPER 177*cdf0e10cSrcweir{ 178*cdf0e10cSrcweir File = "envhl_u.bmp" ; 179*cdf0e10cSrcweir}; 180*cdf0e10cSrcweirBitmap BMP_HOR_CNTR_LOWER 181*cdf0e10cSrcweir{ 182*cdf0e10cSrcweir File = "envhc_l.bmp" ; 183*cdf0e10cSrcweir}; 184*cdf0e10cSrcweirBitmap BMP_HOR_CNTR_UPPER 185*cdf0e10cSrcweir{ 186*cdf0e10cSrcweir File = "envhc_u.bmp" ; 187*cdf0e10cSrcweir}; 188*cdf0e10cSrcweirBitmap BMP_HOR_RGHT_LOWER 189*cdf0e10cSrcweir{ 190*cdf0e10cSrcweir File = "envhr_l.bmp" ; 191*cdf0e10cSrcweir}; 192*cdf0e10cSrcweirBitmap BMP_HOR_RGHT_UPPER 193*cdf0e10cSrcweir{ 194*cdf0e10cSrcweir File = "envhr_u.bmp" ; 195*cdf0e10cSrcweir}; 196*cdf0e10cSrcweirBitmap BMP_VER_LEFT_LOWER 197*cdf0e10cSrcweir{ 198*cdf0e10cSrcweir File = "envvl_l.bmp" ; 199*cdf0e10cSrcweir}; 200*cdf0e10cSrcweirBitmap BMP_VER_LEFT_UPPER 201*cdf0e10cSrcweir{ 202*cdf0e10cSrcweir File = "envvl_u.bmp" ; 203*cdf0e10cSrcweir}; 204*cdf0e10cSrcweirBitmap BMP_VER_CNTR_LOWER 205*cdf0e10cSrcweir{ 206*cdf0e10cSrcweir File = "envvc_l.bmp" ; 207*cdf0e10cSrcweir}; 208*cdf0e10cSrcweirBitmap BMP_VER_CNTR_UPPER 209*cdf0e10cSrcweir{ 210*cdf0e10cSrcweir File = "envvc_u.bmp" ; 211*cdf0e10cSrcweir}; 212*cdf0e10cSrcweirBitmap BMP_VER_RGHT_LOWER 213*cdf0e10cSrcweir{ 214*cdf0e10cSrcweir File = "envvr_l.bmp" ; 215*cdf0e10cSrcweir}; 216*cdf0e10cSrcweirBitmap BMP_VER_RGHT_UPPER 217*cdf0e10cSrcweir{ 218*cdf0e10cSrcweir File = "envvr_u.bmp" ; 219*cdf0e10cSrcweir}; 220*cdf0e10cSrcweir// HighContrast Bitmaps 221*cdf0e10cSrcweirBitmap BMP_HOR_LEFT_LOWER_H 222*cdf0e10cSrcweir{ 223*cdf0e10cSrcweir File = "envhl_l_h.bmp" ; 224*cdf0e10cSrcweir}; 225*cdf0e10cSrcweirBitmap BMP_HOR_LEFT_UPPER_H 226*cdf0e10cSrcweir{ 227*cdf0e10cSrcweir File = "envhl_u_h.bmp" ; 228*cdf0e10cSrcweir}; 229*cdf0e10cSrcweirBitmap BMP_HOR_CNTR_LOWER_H 230*cdf0e10cSrcweir{ 231*cdf0e10cSrcweir File = "envhc_l_h.bmp" ; 232*cdf0e10cSrcweir}; 233*cdf0e10cSrcweirBitmap BMP_HOR_CNTR_UPPER_H 234*cdf0e10cSrcweir{ 235*cdf0e10cSrcweir File = "envhc_u_h.bmp" ; 236*cdf0e10cSrcweir}; 237*cdf0e10cSrcweirBitmap BMP_HOR_RGHT_LOWER_H 238*cdf0e10cSrcweir{ 239*cdf0e10cSrcweir File = "envhr_l_h.bmp" ; 240*cdf0e10cSrcweir}; 241*cdf0e10cSrcweirBitmap BMP_HOR_RGHT_UPPER_H 242*cdf0e10cSrcweir{ 243*cdf0e10cSrcweir File = "envhr_u_h.bmp" ; 244*cdf0e10cSrcweir}; 245*cdf0e10cSrcweirBitmap BMP_VER_LEFT_LOWER_H 246*cdf0e10cSrcweir{ 247*cdf0e10cSrcweir File = "envvl_l_h.bmp" ; 248*cdf0e10cSrcweir}; 249*cdf0e10cSrcweirBitmap BMP_VER_LEFT_UPPER_H 250*cdf0e10cSrcweir{ 251*cdf0e10cSrcweir File = "envvl_u_h.bmp" ; 252*cdf0e10cSrcweir}; 253*cdf0e10cSrcweirBitmap BMP_VER_CNTR_LOWER_H 254*cdf0e10cSrcweir{ 255*cdf0e10cSrcweir File = "envvc_l_h.bmp" ; 256*cdf0e10cSrcweir}; 257*cdf0e10cSrcweirBitmap BMP_VER_CNTR_UPPER_H 258*cdf0e10cSrcweir{ 259*cdf0e10cSrcweir File = "envvc_u_h.bmp" ; 260*cdf0e10cSrcweir}; 261*cdf0e10cSrcweirBitmap BMP_VER_RGHT_LOWER_H 262*cdf0e10cSrcweir{ 263*cdf0e10cSrcweir File = "envvr_l_h.bmp" ; 264*cdf0e10cSrcweir}; 265*cdf0e10cSrcweirBitmap BMP_VER_RGHT_UPPER_H 266*cdf0e10cSrcweir{ 267*cdf0e10cSrcweir File = "envvr_u_h.bmp" ; 268*cdf0e10cSrcweir}; 269*cdf0e10cSrcweir 270*cdf0e10cSrcweir 271*cdf0e10cSrcweir 272*cdf0e10cSrcweir 273*cdf0e10cSrcweir 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir 276*cdf0e10cSrcweir 277*cdf0e10cSrcweir 278*cdf0e10cSrcweir 279*cdf0e10cSrcweir 280*cdf0e10cSrcweir 281*cdf0e10cSrcweir 282*cdf0e10cSrcweir 283*cdf0e10cSrcweir 284*cdf0e10cSrcweir 285*cdf0e10cSrcweir 286*cdf0e10cSrcweir 287*cdf0e10cSrcweir 288*cdf0e10cSrcweir 289*cdf0e10cSrcweir 290*cdf0e10cSrcweir 291*cdf0e10cSrcweir 292*cdf0e10cSrcweir 293*cdf0e10cSrcweir 294*cdf0e10cSrcweir 295*cdf0e10cSrcweir 296*cdf0e10cSrcweir 297*cdf0e10cSrcweir 298