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