1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "regionsw.hrc"
22 #include "globals.hrc"
24 /*************************************************************************
28 *************************************************************************/
29 #define FT_SUBREG_TEXT \
30 Text [ en-US ] = "~Section" ; \
32 #define CB_HIDE_TEXT \
33 Text [ en-US ] = "H~ide" ;\
35 #define FL_HIDE_TEXT \
36 Text [ en-US ] = "Hide" ;\
38 #define CB_CONDITION_TEXT \
39 Text [ en-US ] = "~With Condition" ;\
41 #define FL_PROPERTIES_TEXT \
42 Text [ en-US ] = "Properties" ;\
44 #define CB_EDIT_IN_READONLY_TEXT \
45 Text [ en-US ] = "E~ditable in read-only document" ;\
47 #define FL_FILE_TEXT \
48 Text [ en-US ] = "Link" ;\
51 Text [ en-US ] = "~Link";\
54 Text [ en-US ] = "DD~E" ;\
57 Text [ en-US ] = "DDE ~command" ;\
59 #define FT_FILE_TEXT \
60 Text [ en-US ] = "~File name" ;\
63 #define GB_HIDE_TEXT \
64 Text [ en-US ] = "Hide";\
66 #define GB_OPTIONS_TEXT \
67 Text [ en-US ] = "Options" ;\
69 #define FL_PROTECT_TEXT \
70 Text [ en-US ] = "Write protection";\
72 #define CB_PASSWD_TEXT\
73 Text [ en-US ] = "Wit~h password";\
75 #define DLG_IMAGE_IDLIST \
80 BMP_PROT_HIDE /*3*/ ;\
81 BMP_PROT_NO_HIDE /*4*/ ;\
85 ImageList IL_SECTION_BITMAPS
88 MaskColor = IMAGE_MASK_COLOR ;
92 String STR_REG_DUPLICATE
94 Text [ en-US ] = "Section name changed:" ;
96 String STR_INFO_DUPLICATE
98 Text [ en-US ] = "Duplicate section name" ;
102 Buttons = WB_YES_NO ;
103 DefButton = WB_DEF_NO ;
104 Message [ en-US ] = "A file connection will delete the contents of the current section. Connect anyway?" ;
106 InfoBox REG_WRONG_PASSWORD
109 DEFBUTTON = WB_DEF_OK ;
110 Message [ en-US ] = "The password entered is invalid." ;
112 InfoBox REG_WRONG_PASSWD_REPEAT
115 DEFBUTTON = WB_DEF_OK ;
116 Message [ en-US ] = "The password has not been set." ;
119 TabDialog DLG_INSERT_SECTION
121 HelpId = HID_INSERT_SECTION_DLG;
122 Text [ en-US ] = "Insert Section" ;
133 Identifier = TP_INSERT_SECTION;
134 PageResID = TP_INSERT_SECTION;
135 Text [ en-US ] = "Section";
139 Identifier = TP_COLUMN ;
140 PageResID = TP_COLUMN ;
141 Text [ en-US ] = "Columns" ;
145 Identifier = TP_SECTION_INDENTS;
146 PageResID = TP_SECTION_INDENTS;
147 Text [ en-US ] = "Indents" ;
151 Identifier = TP_BACKGROUND ;
152 PageResID = TP_BACKGROUND ;
153 Text [ en-US ] = "Background" ;
157 Identifier = TP_SECTION_FTNENDNOTES ;
158 PageResID = TP_SECTION_FTNENDNOTES ;
159 Text [ en-US ] = "Footnotes/Endnotes";
165 Text [ en-US ] = "Insert" ;
169 TabPage TP_INSERT_SECTION
171 HelpID = HID_INSERT_SECTION_PAGE;
173 Pos = MAP_APPFONT ( 0 , 0 ) ;
174 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
179 Pos = MAP_APPFONT ( 6 , 3 ) ;
180 Size = MAP_APPFONT ( 78 , 8 ) ;
181 Text [ en-US ] = "New section" ;
185 HelpID = "sw:ComboBox:TP_INSERT_SECTION:ED_RNAME";
186 Pos = MAP_APPFONT ( 12 , 14 ) ;
187 Size = MAP_APPFONT ( 69 , 140 ) ;
195 Pos = MAP_APPFONT ( 90 , 3 ) ;
196 Size = MAP_APPFONT ( 164 , 8 ) ;
201 HelpID = "sw:CheckBox:TP_INSERT_SECTION:CB_FILE";
202 Pos = MAP_APPFONT ( 96 , 14 ) ;
203 Size = MAP_APPFONT ( 60 , 10 ) ;
209 HelpID = "sw:CheckBox:TP_INSERT_SECTION:CB_DDE";
210 Pos = MAP_APPFONT ( 96 , 28) ;
211 Size = MAP_APPFONT ( 60 , 10 ) ;
217 Pos = MAP_APPFONT ( 96 , 44 ) ;
218 Size = MAP_APPFONT ( 50 , 8 ) ;
224 Pos = MAP_APPFONT ( 96 , 44 ) ;
225 Size = MAP_APPFONT ( 50 , 8 ) ;
231 HelpID = "sw:Edit:TP_INSERT_SECTION:ED_FILE";
233 Pos = MAP_APPFONT ( 160 , 42 ) ;
234 Size = MAP_APPFONT ( 76 , 12 ) ;
240 HelpID = "sw:PushButton:TP_INSERT_SECTION:PB_FILE";
241 Pos = MAP_APPFONT ( 239 , 42 ) ;
242 Size = MAP_APPFONT ( 12 , 12 ) ;
249 Pos = MAP_APPFONT ( 96 , 60 ) ;
250 Size = MAP_APPFONT ( 50 , 8 ) ;
256 HelpID = "sw:ComboBox:TP_INSERT_SECTION:LB_SUBREG";
257 Pos = MAP_APPFONT ( 160 , 58 ) ;
258 Size = MAP_APPFONT ( 76 , 50 ) ;
267 Pos = MAP_APPFONT ( 90 , 76 ) ;
268 Size = MAP_APPFONT ( 164 , 8 ) ;
273 HelpID = "sw:CheckBox:TP_INSERT_SECTION:CB_PROTECT";
274 Pos = MAP_APPFONT ( 96 , 87 ) ;
275 Size = MAP_APPFONT ( 100 , 10 ) ;
277 Text [ en-US ] = "~Protect";
281 HelpID = "sw:CheckBox:TP_INSERT_SECTION:CB_PASSWD";
282 Pos = MAP_APPFONT ( 105 , 101 ) ;
283 Size = MAP_APPFONT ( 100 , 10 ) ;
289 HelpID = "sw:PushButton:TP_INSERT_SECTION:PB_PASSWD";
290 Pos = MAP_APPFONT ( 239 , 99 ) ;
291 Size = MAP_APPFONT ( 12 , 12 ) ;
298 Pos = MAP_APPFONT ( 90 , 117 ) ;
299 Size = MAP_APPFONT ( 164 , 8 ) ;
304 HelpID = "sw:CheckBox:TP_INSERT_SECTION:CB_HIDE";
305 Pos = MAP_APPFONT ( 96 , 128 ) ;
306 Size = MAP_APPFONT ( 100 , 10 ) ;
309 FixedText FT_CONDITION
311 Pos = MAP_APPFONT ( 96 , 144 ) ;
312 Size = MAP_APPFONT ( 60 , 8 ) ;
318 HelpID = "sw:Edit:TP_INSERT_SECTION:ED_CONDITION";
320 Pos = MAP_APPFONT ( 160 , 142 ) ;
321 Size = MAP_APPFONT ( 91 , 12 ) ;
326 FixedLine FL_PROPERTIES
329 Pos = MAP_APPFONT ( 90 , 159 ) ;
330 Size = MAP_APPFONT ( 164 , 8 ) ;
333 CheckBox CB_EDIT_IN_READONLY
335 HelpID = "sw:CheckBox:TP_INSERT_SECTION:CB_EDIT_IN_READONLY";
336 Pos = MAP_APPFONT ( 96 , 170 ) ;
337 Size = MAP_APPFONT ( 158 , 10 ) ;
338 CB_EDIT_IN_READONLY_TEXT
343 TabDialog DLG_SECTION_PROPERTIES
345 HelpId = HID_SECTION_PROPERTIES_DLG;
356 Identifier = TP_COLUMN ;
357 PageResID = TP_COLUMN ;
358 Text [ en-US ] = "Columns" ;
362 Identifier = TP_SECTION_INDENTS;
363 PageResID = TP_SECTION_INDENTS;
364 Text [ en-US ] = "Indents" ;
368 Identifier = TP_BACKGROUND ;
369 PageResID = TP_BACKGROUND ;
370 Text [ en-US ] = "Background" ;
374 Identifier = TP_SECTION_FTNENDNOTES ;
375 PageResID = TP_SECTION_FTNENDNOTES ;
376 Text [ en-US ] = "Footnotes/Endnotes";
380 Text [ en-US ] = "Options";
384 TabPage TP_SECTION_FTNENDNOTES
386 HelpID = HID_SECTION_FTNENDNOTES_PAGE;
388 Pos = MAP_APPFONT ( 0 , 0 ) ;
389 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
394 Pos = MAP_APPFONT ( 6 , 3 ) ;
395 Size = MAP_APPFONT ( 248 , 8 ) ;
396 Text [ en-US ] = "Footnotes";
398 CheckBox CB_FTN_AT_TXTEND
400 HelpID = "sw:CheckBox:TP_SECTION_FTNENDNOTES:CB_FTN_AT_TXTEND";
401 Pos = MAP_APPFONT ( 12 , 14 ) ;
402 Size = MAP_APPFONT ( 90 , 10 ) ;
404 Text [ en-US ] = "Collec~t at end of text";
409 HelpID = "sw:CheckBox:TP_SECTION_FTNENDNOTES:CB_FTN_NUM";
410 Pos = MAP_APPFONT ( 18 , 29 ) ;
411 Size = MAP_APPFONT ( 100 , 10 ) ;
413 Text [ en-US ] = "~Restart numbering";
415 FixedText FT_FTN_OFFSET
417 Pos = MAP_APPFONT ( 24 , 46 ) ;
418 Size = MAP_APPFONT ( 64 , 8 ) ;
420 Text [ en-US ] = "~Start at" ;
422 NumericField FLD_FTN_OFFSET
424 HelpID = "sw:NumericField:TP_SECTION_FTNENDNOTES:FLD_FTN_OFFSET";
425 Pos = MAP_APPFONT ( 90 , 44 ) ;
426 Size = MAP_APPFONT ( 30 , 12 ) ;
435 CheckBox CB_FTN_NUM_FMT
437 HelpID = "sw:CheckBox:TP_SECTION_FTNENDNOTES:CB_FTN_NUM_FMT";
438 Pos = MAP_APPFONT ( 24 , 61 ) ;
439 Size = MAP_APPFONT ( 100 , 10 ) ;
441 Text [ en-US ] = "Custom ~format";
443 FixedText FT_FTN_PREFIX
445 Pos = MAP_APPFONT ( 30 , 76 ) ;
446 Size = MAP_APPFONT ( 58 , 8 ) ;
447 Text [ en-US ] = "Be~fore" ;
452 HelpID = "sw:Edit:TP_SECTION_FTNENDNOTES:ED_FTN_PREFIX";
454 Pos = MAP_APPFONT ( 90 , 74 ) ;
455 Size = MAP_APPFONT ( 30 , 12 ) ;
460 ListBox LB_FTN_NUMVIEW
462 HelpID = "sw:ListBox:TP_SECTION_FTNENDNOTES:LB_FTN_NUMVIEW";
464 Pos = MAP_APPFONT ( 123 , 74 ) ;
465 Size = MAP_APPFONT ( 62 , 50 ) ;
470 FixedText FT_FTN_SUFFIX
472 Pos = MAP_APPFONT ( 191 , 76 ) ;
473 Size = MAP_APPFONT ( 25 , 8 ) ;
474 Text [ en-US ] = "Aft~er" ;
479 HelpID = "sw:Edit:TP_SECTION_FTNENDNOTES:ED_FTN_SUFFIX";
481 Pos = MAP_APPFONT ( 219 , 74 ) ;
482 Size = MAP_APPFONT ( 30 , 12 ) ;
492 Pos = MAP_APPFONT ( 6 , 92 ) ;
493 Size = MAP_APPFONT ( 248 , 8 ) ;
494 Text [ en-US ] = "Endnotes";
496 CheckBox CB_END_AT_TXTEND
498 HelpID = "sw:CheckBox:TP_SECTION_FTNENDNOTES:CB_END_AT_TXTEND";
499 Pos = MAP_APPFONT ( 12 , 103 ) ;
500 Size = MAP_APPFONT ( 100 , 10 ) ;
502 Text [ en-US ] = "C~ollect at end of section";
506 HelpID = "sw:CheckBox:TP_SECTION_FTNENDNOTES:CB_END_NUM";
507 Pos = MAP_APPFONT ( 16 , 118 ) ;
508 Size = MAP_APPFONT ( 100 , 10 ) ;
510 Text [ en-US ] = "~Restart numbering";
512 FixedText FT_END_OFFSET
514 Pos = MAP_APPFONT ( 24 , 135 ) ;
515 Size = MAP_APPFONT ( 64 , 8 ) ;
517 Text [ en-US ] = "~Start at" ;
519 NumericField FLD_END_OFFSET
521 HelpID = "sw:NumericField:TP_SECTION_FTNENDNOTES:FLD_END_OFFSET";
522 Pos = MAP_APPFONT ( 90 , 133 ) ;
523 Size = MAP_APPFONT ( 30 , 12 ) ;
532 CheckBox CB_END_NUM_FMT
534 HelpID = "sw:CheckBox:TP_SECTION_FTNENDNOTES:CB_END_NUM_FMT";
535 Pos = MAP_APPFONT ( 24 , 150 ) ;
536 Size = MAP_APPFONT ( 100 , 10 ) ;
538 Text [ en-US ] = "Custom format";
541 FixedText FT_END_PREFIX
543 Pos = MAP_APPFONT ( 30 , 165 ) ;
544 Size = MAP_APPFONT ( 58 , 8 ) ;
545 Text [ en-US ] = "Be~fore" ;
550 HelpID = "sw:Edit:TP_SECTION_FTNENDNOTES:ED_END_PREFIX";
552 Pos = MAP_APPFONT ( 90 , 163 ) ;
553 Size = MAP_APPFONT ( 30 , 12 ) ;
558 ListBox LB_END_NUMVIEW
560 HelpID = "sw:ListBox:TP_SECTION_FTNENDNOTES:LB_END_NUMVIEW";
562 Pos = MAP_APPFONT ( 123 , 163 ) ;
563 Size = MAP_APPFONT ( 62 , 50 ) ;
569 FixedText FT_END_SUFFIX
571 Pos = MAP_APPFONT ( 191 , 165 ) ;
572 Size = MAP_APPFONT ( 25 , 8 ) ;
573 Text [ en-US ] = "Aft~er" ;
578 HelpID = "sw:Edit:TP_SECTION_FTNENDNOTES:ED_END_SUFFIX";
580 Pos = MAP_APPFONT ( 219 , 163 ) ;
581 Size = MAP_APPFONT ( 30 , 12 ) ;
588 TabPage TP_SECTION_INDENTS
590 HelpID = HID_SECTION_INDENTS_PAGE;
592 Pos = MAP_APPFONT ( 0 , 0 ) ;
593 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
597 Pos = MAP_APPFONT ( 6 , 3 ) ;
598 Size = MAP_APPFONT ( 173 , 8 ) ;
599 Text [ en-US ] = "Indent" ;
603 Pos = MAP_APPFONT ( 12 , 16 ) ;
604 Size = MAP_APPFONT ( 120 , 8 ) ;
606 Text [ en-US ] = "~Before section" ;
608 MetricField MF_BEFORE
610 HelpID = "sw:MetricField:TP_SECTION_INDENTS:MF_BEFORE";
612 Pos = MAP_APPFONT ( 135 , 14 ) ;
613 Size = MAP_APPFONT ( 40 , 12 ) ;
627 Pos = MAP_APPFONT ( 12 , 32 ) ;
628 Size = MAP_APPFONT ( 120 , 8 ) ;
630 Text [ en-US ] = "~After section" ;
634 HelpID = "sw:MetricField:TP_SECTION_INDENTS:MF_AFTER";
636 Pos = MAP_APPFONT ( 135 , 30 ) ;
637 Size = MAP_APPFONT ( 40 , 12 ) ;
652 Pos = MAP_APPFONT ( 185 , 7 ) ;
653 Size = MAP_APPFONT ( 68 , 112 ) ;
657 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */