1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 // include ---------------------------------------------------------------
30 #include "paragrph.hrc"
31 #include <svx/dialogs.hrc>
33 // RID_SVXPAGE_STD_PARAGRAPH ---------------------------------------------
34 TabPage RID_SVXPAGE_STD_PARAGRAPH
36 HelpId = HID_FORMAT_PARAGRAPH_STD ;
38 Text [ en-US ] = "Indents and Spacing" ;
39 Size = MAP_APPFONT ( 260 , 185 ) ;
40 FixedText FT_LEFTINDENT
42 Pos = MAP_APPFONT ( 12 , 16 ) ;
43 Size = MAP_APPFONT ( 120 , 8 ) ;
45 Text [ en-US ] = "Before text" ;
47 MetricField ED_LEFTINDENT
49 HelpID = "cui:MetricField:RID_SVXPAGE_STD_PARAGRAPH:ED_LEFTINDENT";
51 Pos = MAP_APPFONT ( 135 , 14 ) ;
52 Size = MAP_APPFONT ( 40 , 12 ) ;
63 FixedText FT_RIGHTINDENT
65 Pos = MAP_APPFONT ( 12 , 32 ) ;
66 Size = MAP_APPFONT ( 120 , 8 ) ;
68 Text [ en-US ] = "After text" ;
70 MetricField ED_RIGHTINDENT
72 HelpID = "cui:MetricField:RID_SVXPAGE_STD_PARAGRAPH:ED_RIGHTINDENT";
74 Pos = MAP_APPFONT ( 135 , 30 ) ;
75 Size = MAP_APPFONT ( 40 , 12 ) ;
86 FixedText FT_FLINEINDENT
88 Pos = MAP_APPFONT ( 12 , 48 ) ;
89 Size = MAP_APPFONT ( 120 , 8 ) ;
90 Text [ en-US ] = "~First line" ;
93 MetricField ED_FLINEINDENT
95 HelpID = "cui:MetricField:RID_SVXPAGE_STD_PARAGRAPH:ED_FLINEINDENT";
97 Pos = MAP_APPFONT ( 135 , 46 ) ;
98 Size = MAP_APPFONT ( 40 , 12 ) ;
113 HelpID = "cui:CheckBox:RID_SVXPAGE_STD_PARAGRAPH:CB_AUTO";
114 Pos = MAP_APPFONT ( 12 , 61 ) ;
115 Size = MAP_APPFONT ( 120 , 10 ) ;
117 Text [ en-US ] = "~Automatic" ;
121 Pos = MAP_APPFONT ( 6 , 3 ) ;
122 Size = MAP_APPFONT ( 173 , 8 ) ;
123 Text [ en-US ] = "Indent" ;
127 Pos = MAP_APPFONT ( 12 , 90 ) ;
128 Size = MAP_APPFONT ( 120 , 8 ) ;
130 Text [ en-US ] = "Ab~ove paragraph" ;
132 MetricField ED_TOPDIST
134 HelpID = "cui:MetricField:RID_SVXPAGE_STD_PARAGRAPH:ED_TOPDIST";
136 Pos = MAP_APPFONT ( 135 , 88 ) ;
137 Size = MAP_APPFONT ( 40 , 12 ) ;
148 FixedText FT_BOTTOMDIST
150 Pos = MAP_APPFONT ( 12 , 104 ) ;
151 Size = MAP_APPFONT ( 120 , 8 ) ;
153 Text [ en-US ] = "Below paragraph" ;
155 MetricField ED_BOTTOMDIST
157 HelpID = "cui:MetricField:RID_SVXPAGE_STD_PARAGRAPH:ED_BOTTOMDIST";
159 Pos = MAP_APPFONT ( 135 , 104 ) ;
160 Size = MAP_APPFONT ( 40 , 12 ) ;
173 Pos = MAP_APPFONT ( 6 , 77 ) ;
174 Size = MAP_APPFONT ( 173 , 8 ) ;
175 Text [ en-US ] = "Spacing" ;
179 HelpID = "cui:ListBox:RID_SVXPAGE_STD_PARAGRAPH:LB_LINEDIST";
180 Pos = MAP_APPFONT ( 12 , 133 ) ;
181 Size = MAP_APPFONT ( 55 , 72 ) ;
183 StringList [ en-US ] =
185 < "Single" ; Default ; > ;
186 < "1.5 lines" ; Default ; > ;
187 < "Double" ; Default ; > ;
188 < "Proportional" ; Default ; > ;
189 < "At least" ; Default ; > ;
190 < "Leading" ; Default ; > ;
193 String ST_LINEDIST_ABS
195 Text [ en-US ] = "Fixed" ;
197 FixedText FT_LINEDIST
200 Pos = MAP_APPFONT ( 70 , 135 ) ;
201 Size = MAP_APPFONT ( 60 , 8 ) ;
202 Text [ en-US ] = "of" ;
205 MetricField ED_LINEDISTPERCENT
207 HelpID = "cui:MetricField:RID_SVXPAGE_STD_PARAGRAPH:ED_LINEDISTPERCENT";
210 Pos = MAP_APPFONT ( 135 , 133 ) ;
211 Size = MAP_APPFONT ( 40 , 12 ) ;
219 Unit = FUNIT_CUSTOM ;
220 CustomUnitText = "%" ;
225 MetricField ED_LINEDISTMETRIC
227 HelpID = "cui:MetricField:RID_SVXPAGE_STD_PARAGRAPH:ED_LINEDISTMETRIC";
231 Pos = MAP_APPFONT ( 135 , 133 ) ;
232 Size = MAP_APPFONT ( 40 , 12 ) ;
243 FixedLine FL_LINEDIST
245 Pos = MAP_APPFONT ( 6 , 122 ) ;
246 Size = MAP_APPFONT ( 173 , 8 ) ;
247 Text [ en-US ] = "Line spacing" ;
252 Pos = MAP_APPFONT ( 185 , 7 ) ;
253 Size = MAP_APPFONT ( 68 , 112 ) ;
257 HelpID = "cui:CheckBox:RID_SVXPAGE_STD_PARAGRAPH:CB_REGISTER";
258 Pos = MAP_APPFONT ( 12 , 162 ) ;
259 Size = MAP_APPFONT ( 120 , 10 ) ;
261 Text [ en-US ] = "A~ctivate" ;
263 FixedLine FL_REGISTER
265 Pos = MAP_APPFONT ( 6 , 151 ) ;
266 Size = MAP_APPFONT ( 173 , 8 ) ;
268 Text [ en-US ] = "Register-true" ;
272 // RID_SVXPAGE_ALIGN_PARAGRAPH ---------------------------------------------
273 TabPage RID_SVXPAGE_ALIGN_PARAGRAPH
275 HelpId = HID_FORMAT_PARAGRAPH_ALIGN ;
277 Text [ en-US ] = "Alignment" ;
278 Size = MAP_APPFONT ( 260 , 185 ) ;
281 Pos = MAP_APPFONT ( 6 , 3 ) ;
282 Size = MAP_APPFONT ( 173 , 8 ) ;
283 Text [ en-US ] = "Options" ;
286 RadioButton BTN_LEFTALIGN
288 HelpID = "cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_LEFTALIGN";
289 Pos = MAP_APPFONT ( 12 , 14 ) ;
290 Size = MAP_APPFONT ( 161 , 10 ) ;
291 Text [ en-US ] = "~Left" ;
294 RadioButton BTN_RIGHTALIGN
296 HelpID = "cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_RIGHTALIGN";
297 Pos = MAP_APPFONT ( 12 , 28 ) ;
298 Size = MAP_APPFONT ( 161 , 10 ) ;
299 Text [ en-US ] = "Righ~t" ;
301 RadioButton BTN_CENTERALIGN
303 HelpID = "cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_CENTERALIGN";
304 Pos = MAP_APPFONT ( 12 , 42 ) ;
305 Size = MAP_APPFONT ( 161 , 10 ) ;
306 Text [ en-US ] = "~Center" ;
308 RadioButton BTN_JUSTIFYALIGN
310 HelpID = "cui:RadioButton:RID_SVXPAGE_ALIGN_PARAGRAPH:BTN_JUSTIFYALIGN";
311 Pos = MAP_APPFONT ( 12 , 56 ) ;
312 Size = MAP_APPFONT ( 161 , 10 ) ;
313 Text [ en-US ] = "Justified" ;
315 String ST_LEFTALIGN_ASIAN
317 Text [ en-US ] = "~Left/Top" ;
319 String ST_RIGHTALIGN_ASIAN
321 Text [ en-US ] = "Righ~t/Bottom" ;
323 FixedText FT_LASTLINE
325 Pos = MAP_APPFONT ( 20 , 72 ) ;
326 Size = MAP_APPFONT ( 80 , 8 ) ;
328 Text [ en-US ] = "~Last line" ;
332 HelpID = "cui:ListBox:RID_SVXPAGE_ALIGN_PARAGRAPH:LB_LASTLINE";
333 Pos = MAP_APPFONT ( 105 , 70 ) ;
334 Size = MAP_APPFONT ( 70 , 50 ) ;
337 StringList [ en-US ] =
339 < "Default" ; Default ; > ;
340 < "Left" ; Default ; > ;
341 < "Centered" ; Default ; > ;
342 < "Justified"; Default; > ;
347 HelpID = "cui:CheckBox:RID_SVXPAGE_ALIGN_PARAGRAPH:CB_EXPAND";
348 Pos = MAP_APPFONT ( 20 , 86 ) ;
349 Size = MAP_APPFONT ( 153 , 10 ) ;
351 Text [ en-US ] = "~Expand single word" ;
355 HelpID = "cui:CheckBox:RID_SVXPAGE_ALIGN_PARAGRAPH:CB_SNAP";
356 Pos = MAP_APPFONT ( 20 , 100 ) ;
357 Size = MAP_APPFONT ( 153 , 10 ) ;
359 Text [ en-US ] = "Snap to text grid (if active)";
364 Pos = MAP_APPFONT ( 185 , 7 ) ;
365 Size = MAP_APPFONT ( 68 , 112 ) ;
367 FixedLine FL_VERTALIGN
369 Pos = MAP_APPFONT ( 6 , 122 ) ;
370 Size = MAP_APPFONT ( 173 , 8 ) ;
372 Text [ en-US ] = "Text-to-text";
374 FixedText FT_VERTALIGN
376 Pos = MAP_APPFONT ( 12 , 135 ) ;
377 Size = MAP_APPFONT ( 90 , 8 ) ;
379 Text [ en-US ] = "~Alignment";
383 HelpID = "cui:ListBox:RID_SVXPAGE_ALIGN_PARAGRAPH:LB_VERTALIGN";
384 Pos = MAP_APPFONT ( 105 , 133 ) ;
385 Size = MAP_APPFONT ( 70 , 50 ) ;
388 StringList [ en-US ] =
397 FixedLine FL_PROPERTIES
399 Pos = MAP_APPFONT ( 6 , 154 ) ;
400 Size = MAP_APPFONT ( 248 , 8 ) ;
402 Text [ en-US ] = "Properties";
404 FixedText FT_TEXTDIRECTION
406 Pos = MAP_APPFONT ( 12 , 167 ) ;
407 Size = MAP_APPFONT ( 60 , 8 ) ;
409 Text [ en-US ] = "Text ~direction";
411 ListBox LB_TEXTDIRECTION
413 HelpID = "cui:ListBox:RID_SVXPAGE_ALIGN_PARAGRAPH:LB_TEXTDIRECTION";
415 Pos = MAP_APPFONT ( 105 , 165 ) ;
416 Size = MAP_APPFONT ( 146 , 50 ) ;
421 // RID_SVXPAGE_EXT_PARAGRAPH ---------------------------------------------
422 TabPage RID_SVXPAGE_EXT_PARAGRAPH
424 HelpId = HID_FORMAT_PARAGRAPH_EXT ;
426 Text [ en-US ] = "Text Flow" ;
427 Size = MAP_APPFONT ( 260 , 185 ) ;
428 TriStateBox BTN_HYPHEN
430 HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:BTN_HYPHEN";
431 Pos = MAP_APPFONT ( 12 , 14 ) ;
432 Size = MAP_APPFONT ( 236 , 10 ) ;
433 Text [ en-US ] = "A~utomatically" ;
435 NumericField ED_HYPHENBEFORE
437 HelpID = "cui:NumericField:RID_SVXPAGE_EXT_PARAGRAPH:ED_HYPHENBEFORE";
440 Pos = MAP_APPFONT ( 21 , 26 ) ;
441 Size = MAP_APPFONT ( 24 , 12 ) ;
452 FixedText FT_HYPHENBEFORE
455 Pos = MAP_APPFONT ( 48 , 29 ) ;
456 Size = MAP_APPFONT ( 200 , 8 ) ;
457 Text [ en-US ] = "C~haracters at line end" ;
460 NumericField ED_HYPHENAFTER
462 HelpID = "cui:NumericField:RID_SVXPAGE_EXT_PARAGRAPH:ED_HYPHENAFTER";
465 Pos = MAP_APPFONT ( 21 , 41 ) ;
466 Size = MAP_APPFONT ( 24 , 12 ) ;
477 FixedText FT_HYPHENAFTER
480 Pos = MAP_APPFONT ( 48 , 43 ) ;
481 Size = MAP_APPFONT ( 200 , 8 ) ;
482 Text [ en-US ] = "Cha~racters at line begin" ;
487 Pos = MAP_APPFONT ( 48 , 57 ) ;
488 Size = MAP_APPFONT ( 200 , 8 ) ;
490 Text [ en-US ] = "~Maximum number of consecutive hyphens" ;
492 NumericField ED_MAXHYPH
494 HelpID = "cui:NumericField:RID_SVXPAGE_EXT_PARAGRAPH:ED_MAXHYPH";
496 Pos = MAP_APPFONT ( 21 , 55 ) ;
497 Size = MAP_APPFONT ( 24 , 12 ) ;
507 Pos = MAP_APPFONT ( 6 , 3 ) ;
508 Size = MAP_APPFONT ( 248 , 8 ) ;
509 Text [ en-US ] = "Hyphenation" ;
512 { // is moved one section deeper to not raise unnecessary translations
513 Pos = MAP_APPFONT ( 6 , 116 ) ;
514 Size = MAP_APPFONT ( 248 , 8 ) ;
515 Text [ en-US ] = "Options" ;
520 Pos = MAP_APPFONT ( 6 , 73 ) ;
521 Size = MAP_APPFONT ( 248 , 8 ) ;
522 Text [ en-US ] = "Breaks" ;
525 TriStateBox BTN_PAGEBREAK
527 HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:BTN_PAGEBREAK";
529 Pos = MAP_APPFONT ( 12 , 86 ) ;
530 Size = MAP_APPFONT ( 61 , 10 ) ;
531 Text [ en-US ] = "Insert" ;
534 FixedText FT_BREAKTYPE
536 Pos = MAP_APPFONT ( 75 , 86 ) ;
537 Size = MAP_APPFONT ( 21 , 10 ) ;
538 Text [ en-US ] = "~Type";
542 HelpID = "cui:ListBox:RID_SVXPAGE_EXT_PARAGRAPH:LB_BREAKTYPE";
544 Pos = MAP_APPFONT ( 98 , 84 ) ;
545 Size = MAP_APPFONT ( 61 , 50 ) ;
547 StringList [ en-US ] =
553 FixedText FT_BREAKPOSITION
555 Pos = MAP_APPFONT ( 163 , 86 ) ;
556 Size = MAP_APPFONT ( 45 , 10 ) ;
558 Text [ en-US ] = "Position";
560 ListBox LB_BREAKPOSITION
562 HelpID = "cui:ListBox:RID_SVXPAGE_EXT_PARAGRAPH:LB_BREAKPOSITION";
564 Pos = MAP_APPFONT ( 211 , 84 ) ;
565 Size = MAP_APPFONT ( 40 , 50 ) ;
567 StringList [ en-US ] =
573 TriStateBox BTN_PAGECOLL
575 HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:BTN_PAGECOLL";
577 Pos = MAP_APPFONT (21 , 100 ) ;
578 Size = MAP_APPFONT ( 75 , 10 ) ;
579 Text [ en-US ] = "With Page St~yle" ;
584 HelpID = "cui:ListBox:RID_SVXPAGE_EXT_PARAGRAPH:LB_PAGECOLL";
586 Pos = MAP_APPFONT ( 98 , 98 ) ;
587 Size = MAP_APPFONT ( 61 , 50 ) ;
593 Pos = MAP_APPFONT ( 163 , 100 ) ;
594 Size = MAP_APPFONT ( 45 , 8 ) ;
596 Text [ en-US ] = "Page ~number" ;
598 NumericField ED_PAGENUM
600 HelpID = "cui:NumericField:RID_SVXPAGE_EXT_PARAGRAPH:ED_PAGENUM";
602 Pos = MAP_APPFONT ( 211 , 98 ) ;
603 Size = MAP_APPFONT ( 26 , 12 ) ;
613 TriStateBox BTN_KEEPTOGETHER
615 HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:BTN_KEEPTOGETHER";
616 Pos = MAP_APPFONT ( 12 , 127 ) ;
617 Size = MAP_APPFONT ( 236 , 10 ) ;
618 Text [ en-US ] = "~Do not split paragraph" ;
621 TriStateBox CB_KEEPTOGETHER
623 HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:CB_KEEPTOGETHER";
624 Pos = MAP_APPFONT ( 12, 141 ) ;
625 Size = MAP_APPFONT ( 236 , 10 ) ;
626 Text [ en-US ] = "~Keep with next paragraph" ;
628 TriStateBox BTN_ORPHANS
630 HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:BTN_ORPHANS";
632 Pos = MAP_APPFONT ( 12 , 155 ) ;
633 Size = MAP_APPFONT ( 120 , 10 ) ;
635 Text [ en-US ] = "~Orphan control";
637 NumericField ED_ORPHANS
639 HelpID = "cui:NumericField:RID_SVXPAGE_EXT_PARAGRAPH:ED_ORPHANS";
642 Pos = MAP_APPFONT ( 134 , 153 ) ;
643 Size = MAP_APPFONT ( 24 , 12 ) ;
657 Pos = MAP_APPFONT ( 161 , 155 ) ;
658 Size = MAP_APPFONT ( 86 , 8 ) ;
659 Text [ en-US ] = "Lines" ;
662 TriStateBox BTN_WIDOWS
664 HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:BTN_WIDOWS";
666 Pos = MAP_APPFONT ( 12 , 169 ) ;
667 Size = MAP_APPFONT ( 120 , 10 ) ;
669 Text [ en-US ] = "~Widow control";
671 NumericField ED_WIDOWS
673 HelpID = "cui:NumericField:RID_SVXPAGE_EXT_PARAGRAPH:ED_WIDOWS";
676 Pos = MAP_APPFONT ( 134 , 167 ) ;
677 Size = MAP_APPFONT ( 24 , 12 ) ;
691 Pos = MAP_APPFONT ( 161 , 169 ) ;
692 Size = MAP_APPFONT ( 86 , 8 ) ;
693 Text [ en-US ] = "Lines" ;
697 /*-- 29.11.00 11:36:24---------------------------------------------------
699 -----------------------------------------------------------------------*/
700 TabPage RID_SVXPAGE_PARA_ASIAN
702 HelpId = HID_SVXPAGE_PARA_ASIAN ;
704 Text [ en-US ] = "Asian Typography";
705 Size = MAP_APPFONT ( 260 , 185 ) ;
706 FixedLine FL_AS_OPTIONS
708 Pos = MAP_APPFONT ( 6 , 3 ) ;
709 Size = MAP_APPFONT ( 248 , 8 ) ;
710 Text [ en-US ] = "Line change";
712 TriStateBox CB_AS_FORBIDDEN
714 HelpID = "cui:TriStateBox:RID_SVXPAGE_PARA_ASIAN:CB_AS_FORBIDDEN";
715 Pos = MAP_APPFONT ( 12 , 14 ) ;
716 Size = MAP_APPFONT ( 242 , 10 ) ;
717 Text [ en-US ] = "Apply list of forbidden characters to the beginning and end of lines";
719 TriStateBox CB_AS_HANG_PUNC
721 HelpID = "cui:TriStateBox:RID_SVXPAGE_PARA_ASIAN:CB_AS_HANG_PUNC";
722 Pos = MAP_APPFONT ( 12 , 28 ) ;
723 Size = MAP_APPFONT ( 242 , 10 ) ;
724 Text [ en-US ] = "Allow hanging punctuation";
726 TriStateBox CB_AS_SCRIPT_SPACE
728 HelpID = "cui:TriStateBox:RID_SVXPAGE_PARA_ASIAN:CB_AS_SCRIPT_SPACE";
729 Pos = MAP_APPFONT ( 12 , 42 ) ;
730 Size = MAP_APPFONT ( 242 , 10 ) ;
731 Text [ en-US ] = "Apply spacing between Asian, Latin and Complex text";
737 Text [ en-US ] = "Example" ;
739 String STR_PAGE_STYLE
741 Text [ en-US ] = "Page Style" ;