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 28#include "globals.hrc" 29#include "optload.hrc" 30#include "helpid.h" 31#include "config.hrc" 32 33/**************************************************************************/ 34/* */ 35/**************************************************************************/ 36 37TabPage TP_OPTLOAD_PAGE 38{ 39 HelpID = HID_OPTLOAD_PAGE ; 40 Size = MAP_APPFONT ( 260 , 185 ) ; 41 Hide = TRUE ; 42 FixedLine FL_UPDATE 43 { 44 Pos = MAP_APPFONT ( 6 , 3 ) ; 45 Size = MAP_APPFONT ( 248 , 8 ) ; 46 Text [ en-US ] = "Update"; 47 }; 48 FixedText FT_LINK 49 { 50 Pos = MAP_APPFONT ( 12 , 14 ) ; 51 Size = MAP_APPFONT ( 115 , 8 ) ; 52 Text [ en-US ] = "Update links when loading"; 53 }; 54 RadioButton RB_ALWAYS 55 { 56 HelpID = "sw:RadioButton:TP_OPTLOAD_PAGE:RB_ALWAYS"; 57 Pos = MAP_APPFONT ( 18 , 26 ) ; 58 Size = MAP_APPFONT ( 75 , 10 ) ; 59 TabStop = TRUE ; 60 Text [ en-US ] = "~Always"; 61 }; 62 RadioButton RB_REQUEST 63 { 64 HelpID = "sw:RadioButton:TP_OPTLOAD_PAGE:RB_REQUEST"; 65 Pos = MAP_APPFONT ( 18 , 39 ) ; 66 Size = MAP_APPFONT ( 75 , 10 ) ; 67 TabStop = TRUE ; 68 Text [ en-US ] = "~On request"; 69 }; 70 RadioButton RB_NEVER 71 { 72 HelpID = "sw:RadioButton:TP_OPTLOAD_PAGE:RB_NEVER"; 73 Pos = MAP_APPFONT ( 18 , 52 ) ; 74 Size = MAP_APPFONT ( 75 , 10 ) ; 75 TabStop = TRUE ; 76 Text [ en-US ] = "~Never"; 77 }; 78 FixedText FT_FIELD 79 { 80 Pos = MAP_APPFONT ( 130 , 14 ) ; 81 Size = MAP_APPFONT ( 124 , 8 ) ; 82 Text [ en-US ] = "Automatically"; 83 }; 84 CheckBox CB_AUTO_UPDATE_FIELDS 85 { 86 HelpID = "sw:CheckBox:TP_OPTLOAD_PAGE:CB_AUTO_UPDATE_FIELDS"; 87 Pos = MAP_APPFONT ( 136 , 26) ; 88 Size = MAP_APPFONT ( 118 , 10 ) ; 89 Text [ en-US ] = "~Fields"; 90 }; 91 CheckBox CB_AUTO_UPDATE_CHARTS 92 { 93 HelpID = "sw:CheckBox:TP_OPTLOAD_PAGE:CB_AUTO_UPDATE_CHARTS"; 94 Pos = MAP_APPFONT ( 136 , 39) ; 95 Size = MAP_APPFONT ( 109 , 10 ) ; 96 Text [ en-US ] = "~Charts"; 97 }; 98 FixedLine FL_SETTINGS 99 { 100 Pos = MAP_APPFONT ( 6 , 66 ) ; 101 Size = MAP_APPFONT ( 248 , 8 ) ; 102 Text [ en-US ] = "Settings"; 103 }; 104 FixedText FT_METRIC 105 { 106 Pos = MAP_APPFONT ( 12 , 79 ) ; 107 Size = MAP_APPFONT ( 60 , 8 ) ; 108 Text [ en-US ] = "Measurement unit"; 109 }; 110 ListBox LB_METRIC 111 { 112 HelpID = "sw:ListBox:TP_OPTLOAD_PAGE:LB_METRIC"; 113 Pos = MAP_APPFONT ( 130, 77 ) ; 114 Size = MAP_APPFONT ( 50 , 50 ) ; 115 Border = TRUE ; 116 DropDown = TRUE ; 117 }; 118 FixedText FT_TAB 119 { 120 Pos = MAP_APPFONT ( 12 , 95 ) ; 121 Size = MAP_APPFONT ( 73 , 8 ) ; 122 Text [ en-US ] = "Tab stops"; 123 Group = TRUE ; 124 }; 125 MetricField MF_TAB 126 { 127 HelpID = "sw:MetricField:TP_OPTLOAD_PAGE:MF_TAB"; 128 Border = TRUE ; 129 Pos = MAP_APPFONT ( 130 , 93 ) ; 130 Size = MAP_APPFONT ( 50 , 12 ) ; 131 Left = TRUE ; 132 Repeat = TRUE ; 133 Spin = TRUE ; 134 DecimalDigits = 2 ; 135 Unit = FUNIT_CM ; 136 SpinSize = 10 ; 137 Minimum = 50 ; 138 Maximum = 9999 ; 139 First = 50 ; 140 Last = 9999 ; 141 }; 142 CheckBox CB_USE_SQUARE_PAGE_MODE 143 { 144 HelpID = "sw:CheckBox:TP_OPTLOAD_PAGE:CB_USE_SQUARE_PAGE_MODE"; 145 Pos = MAP_APPFONT ( 12 , 111) ; 146 Size = MAP_APPFONT ( 248 , 10 ) ; 147 Text [ en-US ] = "Use square page mode for text grid"; 148 Text [ zh-CN ] = "使用稿纸模式"; 149 }; 150}; 151/**************************************************************************/ 152/* */ 153/**************************************************************************/ 154 155TabPage TP_OPTCAPTION_PAGE 156{ 157 HelpID = HID_OPTCAPTION_PAGE ; 158 Size = MAP_APPFONT ( 260 , 185 ) ; 159 Hide = TRUE ; 160 Text [ en-US ] = "Caption" ; 161 162 FixedText FT_OBJECTS 163 { 164 Pos = MAP_APPFONT ( 6 , 6 ) ; 165 Size = MAP_APPFONT ( 106 , 20 ) ; 166 WordBreak = TRUE ; 167 Text [ en-US ] = "Add captions automatically\nwhen inserting:" ; 168 }; 169 Control CLB_OBJECTS 170 { 171 Pos = MAP_APPFONT ( 6 , 29 ) ; 172 Size = MAP_APPFONT ( 106 , 97 ) ; 173 Border = TRUE ; 174 TabStop = TRUE ; 175 }; 176 FixedText FT_ORDER 177 { 178 Pos = MAP_APPFONT ( 6 , 130 ) ; 179 Size = MAP_APPFONT ( 106 , 8 ) ; 180 Text [ en-US ] = "Caption order" ; 181 }; 182 ListBox LB_ORDER 183 { 184 HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:LB_ORDER"; 185 Border = TRUE ; 186 Pos = MAP_APPFONT ( 6 , 141 ) ; 187 Size = MAP_APPFONT ( 106 , 60 ) ; 188 TabStop = TRUE ; 189 DropDown = TRUE ; 190 StringList [ en-US ] = 191 { 192 < "Category first" ; > ; 193 < "Numbering first" ; > ; 194 }; 195 }; 196 Window WIN_PREVIEW 197 { 198 Pos = MAP_APPFONT ( 6 , 159 ) ; 199 Size = MAP_APPFONT ( 106 , 20 ) ; 200 Border = TRUE; 201 }; 202 String STR_TABLE 203 { 204 Text [ en-US ] = "%PRODUCTNAME Writer Table"; 205 }; 206 String STR_FRAME 207 { 208 Text [ en-US ] = "%PRODUCTNAME Writer Frame"; 209 }; 210 String STR_GRAPHIC 211 { 212 Text [ en-US ] = "%PRODUCTNAME Writer Picture"; 213 }; 214 String STR_OLE 215 { 216 Text [ en-US ] = "Other OLE Objects"; 217 }; 218 219 FixedLine FL_SETTINGS_2 220 { 221 Pos = MAP_APPFONT ( 118 , 3 ) ; 222 Size = MAP_APPFONT ( 136 , 8 ) ; 223 Text [ en-US ] = "Caption" ; 224 }; 225 FixedText TXT_CATEGORY 226 { 227 Pos = MAP_APPFONT ( 125 , 16 ) ; 228 Size = MAP_APPFONT ( 59 , 10 ) ; 229 Text [ en-US ] = "Category" ; 230 Left = TRUE ; 231 }; 232 ComboBox BOX_CATEGORY 233 { 234 HelpID = "sw:ComboBox:TP_OPTCAPTION_PAGE:BOX_CATEGORY"; 235 Pos = MAP_APPFONT ( 189 , 14 ) ; 236 Size = MAP_APPFONT ( 59 , 61 ) ; 237 DropDown = TRUE ; 238 TabStop = TRUE ; 239 Sort = TRUE ; 240 }; 241 FixedText TXT_FORMAT 242 { 243 Pos = MAP_APPFONT ( 125 , 31 ) ; 244 Size = MAP_APPFONT ( 59 , 10 ) ; 245 Text [ en-US ] = "~Numbering" ; 246 Left = TRUE ; 247 }; 248 ListBox BOX_FORMAT 249 { 250 HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:BOX_FORMAT"; 251 Border = TRUE ; 252 Pos = MAP_APPFONT ( 189 , 29 ) ; 253 Size = MAP_APPFONT ( 59 , 61 ) ; 254 DropDown = TRUE ; 255 TabStop = TRUE ; 256 }; 257 FixedText FT_NUM_SEP 258 { 259 Pos = MAP_APPFONT ( 125 , 46 ) ; 260 Size = MAP_APPFONT ( 61 , 8 ) ; 261 Text [ en-US ] = "Numbering separator" ; 262 Left = TRUE ; 263 }; 264 Edit ED_NUM_SEP 265 { 266 HelpID = "sw:Edit:TP_OPTCAPTION_PAGE:ED_NUM_SEP"; 267 Pos = MAP_APPFONT ( 189 , 44 ) ; 268 Size = MAP_APPFONT ( 59 , 12 ) ; 269 Border = TRUE ; 270 TabStop = TRUE ; 271 Left = TRUE ; 272 Text = ". " ; 273 }; 274 FixedText TXT_TEXT 275 { 276 Pos = MAP_APPFONT ( 125 , 60 ) ; 277 Size = MAP_APPFONT ( 59 , 10 ) ; 278 Text [ en-US ] = "Separator" ; 279 Left = TRUE ; 280 }; 281 Edit EDT_TEXT 282 { 283 HelpID = "sw:Edit:TP_OPTCAPTION_PAGE:EDT_TEXT"; 284 Pos = MAP_APPFONT ( 189 , 59 ) ; 285 Size = MAP_APPFONT ( 59 , 12 ) ; 286 Border = TRUE ; 287 TabStop = TRUE ; 288 Left = TRUE ; 289 }; 290 FixedText TXT_POS 291 { 292 Pos = MAP_APPFONT ( 125 , 75 ) ; 293 Size = MAP_APPFONT ( 59 , 10 ) ; 294 Left = TRUE ; 295 Text [ en-US ] = "Position" ; 296 }; 297 ListBox BOX_POS 298 { 299 HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:BOX_POS"; 300 Pos = MAP_APPFONT ( 189 , 74 ) ; 301 Size = MAP_APPFONT ( 59 , 61 ) ; 302 DropDown = TRUE ; 303 TabStop = TRUE ; 304 Border = TRUE ; 305 }; 306 307 FixedLine FL_NUMCAPT 308 { 309 Pos = MAP_APPFONT ( 118 , 89 ) ; 310 Size = MAP_APPFONT ( 136 , 8 ) ; 311 Text [ en-US ] = "Numbering captions by chapter" ; 312 }; 313 FixedText FT_LEVEL 314 { 315 Pos = MAP_APPFONT ( 125 , 102 ) ; 316 Size = MAP_APPFONT ( 59 , 10 ) ; 317 Text [ en-US ] = "Level" ; 318 }; 319 ListBox LB_LEVEL 320 { 321 HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:LB_LEVEL"; 322 Border = TRUE ; 323 Pos = MAP_APPFONT ( 189 , 100 ) ; 324 Size = MAP_APPFONT ( 59 , 60 ) ; 325 TabStop = TRUE ; 326 DropDown = TRUE ; 327 StringList [ en-US ] = 328 { 329 < "None" ; > ; 330 }; 331 }; 332 FixedText FT_SEPARATOR 333 { 334 Pos = MAP_APPFONT ( 125 , 117 ) ; 335 Size = MAP_APPFONT ( 59 , 10 ) ; 336 Text [ en-US ] = "Separator" ; 337 }; 338 Edit ED_SEPARATOR 339 { 340 HelpID = "sw:Edit:TP_OPTCAPTION_PAGE:ED_SEPARATOR"; 341 Pos = MAP_APPFONT ( 189 , 115 ) ; 342 Size = MAP_APPFONT ( 59 , 12 ) ; 343 Border = TRUE ; 344 MaxTextLength = 1 ; 345 TEXT = "." ; 346 }; 347 FixedLine FL_CATEGORY 348 { 349 Pos = MAP_APPFONT ( 118 , 130 ) ; 350 Size = MAP_APPFONT ( 136 , 8 ) ; 351 Text [ en-US ] = "Category and frame format" ; 352 }; 353 FixedText FT_CHARSTYLE 354 { 355 Pos = MAP_APPFONT ( 125 , 143 ) ; 356 Size = MAP_APPFONT ( 59 , 10 ) ; 357 Text [ en-US ] = "Character style" ; 358 }; 359 ListBox LB_CHARSTYLE 360 { 361 HelpID = "sw:ListBox:TP_OPTCAPTION_PAGE:LB_CHARSTYLE"; 362 Border = TRUE ; 363 Pos = MAP_APPFONT ( 189 , 141 ) ; 364 Size = MAP_APPFONT ( 59 , 60 ) ; 365 TabStop = TRUE ; 366 DropDown = TRUE ; 367 StringList [ en-US ] = 368 { 369 < "None" ; > ; 370 }; 371 }; 372 CheckBox CB_APPLYBORDER 373 { 374 HelpID = "sw:CheckBox:TP_OPTCAPTION_PAGE:CB_APPLYBORDER"; 375 Pos = MAP_APPFONT ( 125 , 158 ) ; 376 Size = MAP_APPFONT ( 124 , 10 ) ; 377 Text [ en-US ] = "Apply border and shadow" ; 378 }; 379 380 String STR_BEGINNING 381 { 382 Text [ en-US ] = "At the beginning" ; 383 }; 384 String STR_END 385 { 386 Text [ en-US ] = "At the end" ; 387 }; 388 String STR_ABOVE 389 { 390 Text [ en-US ] = "Above" ; 391 }; 392 String STR_CP_BELOW 393 { 394 Text [ en-US ] = "Below" ; 395 }; 396 String STR_CATEGORY_NONE 397 { 398 Text [ en-US ] = "<None>" ; 399 }; 400}; 401 402StringArray STR_ARR_METRIC 403{ 404 ItemList [ en-US ] = 405 { 406 < "Millimeter" ; FUNIT_MM ; > ; 407 < "Centimeter" ; FUNIT_CM ; > ; 408 < "Meter" ; FUNIT_M ; > ; 409 < "Kilometer" ; FUNIT_KM ; > ; 410 < "Inch" ; FUNIT_INCH ; > ; 411 < "Foot" ; FUNIT_FOOT ; > ; 412 < "Miles" ; FUNIT_MILE ; > ; 413 < "Pica" ; FUNIT_PICA ; > ; 414 < "Point" ; FUNIT_POINT ; > ; 415 }; 416}; 417 418