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