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 "misc.hrc" 25#include "glossary.hrc" 26#include "cmdid.h" 27#include "helpid.h" 28#include "access.hrc" 29 30 // #define DLG_GLOSSARY 256 31ModalDialog DLG_GLOSSARY 32{ 33 HelpID = CMD_FN_GLOSSARY_DLG ; 34 OutputSize = TRUE ; 35 SVLook = TRUE ; 36 Size = MAP_APPFONT ( 375 , 164 ) ; 37 Text [ en-US ] = "AutoText" ; 38 Moveable = TRUE ; 39 CheckBox CB_INSERT_TIP 40 { 41 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_INSERT_TIP"; 42 Pos = MAP_APPFONT ( 12 , 12 ) ; 43 Size = MAP_APPFONT ( 200 , 12 ) ; 44 TabStop = TRUE ; 45 Text [ en-US ] = "~Display remainder of name as suggestion while typing" ; 46 }; 47 FixedText FT_NAME 48 { 49 Pos = MAP_APPFONT ( 12 , 31 ) ; 50 Size = MAP_APPFONT ( 40 , 8 ) ; 51 Text [ en-US ] = "~Name" ; 52 Left = TRUE ; 53 }; 54 Edit ED_NAME 55 { 56 HelpID = "sw:Edit:DLG_GLOSSARY:ED_NAME"; 57 Border = TRUE ; 58 Pos = MAP_APPFONT ( 55 , 29 ) ; 59 Size = MAP_APPFONT ( 85 , 12 ) ; 60 TabStop = TRUE ; 61 Left = TRUE ; 62 }; 63 FixedText FT_SHORTNAME 64 { 65 Disable = TRUE ; 66 Pos = MAP_APPFONT ( 143 , 31 ) ; 67 Size = MAP_APPFONT ( 57 , 8 ) ; 68 Text [ en-US ] = "~Shortcut" ; 69 Right = TRUE ; 70 }; 71 Edit ED_SHORTNAME 72 { 73 HelpID = "sw:Edit:DLG_GLOSSARY:ED_SHORTNAME"; 74 Disable = TRUE ; 75 Border = TRUE ; 76 Pos = MAP_APPFONT ( 203 , 29 ) ; 77 Size = MAP_APPFONT ( 21 , 12 ) ; 78 TabStop = TRUE ; 79 Left = TRUE ; 80 }; 81 Control LB_BIB 82 { 83 Border = TRUE ; 84 Pos = MAP_APPFONT ( 12 , 44 ) ; 85 Size = MAP_APPFONT ( 212 , 84 ) ; 86 TabStop = TRUE ; 87 // Sort = TRUE ; 88 // CurPos = 0 ; 89 String ST_READONLY 90 { 91 Text [ en-US ] = "read-only"; 92 }; 93 }; 94 FixedLine FL_RELATIVE 95 { 96 Pos = MAP_APPFONT ( 6 , 134 ) ; 97 Size = MAP_APPFONT ( 221 , 8 ) ; 98 Text [ en-US ] = "Save links relative to"; 99 }; 100 CheckBox CB_FILE_REL 101 { 102 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_FILE_REL"; 103 Pos = MAP_APPFONT ( 14 , 145 ) ; 104 Size = MAP_APPFONT ( 90 , 12 ) ; 105 TabStop = TRUE ; 106 Text [ en-US ] = "~File system" ; 107 }; 108 CheckBox CB_NET_REL 109 { 110 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_NET_REL"; 111 Pos = MAP_APPFONT ( 109 , 145 ) ; 112 Size = MAP_APPFONT ( 90 , 12 ) ; 113 Text [ en-US ] = "Inte~rnet" ; 114 }; 115 Window WIN_EXAMPLE 116 { 117 Pos = MAP_APPFONT ( 231 , 14 ) ; 118 Size = MAP_APPFONT ( 82 , 124 ) ; 119 }; 120 Window WIN_EXAMPLE_DUMMY 121 { 122 Pos = MAP_APPFONT ( 231 , 14 ) ; 123 Size = MAP_APPFONT ( 82 , 124 ) ; 124 Border = TRUE; 125 }; 126 CheckBox CB_SHOW_EXAMPLE 127 { 128 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_SHOW_EXAMPLE"; 129 Pos = MAP_APPFONT ( 231 , 145 ) ; 130 Size = MAP_APPFONT ( 82 , 12 ) ; 131 Text [ en-US ] = "Sho~w preview"; 132 }; 133 OKButton PB_INSERT 134 { 135 Pos = MAP_APPFONT ( 319 , 6 ) ; 136 Size = MAP_APPFONT ( 50 , 14 ) ; 137 /* ### ACHTUNG: Neuer Text in Resource? ~Einf�gen : ~Einf�gen */ 138 Text [ en-US ] = "~Insert" ; 139 /* ### ACHTUNG: Neuer Text in Resource? F�gt den aktuellen Textblock ein und schlie�t das Dialogfeld : F�gt den aktuellen Textblock ein und schlie�t das Dialogfeld */ 140 TabStop = TRUE ; 141 DefButton = TRUE ; 142 }; 143 CancelButton PB_CLOSE 144 { 145 Pos = MAP_APPFONT ( 319 , 23 ) ; 146 Size = MAP_APPFONT ( 50 , 14 ) ; 147 /* ### ACHTUNG: Neuer Text in Resource? ~Schlie�en : ~Schlie�en */ 148 Text [ en-US ] = "~Close" ; 149 TabStop = TRUE ; 150 }; 151 HelpButton PB_HELP 152 { 153 Pos = MAP_APPFONT ( 319 , 43 ) ; 154 Size = MAP_APPFONT ( 50 , 14 ) ; 155 }; 156 MenuButton PB_EDIT 157 { 158 HelpID = "sw:MenuButton:DLG_GLOSSARY:PB_EDIT"; 159 Pos = MAP_APPFONT ( 319 , 60 ) ; 160 Size = MAP_APPFONT ( 50 , 14 ) ; 161 Text [ en-US ] = "AutoTe~xt" ; 162 TabStop = TRUE ; 163 }; 164 PushButton PB_BIB 165 { 166 HelpID = "sw:PushButton:DLG_GLOSSARY:PB_BIB"; 167 Pos = MAP_APPFONT ( 319 , 77 ) ; 168 Size = MAP_APPFONT ( 50 , 14 ) ; 169 Text [ en-US ] = "C~ategories..." ; 170 TabStop = TRUE ; 171 }; 172 PushButton PB_PATH 173 { 174 HelpID = "sw:PushButton:DLG_GLOSSARY:PB_PATH"; 175 Pos = MAP_APPFONT ( 319 , 94 ) ; 176 Size = MAP_APPFONT ( 50 , 14 ) ; 177 TabStop = TRUE ; 178 Text [ en-US ] = "~Path..." ; 179 }; 180 String ST_READONLY_PATH 181 { 182 Text [ en-US ] = "The 'AutoText' directories are read-only. Do you want to call the path settings dialog?"; 183 }; 184 Menu MNU_EDIT 185 { 186 ItemList = 187 { 188 MenuItem 189 { 190 Identifier = FN_GL_DEFINE ; 191 HelpID = HID_MD_GLOS_DEFINE ; 192 Text [ en-US ] = "~New" ; 193 }; 194 MenuItem 195 { 196 Identifier = FN_GL_DEFINE_TEXT ; 197 HelpID = HID_MD_GLOS_DEFINE_TEXT ; 198 Text [ en-US ] = "New (text only)" ; 199 }; 200 MenuItem 201 { 202 Identifier = FN_GL_COPY_TO_CLIPBOARD; 203 HelpID = HID_MD_COPY_TO_CLIPBOARD; 204 Text [ en-US ] = "~Copy"; 205 }; 206 MenuItem 207 { 208 Identifier = FN_GL_REPLACE ; 209 HelpID = HID_MD_GLOS_REPLACE ; 210 Text [ en-US ] = "Replace" ; 211 }; 212 MenuItem 213 { 214 Identifier = FN_GL_REPLACE_TEXT; 215 HelpID = HID_MD_GLOS_REPLACE; 216 Text [ en-US ] = "Rep~lace (text only)" ; 217 }; 218 MenuItem 219 { 220 Identifier = FN_GL_RENAME ; 221 HelpID = HID_MD_GLOS_RENAME ; 222 Text [ en-US ] = "Rename..." ; 223 }; 224 MenuItem 225 { 226 Identifier = FN_GL_DELETE ; 227 HelpID = HID_MD_GLOS_DELETE ; 228 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */ 229 Text [ en-US ] = "~Delete" ; 230 }; 231 MenuItem 232 { 233 Separator = TRUE ; 234 }; 235 MenuItem 236 { 237 Identifier = FN_GL_EDIT ; 238 HelpID = HID_MD_GLOS_EDIT ; 239 Text [ en-US ] = "~Edit" ; 240 }; 241 MenuItem 242 { 243 Separator = TRUE ; 244 }; 245 MenuItem 246 { 247 Identifier = FN_GL_MACRO ; 248 HelpID = HID_MD_GLOS_MACRO ; 249 Text [ en-US ] = "~Macro..." ; 250 }; 251 MenuItem 252 { 253 Separator = TRUE ; 254 }; 255 MenuItem 256 { 257 Identifier = FN_GL_IMPORT; 258 HelpID = HID_MD_GLOS_IMPORT ; 259 Text [ en-US ] = "~Import..."; 260 }; 261 }; 262 }; 263}; 264InfoBox MSG_DOUBLE_SHORTNAME 265{ 266 /* ### ACHTUNG: Neuer Text in Resource? K�rzel wird bereits verwendet. Bitte einen anderen Namen vergeben! : K�rzel wird bereits verwendet. Bitte einen anderen Namen vergeben! */ 267 Message [ en-US ] = "Shortcut name already exists. Please choose another name." ; 268}; 269QueryBox MSG_QUERY_DELETE 270{ 271 BUTTONS = WB_YES_NO ; 272 DEFBUTTON = WB_DEF_NO ; 273 /* ### ACHTUNG: Neuer Text in Resource? Soll der AutoText gel�scht werden? : Soll der AutoText gel�scht werden? */ 274 Message [ en-US ] = "Delete AutoText?" ; 275}; 276String STR_QUERY_DELETE_GROUP1 277{ 278 Text [ en-US ] = "Delete the category " ; 279}; 280String STR_QUERY_DELETE_GROUP2 281{ 282 /* ### ACHTUNG: Neuer Text in Resource? gel�scht werden? : gel�scht werden? */ 283 Text [ en-US ] = "?" ; 284}; 285String STR_GLOSSARY 286{ 287 Text [ en-US ] = "AutoText :" ; 288}; 289String STR_ACCESS_SW_CATEGORY 290{ 291 Text [ en-US ] = "Category" ; 292}; 293ModalDialog DLG_RENAME_GLOS 294{ 295 OutputSize = TRUE ; 296 SVLook = TRUE ; 297 Size = MAP_APPFONT ( 287 , 47 ) ; 298 Moveable = TRUE ; 299 HelpID = HID_RENAME_GLOSSARY ; 300 OKButton BT_OKNEW 301 { 302 Disable = TRUE ; 303 Pos = MAP_APPFONT ( 231 , 6 ) ; 304 Size = MAP_APPFONT ( 50 , 14 ) ; 305 DefButton = TRUE ; 306 TabStop = TRUE ; 307 }; 308 CancelButton BT_CANCEL 309 { 310 Pos = MAP_APPFONT ( 231 , 23 ) ; 311 Size = MAP_APPFONT ( 50 , 14 ) ; 312 TabStop = TRUE ; 313 }; 314 FixedText FT_ON 315 { 316 Pos = MAP_APPFONT ( 12 , 14 ) ; 317 Size = MAP_APPFONT ( 30 , 8 ) ; 318 Text [ en-US ] = "Na~me" ; 319 }; 320 Edit ED_ON 321 { 322 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_ON"; 323 ReadOnly = TRUE ; 324 Border = TRUE ; 325 Pos = MAP_APPFONT ( 44 , 12 ) ; 326 Size = MAP_APPFONT ( 100 , 12 ) ; 327 Left = TRUE ; 328 }; 329 FixedText FT_OS 330 { 331 Pos = MAP_APPFONT ( 147 , 14 ) ; 332 Size = MAP_APPFONT ( 52 , 8 ) ; 333 Text [ en-US ] = "Short~cut" ; 334 }; 335 Edit ED_OS 336 { 337 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_OS"; 338 ReadOnly = TRUE ; 339 Border = TRUE ; 340 Pos = MAP_APPFONT ( 200 , 12 ) ; 341 Size = MAP_APPFONT ( 21 , 12 ) ; 342 Left = TRUE ; 343 }; 344 FixedText FT_NN 345 { 346 Pos = MAP_APPFONT ( 12 , 29 ) ; 347 Size = MAP_APPFONT ( 30 , 8 ) ; 348 Text [ en-US ] = "~New" ; 349 }; 350 Edit ED_NN 351 { 352 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_NN"; 353 TabStop = TRUE ; 354 Border = TRUE ; 355 Pos = MAP_APPFONT ( 44 , 27 ) ; 356 Size = MAP_APPFONT ( 100 , 12 ) ; 357 Left = TRUE ; 358 }; 359 FixedText FT_NS 360 { 361 Pos = MAP_APPFONT ( 147 , 29 ) ; 362 Size = MAP_APPFONT ( 52 , 8 ) ; 363 Text [ en-US ] = "~Shortcut" ; 364 }; 365 Edit ED_NS 366 { 367 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_NS"; 368 TabStop = TRUE ; 369 Border = TRUE ; 370 Pos = MAP_APPFONT ( 200 , 27 ) ; 371 Size = MAP_APPFONT ( 21 , 12 ) ; 372 Left = TRUE ; 373 }; 374 FixedLine FL_NN 375 { 376 Pos = MAP_APPFONT ( 6 , 3 ) ; 377 Size = MAP_APPFONT ( 219 , 8 ) ; 378 }; 379 Text [ en-US ] = "Rename AutoText" ; 380}; 381String STR_SAVE_GLOSSARY 382{ 383 Text[ en-US ] = "Save AutoText"; 384}; 385InfoBox MSG_NO_GLOSSARIES 386{ 387 Message [ en-US ] = "There is no AutoText in this file."; 388}; 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 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 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479