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