1*8660f102SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*8660f102SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*8660f102SAndrew Rist * distributed with this work for additional information 6*8660f102SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance 9*8660f102SAndrew Rist * with the License. You may obtain a copy of the License at 10*8660f102SAndrew Rist * 11*8660f102SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*8660f102SAndrew Rist * 13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*8660f102SAndrew Rist * software distributed under the License is distributed on an 15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8660f102SAndrew Rist * KIND, either express or implied. See the License for the 17*8660f102SAndrew Rist * specific language governing permissions and limitations 18*8660f102SAndrew Rist * under the License. 19*8660f102SAndrew Rist * 20*8660f102SAndrew Rist *************************************************************/ 21*8660f102SAndrew Rist 22*8660f102SAndrew Rist 23cdf0e10cSrcweir // #pragma ***************************************************************** 24cdf0e10cSrcweir 25cdf0e10cSrcweir // #include **************************************************************** 26cdf0e10cSrcweir#include "envprt.hrc" 27cdf0e10cSrcweir#include "helpid.h" 28cdf0e10cSrcweir // TP_ENV_PRT --------------------------------------------------------------- 29cdf0e10cSrcweirTabPage TP_ENV_PRT 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpID = HID_ENV_PRT ; 32cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 33cdf0e10cSrcweir Hide = TRUE ; 34cdf0e10cSrcweir FixedLine FL_NONAME 35cdf0e10cSrcweir { 36cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 37cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 38cdf0e10cSrcweir Text [ en-US ] = "Envelope orientation"; 39cdf0e10cSrcweir }; 40cdf0e10cSrcweir ToolBox BOX_ALIGN 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 43cdf0e10cSrcweir ItemList = 44cdf0e10cSrcweir { 45cdf0e10cSrcweir ToolBoxItem 46cdf0e10cSrcweir { 47cdf0e10cSrcweir Identifier = ITM_HOR_LEFT ; 48cdf0e10cSrcweir HelpID = HID_ITM_HOR_LEFT ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir ToolBoxItem 51cdf0e10cSrcweir { 52cdf0e10cSrcweir Identifier = ITM_HOR_CNTR ; 53cdf0e10cSrcweir HelpID = HID_ITM_HOR_CNTR ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir ToolBoxItem 56cdf0e10cSrcweir { 57cdf0e10cSrcweir Identifier = ITM_HOR_RGHT ; 58cdf0e10cSrcweir HelpID = HID_ITM_HOR_RGHT ; 59cdf0e10cSrcweir }; 60cdf0e10cSrcweir ToolBoxItem 61cdf0e10cSrcweir { 62cdf0e10cSrcweir Identifier = ITM_VER_LEFT ; 63cdf0e10cSrcweir HelpID = HID_ITM_VER_LEFT ; 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir ToolBoxItem 66cdf0e10cSrcweir { 67cdf0e10cSrcweir Identifier = ITM_VER_CNTR ; 68cdf0e10cSrcweir HelpID = HID_ITM_VER_CNTR ; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir ToolBoxItem 71cdf0e10cSrcweir { 72cdf0e10cSrcweir Identifier = ITM_VER_RGHT ; 73cdf0e10cSrcweir HelpID = HID_ITM_VER_RGHT ; 74cdf0e10cSrcweir }; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir RadioButton BTN_TOP 78cdf0e10cSrcweir { 79cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_TOP"; 80cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 42 ) ; 81cdf0e10cSrcweir Size = MAP_APPFONT ( 179 , 10 ) ; 82cdf0e10cSrcweir Text [ en-US ] = "~Print from top" ; 83cdf0e10cSrcweir TabStop = TRUE ; 84cdf0e10cSrcweir Group = TRUE ; 85cdf0e10cSrcweir Check = TRUE ; 86cdf0e10cSrcweir }; 87cdf0e10cSrcweir RadioButton BTN_BOTTOM 88cdf0e10cSrcweir { 89cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_BOTTOM"; 90cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 56 ) ; 91cdf0e10cSrcweir Size = MAP_APPFONT ( 179 , 10 ) ; 92cdf0e10cSrcweir Text [ en-US ] = "Print from ~bottom" ; 93cdf0e10cSrcweir TabStop = TRUE ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir FixedText TXT_RIGHT 96cdf0e10cSrcweir { 97cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 74 ) ; 98cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 8 ) ; 99cdf0e10cSrcweir Text [ en-US ] = "~Shift right" ; 100cdf0e10cSrcweir Left = TRUE ; 101cdf0e10cSrcweir }; 102cdf0e10cSrcweir MetricField FLD_RIGHT 103cdf0e10cSrcweir { 104cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_PRT:FLD_RIGHT"; 105cdf0e10cSrcweir Border = TRUE ; 106cdf0e10cSrcweir Pos = MAP_APPFONT ( 86 , 72 ) ; 107cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 108cdf0e10cSrcweir TabStop = TRUE ; 109cdf0e10cSrcweir Left = TRUE ; 110cdf0e10cSrcweir Repeat = TRUE ; 111cdf0e10cSrcweir Spin = TRUE ; 112cdf0e10cSrcweir Minimum = 0 ; 113cdf0e10cSrcweir Maximum = 10000 ; 114cdf0e10cSrcweir DecimalDigits = 2 ; 115cdf0e10cSrcweir Unit = FUNIT_CM ; 116cdf0e10cSrcweir First = 0 ; 117cdf0e10cSrcweir Last = 10000 ; 118cdf0e10cSrcweir SpinSize = 10 ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir FixedText TXT_DOWN 121cdf0e10cSrcweir { 122cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 90 ) ; 123cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 8 ) ; 124cdf0e10cSrcweir Text [ en-US ] = "Shift ~down" ; 125cdf0e10cSrcweir Left = TRUE ; 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir MetricField FLD_DOWN 128cdf0e10cSrcweir { 129cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_PRT:FLD_DOWN"; 130cdf0e10cSrcweir Border = TRUE ; 131cdf0e10cSrcweir Pos = MAP_APPFONT ( 86 , 88 ) ; 132cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 133cdf0e10cSrcweir TabStop = TRUE ; 134cdf0e10cSrcweir Left = TRUE ; 135cdf0e10cSrcweir Repeat = TRUE ; 136cdf0e10cSrcweir Spin = TRUE ; 137cdf0e10cSrcweir Minimum = 0 ; 138cdf0e10cSrcweir Maximum = 10000 ; 139cdf0e10cSrcweir DecimalDigits = 2 ; 140cdf0e10cSrcweir Unit = FUNIT_CM ; 141cdf0e10cSrcweir First = 0 ; 142cdf0e10cSrcweir Last = 10000 ; 143cdf0e10cSrcweir SpinSize = 10 ; 144cdf0e10cSrcweir }; 145cdf0e10cSrcweir FixedLine FL_PRINTER 146cdf0e10cSrcweir { 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 3 , 103 ) ; 148cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 149cdf0e10cSrcweir Text [ en-US ] = "Current printer"; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir FixedText TXT_PRINTER 152cdf0e10cSrcweir { 153cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 116 ) ; 154cdf0e10cSrcweir Size = MAP_APPFONT ( 179 , 8 ) ; 155cdf0e10cSrcweir Text [ en-US ] = "- No printer installed -" ; 156cdf0e10cSrcweir Left = TRUE ; 157cdf0e10cSrcweir }; 158cdf0e10cSrcweir PushButton BTN_PRTSETUP 159cdf0e10cSrcweir { 160cdf0e10cSrcweir HelpID = "sw:PushButton:TP_ENV_PRT:BTN_PRTSETUP"; 161cdf0e10cSrcweir Pos = MAP_APPFONT ( 198 , 114 ) ; 162cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 163cdf0e10cSrcweir TabStop = TRUE ; 164cdf0e10cSrcweir Text [ en-US ] = "Setup..." ; 165cdf0e10cSrcweir }; 166cdf0e10cSrcweir}; 167cdf0e10cSrcweir // Bitmaps ****************************************************************** 168cdf0e10cSrcweirBitmap BMP_HOR_LEFT_LOWER 169cdf0e10cSrcweir{ 170cdf0e10cSrcweir File = "envhl_l.bmp" ; 171cdf0e10cSrcweir}; 172cdf0e10cSrcweirBitmap BMP_HOR_LEFT_UPPER 173cdf0e10cSrcweir{ 174cdf0e10cSrcweir File = "envhl_u.bmp" ; 175cdf0e10cSrcweir}; 176cdf0e10cSrcweirBitmap BMP_HOR_CNTR_LOWER 177cdf0e10cSrcweir{ 178cdf0e10cSrcweir File = "envhc_l.bmp" ; 179cdf0e10cSrcweir}; 180cdf0e10cSrcweirBitmap BMP_HOR_CNTR_UPPER 181cdf0e10cSrcweir{ 182cdf0e10cSrcweir File = "envhc_u.bmp" ; 183cdf0e10cSrcweir}; 184cdf0e10cSrcweirBitmap BMP_HOR_RGHT_LOWER 185cdf0e10cSrcweir{ 186cdf0e10cSrcweir File = "envhr_l.bmp" ; 187cdf0e10cSrcweir}; 188cdf0e10cSrcweirBitmap BMP_HOR_RGHT_UPPER 189cdf0e10cSrcweir{ 190cdf0e10cSrcweir File = "envhr_u.bmp" ; 191cdf0e10cSrcweir}; 192cdf0e10cSrcweirBitmap BMP_VER_LEFT_LOWER 193cdf0e10cSrcweir{ 194cdf0e10cSrcweir File = "envvl_l.bmp" ; 195cdf0e10cSrcweir}; 196cdf0e10cSrcweirBitmap BMP_VER_LEFT_UPPER 197cdf0e10cSrcweir{ 198cdf0e10cSrcweir File = "envvl_u.bmp" ; 199cdf0e10cSrcweir}; 200cdf0e10cSrcweirBitmap BMP_VER_CNTR_LOWER 201cdf0e10cSrcweir{ 202cdf0e10cSrcweir File = "envvc_l.bmp" ; 203cdf0e10cSrcweir}; 204cdf0e10cSrcweirBitmap BMP_VER_CNTR_UPPER 205cdf0e10cSrcweir{ 206cdf0e10cSrcweir File = "envvc_u.bmp" ; 207cdf0e10cSrcweir}; 208cdf0e10cSrcweirBitmap BMP_VER_RGHT_LOWER 209cdf0e10cSrcweir{ 210cdf0e10cSrcweir File = "envvr_l.bmp" ; 211cdf0e10cSrcweir}; 212cdf0e10cSrcweirBitmap BMP_VER_RGHT_UPPER 213cdf0e10cSrcweir{ 214cdf0e10cSrcweir File = "envvr_u.bmp" ; 215cdf0e10cSrcweir}; 216cdf0e10cSrcweir// HighContrast Bitmaps 217cdf0e10cSrcweirBitmap BMP_HOR_LEFT_LOWER_H 218cdf0e10cSrcweir{ 219cdf0e10cSrcweir File = "envhl_l_h.bmp" ; 220cdf0e10cSrcweir}; 221cdf0e10cSrcweirBitmap BMP_HOR_LEFT_UPPER_H 222cdf0e10cSrcweir{ 223cdf0e10cSrcweir File = "envhl_u_h.bmp" ; 224cdf0e10cSrcweir}; 225cdf0e10cSrcweirBitmap BMP_HOR_CNTR_LOWER_H 226cdf0e10cSrcweir{ 227cdf0e10cSrcweir File = "envhc_l_h.bmp" ; 228cdf0e10cSrcweir}; 229cdf0e10cSrcweirBitmap BMP_HOR_CNTR_UPPER_H 230cdf0e10cSrcweir{ 231cdf0e10cSrcweir File = "envhc_u_h.bmp" ; 232cdf0e10cSrcweir}; 233cdf0e10cSrcweirBitmap BMP_HOR_RGHT_LOWER_H 234cdf0e10cSrcweir{ 235cdf0e10cSrcweir File = "envhr_l_h.bmp" ; 236cdf0e10cSrcweir}; 237cdf0e10cSrcweirBitmap BMP_HOR_RGHT_UPPER_H 238cdf0e10cSrcweir{ 239cdf0e10cSrcweir File = "envhr_u_h.bmp" ; 240cdf0e10cSrcweir}; 241cdf0e10cSrcweirBitmap BMP_VER_LEFT_LOWER_H 242cdf0e10cSrcweir{ 243cdf0e10cSrcweir File = "envvl_l_h.bmp" ; 244cdf0e10cSrcweir}; 245cdf0e10cSrcweirBitmap BMP_VER_LEFT_UPPER_H 246cdf0e10cSrcweir{ 247cdf0e10cSrcweir File = "envvl_u_h.bmp" ; 248cdf0e10cSrcweir}; 249cdf0e10cSrcweirBitmap BMP_VER_CNTR_LOWER_H 250cdf0e10cSrcweir{ 251cdf0e10cSrcweir File = "envvc_l_h.bmp" ; 252cdf0e10cSrcweir}; 253cdf0e10cSrcweirBitmap BMP_VER_CNTR_UPPER_H 254cdf0e10cSrcweir{ 255cdf0e10cSrcweir File = "envvc_u_h.bmp" ; 256cdf0e10cSrcweir}; 257cdf0e10cSrcweirBitmap BMP_VER_RGHT_LOWER_H 258cdf0e10cSrcweir{ 259cdf0e10cSrcweir File = "envvr_l_h.bmp" ; 260cdf0e10cSrcweir}; 261cdf0e10cSrcweirBitmap BMP_VER_RGHT_UPPER_H 262cdf0e10cSrcweir{ 263cdf0e10cSrcweir File = "envvr_u_h.bmp" ; 264cdf0e10cSrcweir}; 265cdf0e10cSrcweir 266cdf0e10cSrcweir 267cdf0e10cSrcweir 268cdf0e10cSrcweir 269cdf0e10cSrcweir 270cdf0e10cSrcweir 271cdf0e10cSrcweir 272cdf0e10cSrcweir 273cdf0e10cSrcweir 274cdf0e10cSrcweir 275cdf0e10cSrcweir 276cdf0e10cSrcweir 277cdf0e10cSrcweir 278cdf0e10cSrcweir 279cdf0e10cSrcweir 280cdf0e10cSrcweir 281cdf0e10cSrcweir 282cdf0e10cSrcweir 283cdf0e10cSrcweir 284cdf0e10cSrcweir 285cdf0e10cSrcweir 286cdf0e10cSrcweir 287cdf0e10cSrcweir 288cdf0e10cSrcweir 289cdf0e10cSrcweir 290cdf0e10cSrcweir 291cdf0e10cSrcweir 292cdf0e10cSrcweir 293cdf0e10cSrcweir 294