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