1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#include "pagedlg.hrc" 24ModelessDialog RID_SCDLG_AREAS 25{ 26 HelpId = HID_SCPAGE_AREAS ; 27 Size = MAP_APPFONT ( 316 , 90 ) ; 28 OutputSize = TRUE ; 29 Moveable = TRUE ; 30 //Closeable = TRUE; // Dieser Dialog hat einen Cancel-Button ! 31 Hide = TRUE ; 32 SVLook = TRUE ; 33 Text [ en-US ] = "Edit Print Ranges" ; 34 OKButton BTN_OK 35 { 36 Pos = MAP_APPFONT ( 260 , 6 ) ; 37 Size = MAP_APPFONT ( 50 , 14 ) ; 38 DefButton = TRUE ; 39 }; 40 CancelButton BTN_CANCEL 41 { 42 Pos = MAP_APPFONT ( 260 , 23 ) ; 43 Size = MAP_APPFONT ( 50 , 14 ) ; 44 }; 45 HelpButton BTN_HELP 46 { 47 Pos = MAP_APPFONT ( 260 , 43 ) ; 48 Size = MAP_APPFONT ( 50 , 14 ) ; 49 }; 50 FixedLine FL_PRINTAREA 51 { 52 Pos = MAP_APPFONT ( 6 , 3 ) ; 53 Size = MAP_APPFONT ( 248 , 8 ) ; 54 Text [ en-US ] = "Print range" ; 55 }; 56 ListBox LB_PRINTAREA 57 { 58 HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_PRINTAREA"; 59 Border = TRUE ; 60 Pos = MAP_APPFONT ( 12 , 14 ) ; 61 Size = MAP_APPFONT ( 90 , 60 ) ; 62 DropDown = TRUE ; 63 StringList [ en-US ] = 64 { 65 < "- none -" ; Default ; > ; 66 < "- entire sheet -" ; Default ; > ; 67 < "- user defined -" ; Default ; > ; 68 < "- selection -" ; Default ; > ; 69 }; 70 }; 71 Edit ED_PRINTAREA 72 { 73 HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_PRINTAREA"; 74 Border = TRUE ; 75 Pos = MAP_APPFONT ( 106 , 14 ) ; 76 Size = MAP_APPFONT ( 131 , 12 ) ; 77 }; 78 ImageButton RB_PRINTAREA 79 { 80 HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_PRINTAREA"; 81 Pos = MAP_APPFONT ( 239 , 13 ) ; 82 Size = MAP_APPFONT ( 13 , 15 ) ; 83 TabStop = FALSE ; 84 QuickHelpText [ en-US ] = "Shrink" ; 85 }; 86 FixedLine FL_REPEATROW 87 { 88 Pos = MAP_APPFONT ( 6 , 32 ) ; 89 Size = MAP_APPFONT ( 248 , 8 ) ; 90 Text [ en-US ] = "Rows to repeat" ; 91 }; 92 ListBox LB_REPEATROW 93 { 94 HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_REPEATROW"; 95 Border = TRUE ; 96 Pos = MAP_APPFONT ( 12 , 43 ) ; 97 Size = MAP_APPFONT ( 90 , 60 ) ; 98 DropDown = TRUE ; 99 StringList [ en-US ] = 100 { 101 < "- none -" ; Default ; > ; 102 < "- user defined -" ; Default ; > ; 103 }; 104 }; 105 Edit ED_REPEATROW 106 { 107 HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_REPEATROW"; 108 Border = TRUE ; 109 Pos = MAP_APPFONT ( 106 , 43 ) ; 110 Size = MAP_APPFONT ( 131 , 12 ) ; 111 }; 112 ImageButton RB_REPEATROW 113 { 114 HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_REPEATROW"; 115 Pos = MAP_APPFONT ( 239 , 42 ) ; 116 Size = MAP_APPFONT ( 13 , 15 ) ; 117 TabStop = FALSE ; 118 QuickHelpText [ en-US ] = "Shrink" ; 119 }; 120 FixedLine FL_REPEATCOL 121 { 122 Pos = MAP_APPFONT ( 6 , 61 ) ; 123 Size = MAP_APPFONT ( 248 , 8 ) ; 124 Text [ en-US ] = "Columns to repeat" ; 125 }; 126 ListBox LB_REPEATCOL 127 { 128 HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_REPEATCOL"; 129 Border = TRUE ; 130 Pos = MAP_APPFONT ( 12 , 72 ) ; 131 Size = MAP_APPFONT ( 90 , 60 ) ; 132 DropDown = TRUE ; 133 StringList [ en-US ] = 134 { 135 < "- none -" ; Default ; > ; 136 < "- user defined -" ; Default ; > ; 137 }; 138 }; 139 Edit ED_REPEATCOL 140 { 141 HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_REPEATCOL"; 142 Border = TRUE ; 143 Pos = MAP_APPFONT ( 106 , 72 ) ; 144 Size = MAP_APPFONT ( 131 , 12 ) ; 145 }; 146 ImageButton RB_REPEATCOL 147 { 148 HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_REPEATCOL"; 149 Pos = MAP_APPFONT ( 239 , 71 ) ; 150 Size = MAP_APPFONT ( 13 , 15 ) ; 151 TabStop = FALSE ; 152 QuickHelpText [ en-US ] = "Shrink" ; 153 }; 154}; 155TabPage RID_SCPAGE_TABLE 156{ 157 Hide = TRUE ; 158 HelpId = HID_SCPAGE_TABLE ; 159 SVLook = TRUE ; 160 Pos = MAP_APPFONT ( 0 , 0 ) ; 161 Size = MAP_APPFONT ( 260 , 185 ) ; 162 CheckBox BTN_HEADER 163 { 164 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_HEADER"; 165 Pos = MAP_APPFONT ( 12 , 73 ) ; 166 Size = MAP_APPFONT ( 142 , 10 ) ; 167 Text [ en-US ] = "~Column and row headers" ; 168 TabStop = TRUE ; 169 }; 170 CheckBox BTN_GRID 171 { 172 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_GRID"; 173 Pos = MAP_APPFONT ( 12 , 87 ) ; 174 Size = MAP_APPFONT ( 142 , 10 ) ; 175 Text [ en-US ] = "~Grid" ; 176 TabStop = TRUE ; 177 }; 178 CheckBox BTN_NOTES 179 { 180 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_NOTES"; 181 Pos = MAP_APPFONT ( 12 , 101 ) ; 182 Size = MAP_APPFONT ( 142 , 10 ) ; 183 Text [ en-US ] = "~Comments" ; 184 TabStop = TRUE ; 185 }; 186 CheckBox BTN_OBJECTS 187 { 188 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_OBJECTS"; 189 Pos = MAP_APPFONT ( 12 , 115 ) ; 190 Size = MAP_APPFONT ( 142 , 10 ) ; 191 Text [ en-US ] = "~Objects/graphics" ; 192 TabStop = TRUE ; 193 }; 194 CheckBox BTN_CHARTS 195 { 196 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_CHARTS"; 197 Pos = MAP_APPFONT ( 160 , 73 ) ; 198 Size = MAP_APPFONT ( 91 , 10 ) ; 199 Text [ en-US ] = "Ch~arts" ; 200 TabStop = TRUE ; 201 }; 202 CheckBox BTN_DRAWINGS 203 { 204 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_DRAWINGS"; 205 Pos = MAP_APPFONT ( 160 , 87 ) ; 206 Size = MAP_APPFONT ( 91 , 10 ) ; 207 Text [ en-US ] = "~Drawing objects" ; 208 TabStop = TRUE ; 209 }; 210 CheckBox BTN_FORMULAS 211 { 212 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_FORMULAS"; 213 Pos = MAP_APPFONT ( 160 , 101 ) ; 214 Size = MAP_APPFONT ( 91 , 10 ) ; 215 Text [ en-US ] = "~Formulas" ; 216 TabStop = TRUE ; 217 }; 218 CheckBox BTN_NULLVALS 219 { 220 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_NULLVALS"; 221 Pos = MAP_APPFONT ( 160 , 115 ) ; 222 Size = MAP_APPFONT ( 91 , 10 ) ; 223 Text [ en-US ] = "Zero ~values" ; 224 TabStop = TRUE ; 225 }; 226 FixedLine FL_PRINT 227 { 228 Pos = MAP_APPFONT ( 6 , 62 ) ; 229 Size = MAP_APPFONT ( 248 , 8 ) ; 230 Text [ en-US ] = "Print" ; 231 }; 232 RadioButton BTN_TOPDOWN 233 { 234 HelpID = "sc:RadioButton:RID_SCPAGE_TABLE:BTN_TOPDOWN"; 235 Pos = MAP_APPFONT ( 12 , 14 ) ; 236 Size = MAP_APPFONT ( 142 , 10 ) ; 237 Text [ en-US ] = "~Top to bottom, then right" ; 238 TabStop = TRUE ; 239 }; 240 RadioButton BTN_LEFTRIGHT 241 { 242 HelpID = "sc:RadioButton:RID_SCPAGE_TABLE:BTN_LEFTRIGHT"; 243 Pos = MAP_APPFONT ( 12 , 28 ) ; 244 Size = MAP_APPFONT ( 142 , 10 ) ; 245 Text [ en-US ] = "~Left to right, then down" ; 246 TabStop = TRUE ; 247 }; 248 FixedImage BMP_PAGEDIR 249 { 250 Pos = MAP_APPFONT ( 160 , 14 ) ; 251 Size = MAP_APPFONT ( 25 , 25 ) ; 252 }; 253 Image IMG_LEFTRIGHT 254 { 255 ImageBitmap = Bitmap { File = "lftrgt.bmp" ; }; 256 MaskColor = STD_MASKCOLOR; 257 }; 258 Image IMG_LEFTRIGHT_H 259 { 260 ImageBitmap = Bitmap { File = "lftrgt_h.bmp" ; }; 261 MaskColor = SC_HC_MASKCOLOR; 262 }; 263 Image IMG_TOPDOWN 264 { 265 ImageBitmap = Bitmap { File = "topdown.bmp" ; }; 266 MaskColor = STD_MASKCOLOR; 267 }; 268 Image IMG_TOPDOWN_H 269 { 270 ImageBitmap = Bitmap { File = "topdown_h.bmp" ; }; 271 MaskColor = SC_HC_MASKCOLOR; 272 }; 273 CheckBox BTN_PAGENO 274 { 275 HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_PAGENO"; 276 Pos = MAP_APPFONT ( 12 , 46 ) ; 277 Size = MAP_APPFONT ( 90 , 10 ) ; 278 Text [ en-US ] = "First ~page number" ; 279 TabStop = TRUE ; 280 }; 281 NumericField ED_PAGENO 282 { 283 HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_PAGENO"; 284 Border = TRUE ; 285 Pos = MAP_APPFONT ( 106 , 44 ) ; 286 Size = MAP_APPFONT ( 30 , 12 ) ; 287 TabStop = TRUE ; 288 Spin = TRUE ; 289 Minimum = 1 ; 290 Maximum = 9999 ; 291 SpinSize = 1 ; 292 Repeat = TRUE ; 293 }; 294 FixedLine FL_PAGEDIR 295 { 296 Pos = MAP_APPFONT ( 6 , 3 ) ; 297 Size = MAP_APPFONT ( 248 , 8 ) ; 298 Text [ en-US ] = "Page order" ; 299 }; 300 FixedText FT_SCALEMODE 301 { 302 Pos = MAP_APPFONT( 12, 144 ); 303 Size = MAP_APPFONT( 124, 8 ); 304 Text [ en-US ] = "Scaling ~mode"; 305 }; 306 ListBox LB_SCALEMODE 307 { 308 HelpID = "sc:ListBox:RID_SCPAGE_TABLE:LB_SCALEMODE"; 309 Border = TRUE; 310 Pos = MAP_APPFONT( 12, 155 ); 311 Size = MAP_APPFONT( 124, 60 ); 312 DropDown = TRUE; 313 StringList [ en-US ] = 314 { 315 < "Reduce/enlarge printout"; SC_TPTABLE_SCALE_PERCENT; >; 316 < "Fit print range(s) to width/height"; SC_TPTABLE_SCALE_TO; >; 317 < "Fit print range(s) on number of pages"; SC_TPTABLE_SCALE_TO_PAGES; >; 318 }; 319 }; 320 MetricField ED_SCALEALL 321 { 322 HelpID = "sc:MetricField:RID_SCPAGE_TABLE:ED_SCALEALL"; 323 Border = TRUE ; 324 Pos = MAP_APPFONT ( 218 , 155 ) ; 325 Size = MAP_APPFONT ( 30 , 12 ) ; 326 TabStop = TRUE ; 327 Spin = TRUE ; 328 Repeat = TRUE ; 329 Minimum = 10 ; 330 Maximum = 400 ; 331 First = 15 ; 332 Last = 200 ; 333 SpinSize = 1 ; 334 Unit = FUNIT_PERCENT ; 335 }; 336 NumericField ED_SCALEPAGEWIDTH 337 { 338 HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGEWIDTH"; 339 Border = TRUE ; 340 Pos = MAP_APPFONT ( 218 , 144 ) ; 341 Size = MAP_APPFONT ( 30 , 12 ) ; 342 TabStop = TRUE ; 343 Hide = TRUE ; 344 Spin = TRUE ; 345 Repeat = TRUE ; 346 Minimum = 1 ; 347 Maximum = 1000 ; 348 SpinSize = 1 ; 349 }; 350 NumericField ED_SCALEPAGEHEIGHT 351 { 352 HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGEHEIGHT"; 353 Border = TRUE ; 354 Pos = MAP_APPFONT ( 218 , 160 ) ; 355 Size = MAP_APPFONT ( 30 , 12 ) ; 356 TabStop = TRUE ; 357 Hide = TRUE ; 358 Spin = TRUE ; 359 Repeat = TRUE ; 360 Minimum = 1 ; 361 Maximum = 1000 ; 362 SpinSize = 1 ; 363 }; 364 NumericField ED_SCALEPAGENUM 365 { 366 HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGENUM"; 367 Border = TRUE ; 368 Pos = MAP_APPFONT ( 218 , 155 ) ; 369 Size = MAP_APPFONT ( 30 , 12 ) ; 370 TabStop = TRUE ; 371 Hide = TRUE ; 372 Spin = TRUE ; 373 Repeat = TRUE ; 374 Minimum = 1 ; 375 Maximum = 1000 ; 376 SpinSize = 1 ; 377 }; 378 FixedText FT_SCALEFACTOR 379 { 380 Pos = MAP_APPFONT( 148, 157 ); 381 Size = MAP_APPFONT( 68 , 8 ); 382 Hide = TRUE; 383 Text [ en-US ] = "~Scaling factor"; 384 }; 385 FixedText FT_SCALEPAGEWIDTH 386 { 387 Pos = MAP_APPFONT( 148, 146 ); 388 Size = MAP_APPFONT( 68 , 8 ); 389 Hide = TRUE; 390 Text [ en-US ] = "~Width in pages"; 391 }; 392 FixedText FT_SCALEPAGEHEIGHT 393 { 394 Pos = MAP_APPFONT( 148, 162 ); 395 Size = MAP_APPFONT( 68 , 8 ); 396 Hide = TRUE; 397 Text [ en-US ] = "H~eight in pages"; 398 }; 399 FixedText FT_SCALEPAGENUM 400 { 401 Pos = MAP_APPFONT( 148, 157 ); 402 Size = MAP_APPFONT( 68, 8 ); 403 Hide = TRUE; 404 Text [ en-US ] = "N~umber of pages"; 405 }; 406 FixedLine FL_SCALE 407 { 408 Pos = MAP_APPFONT ( 6 , 131 ) ; 409 Size = MAP_APPFONT ( 248 , 8 ) ; 410 Text [ en-US ] = "Scale" ; 411 }; 412}; 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438