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 "tabline.hrc"
31 #include <svx/dialogs.hrc>
33 // Selecting LineStyle / Color / Width --------------------
35 #define MASKCOLOR MaskColor = Color{ Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
38 TabPage RID_SVXPAGE_LINE
40 Size = MAP_APPFONT ( 260 , 185 );
41 HelpId = HID_LINE_LINE ;
43 Text [ en-US ] = "Lines" ;
46 Pos = MAP_APPFONT ( 6 , 3 ) ;
47 Size = MAP_APPFONT ( 112 , 8 ) ;
48 Text [ en-US ] = "Line properties" ;
50 FixedText FT_LINE_STYLE
52 Pos = MAP_APPFONT ( 12 , 14 ) ;
53 Size = MAP_APPFONT ( 100 , 8 ) ;
54 Text [ en-US ] = "~Style" ;
58 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_LINE_STYLE";
60 Pos = MAP_APPFONT ( 12 , 25 ) ;
61 Size = MAP_APPFONT ( 100 , 100 ) ;
68 Pos = MAP_APPFONT ( 12 , 41 ) ;
69 Size = MAP_APPFONT ( 100 , 8 ) ;
70 Text [ en-US ] = "Colo~r" ;
74 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_COLOR";
76 Pos = MAP_APPFONT ( 12 , 52 ) ;
77 Size = MAP_APPFONT ( 100 , 100 ) ;
82 FixedText FT_LINE_WIDTH
84 Pos = MAP_APPFONT ( 12 , 68 ) ;
85 Size = MAP_APPFONT ( 100 , 8 ) ;
86 Text [ en-US ] = "~Width" ;
88 MetricField MTR_FLD_LINE_WIDTH
90 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_FLD_LINE_WIDTH";
92 Pos = MAP_APPFONT ( 12 , 79 ) ;
93 Size = MAP_APPFONT ( 50 , 12 ) ;
106 FixedText FT_TRANSPARENT
108 Pos = MAP_APPFONT ( 12 , 95 ) ;
109 Size = MAP_APPFONT ( 100 , 8 ) ;
110 Text [ en-US ] = "~Transparency" ;
112 MetricField MTR_LINE_TRANSPARENT
114 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_LINE_TRANSPARENT";
116 Pos = MAP_APPFONT ( 12 , 106 ) ;
117 Size = MAP_APPFONT ( 50 , 12 ) ;
122 StrictFormat = TRUE ;
123 Unit = FUNIT_CUSTOM ;
124 CustomUnitText = "%" ;
128 FixedLine FL_SEPARATOR
130 Pos = MAP_APPFONT ( 118 , 14 ) ;
131 Size = MAP_APPFONT ( 6 , 111 ) ;
134 FixedLine FL_LINE_ENDS
136 Pos = MAP_APPFONT ( 124 , 3 ) ;
137 Size = MAP_APPFONT ( 130 , 8 ) ;
138 Text [ en-US ] = "Arrow styles" ;
140 FixedText FT_LINE_ENDS_STYLE
142 Pos = MAP_APPFONT ( 130 , 14 ) ;
143 Size = MAP_APPFONT ( 118 , 8 ) ;
144 Text [ en-US ] = "St~yle" ;
146 ListBox LB_START_STYLE
148 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_START_STYLE";
150 Pos = MAP_APPFONT ( 130 , 25 ) ;
151 Size = MAP_APPFONT ( 57 , 99 ) ;
154 DDExtraWidth = TRUE ;
158 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_END_STYLE";
160 Pos = MAP_APPFONT ( 191 , 25 ) ;
161 Size = MAP_APPFONT ( 57 , 100 ) ;
164 DDExtraWidth = TRUE ;
166 FixedText FT_LINE_ENDS_WIDTH
168 Pos = MAP_APPFONT ( 130 , 41 ) ;
169 Size = MAP_APPFONT ( 118 , 8 ) ;
170 Text [ en-US ] = "Wi~dth" ;
172 MetricField MTR_FLD_START_WIDTH
174 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_FLD_START_WIDTH";
176 Pos = MAP_APPFONT ( 130 , 52 ) ;
177 Size = MAP_APPFONT ( 45 , 12 ) ;
183 StrictFormat = TRUE ;
190 MetricField MTR_FLD_END_WIDTH
192 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_FLD_END_WIDTH";
194 Pos = MAP_APPFONT ( 191 , 52 ) ;
195 Size = MAP_APPFONT ( 45 , 12 ) ;
201 StrictFormat = TRUE ;
208 TriStateBox TSB_CENTER_START
210 HelpID = "cui:TriStateBox:RID_SVXPAGE_LINE:TSB_CENTER_START";
211 Pos = MAP_APPFONT ( 130 , 68 ) ;
212 Size = MAP_APPFONT ( 57 , 10 ) ;
213 Text [ en-US ] = "Ce~nter" ;
216 TriStateBox TSB_CENTER_END
218 HelpID = "cui:TriStateBox:RID_SVXPAGE_LINE:TSB_CENTER_END";
219 Pos = MAP_APPFONT ( 191 , 68 ) ;
220 Size = MAP_APPFONT ( 57 , 10 ) ;
221 Text [ en-US ] = "C~enter" ;
224 CheckBox CBX_SYNCHRONIZE
226 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE:CBX_SYNCHRONIZE";
228 // Pos = MAP_APPFONT ( 130 , 107 ) ;
229 Pos = MAP_APPFONT ( 130 , 68 + (16 - 4) ) ;
230 Size = MAP_APPFONT ( 118 , 10 ) ;
231 Text [ en-US ] = "Synchroni~ze ends" ;
235 //////////////////////////////////////////////////////////////////////////////
238 FixedLine FL_EDGE_STYLE
240 Pos = MAP_APPFONT ( 124 , 3 + (16 * 6) - 4 ) ;
241 Size = MAP_APPFONT ( 130 , 8 ) ;
242 Text [ en-US ] = "Corner style" ;
244 FixedText FT_EDGE_STYLE
246 Pos = MAP_APPFONT ( 130 , 14 + (16 * 6) - 4 ) ;
247 Size = MAP_APPFONT ( 118 , 8 ) ;
248 Text [ en-US ] = "Sty~le" ;
250 ListBox LB_EDGE_STYLE
252 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_EDGE_STYLE";
254 Pos = MAP_APPFONT ( 130 , 25 + (16 * 6) - 4 ) ;
255 Size = MAP_APPFONT ( 57 , 99 ) ;
258 StringList [ en-US ] =
260 < "Rounded" ; Default ; > ;
267 //////////////////////////////////////////////////////////////////////////////
272 Pos = MAP_APPFONT ( 6 , 135 ) ;
273 Size = MAP_APPFONT ( 248 , 40 ) ;
276 //#58425# Symbole auf einer Linie (z.B. StarChart) ->
277 FixedLine FL_SYMBOL_FORMAT
281 Pos = MAP_APPFONT ( 124 , 3 ) ;
282 Size = MAP_APPFONT ( 130 , 8 ) ;
283 Text [ en-US ] = "Icon";
286 MenuButton MB_SYMBOL_BITMAP
288 HelpID = "cui:MenuButton:RID_SVXPAGE_LINE:MB_SYMBOL_BITMAP";
290 Pos = MAP_APPFONT ( 130 , 14 ) ;
291 Size = MAP_APPFONT ( 50 , 14 ) ;
299 Identifier = MN_SYMBOLS_NONE;
300 Text [ en-US ] = "No Symbol";
304 Identifier = MN_SYMBOLS_AUTO;
305 Text [ en-US ] = "Automatic";
309 Identifier = MN_GRAPHIC_DLG ;
310 Text [ en-US ] = "From file..." ;
314 Identifier = MN_GALLERY ;
315 Text [ en-US ] = "Gallery";
319 Identifier = MN_SYMBOLS;
320 Text [ en-US ] = "Symbols";
324 Text [ en-US ] = "Select..." ;
326 FixedText FT_SYMBOL_WIDTH
329 Pos = MAP_APPFONT ( 130 , 32 ) ;
330 Size = MAP_APPFONT ( 57 , 8 ) ;
331 Text [ en-US ] = "Width" ;
333 MetricField MF_SYMBOL_WIDTH
335 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MF_SYMBOL_WIDTH";
336 Pos = MAP_APPFONT ( 191 , 30 );
337 Size = MAP_APPFONT ( 57 , 12 ) ;
353 FixedText FT_SYMBOL_HEIGHT
356 Pos = MAP_APPFONT ( 130 , 48 ) ;
357 Size = MAP_APPFONT ( 57 , 8 ) ;
358 Text [ en-US ] = "Height" ;
360 MetricField MF_SYMBOL_HEIGHT
362 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MF_SYMBOL_HEIGHT";
363 Pos = MAP_APPFONT ( 191 , 46 );
364 Size = MAP_APPFONT ( 57 , 12 ) ;
380 CheckBox CB_SYMBOL_RATIO
382 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE:CB_SYMBOL_RATIO";
384 Pos = MAP_APPFONT ( 130 , 62 );
385 Size = MAP_APPFONT ( 118 , 10 ) ;
386 Text [ en-US ] = "Keep ratio" ;
390 Text [ en-US ] = "Style" ;
392 String STR_LB_START_STYLE
394 Text [ en-US ] = "Start style" ;
396 String STR_LB_END_STYLE
398 Text [ en-US ] = "End style" ;
400 String STR_MTR_FLD_START_WIDTH
402 Text [ en-US ] = "Start width" ;
404 String STR_MTR_FLD_END_WIDTH
406 Text [ en-US ] = "End width" ;
408 String STR_CENTER_START
410 Text [ en-US ] = "Start with center" ;
412 String STR_CENTER_END
414 Text [ en-US ] = "End with center" ;
418 // Defining LineStyles --------------------
420 TabPage RID_SVXPAGE_LINE_DEF
422 Size = MAP_APPFONT ( 260 , 185 ) ;
423 HelpId = HID_LINE_DEF ;
425 Text [ en-US ] = "Define line styles" ;
427 FixedLine FL_DEFINITION
429 Pos = MAP_APPFONT ( 6 , 3 ) ;
430 Size = MAP_APPFONT ( 248 , 8 ) ;
431 Text [ en-US ] = "Properties" ;
435 Pos = MAP_APPFONT ( 12 , 34 ) ;
436 Size = MAP_APPFONT ( 52 , 8 ) ;
437 Text [ en-US ] = "~Type" ;
441 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_TYPE_1";
443 Pos = MAP_APPFONT ( 66 , 32 ) ;
444 Size = MAP_APPFONT ( 43 , 49 ) ;
447 StringList [ en-US ] =
449 < "Dot" ; Default ; > ;
450 < "Dash" ; Default ; > ;
455 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_TYPE_2";
457 Pos = MAP_APPFONT ( 113 , 32 ) ;
458 Size = MAP_APPFONT ( 43 , 49 ) ;
461 StringList [ en-US ] =
463 < "Dot" ; Default ; > ;
464 < "Dash" ; Default ; > ;
469 Pos = MAP_APPFONT ( 12 , 50 ) ;
470 Size = MAP_APPFONT ( 52 , 8 ) ;
471 Text [ en-US ] = "~Number" ;
473 NumericField NUM_FLD_1
475 HelpID = "cui:NumericField:RID_SVXPAGE_LINE_DEF:NUM_FLD_1";
477 Pos = MAP_APPFONT ( 66 , 48 ) ;
478 Size = MAP_APPFONT ( 43 , 12 ) ;
484 StrictFormat = TRUE ;
488 NumericField NUM_FLD_2
490 HelpID = "cui:NumericField:RID_SVXPAGE_LINE_DEF:NUM_FLD_2";
492 Pos = MAP_APPFONT ( 113 , 48 ) ;
493 Size = MAP_APPFONT ( 43 , 12 ) ;
499 StrictFormat = TRUE ;
505 Pos = MAP_APPFONT ( 12 , 66 ) ;
506 Size = MAP_APPFONT ( 52 , 8 ) ;
507 Text [ en-US ] = "~Length" ;
509 MetricField MTR_FLD_LENGTH_1
511 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_LENGTH_1";
513 Pos = MAP_APPFONT ( 66 , 64 ) ;
514 Size = MAP_APPFONT ( 43 , 12 ) ;
523 StrictFormat = TRUE ;
527 CustomUnitText = " %" ;
530 MetricField MTR_FLD_LENGTH_2
532 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_LENGTH_2";
534 Pos = MAP_APPFONT ( 113 , 64 ) ;
535 Size = MAP_APPFONT ( 43 , 12 ) ;
544 StrictFormat = TRUE ;
548 CustomUnitText = " %" ;
551 FixedText FT_DISTANCE
553 Pos = MAP_APPFONT ( 12 , 81 ) ;
554 Size = MAP_APPFONT ( 52 , 8 ) ;
555 Text [ en-US ] = "~Spacing" ;
557 MetricField MTR_FLD_DISTANCE
559 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_DISTANCE";
561 Pos = MAP_APPFONT ( 66 , 79 ) ;
562 Size = MAP_APPFONT ( 43 , 12 ) ;
568 StrictFormat = TRUE ;
572 CustomUnitText = " %" ;
576 CheckBox CBX_SYNCHRONIZE
578 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE_DEF:CBX_SYNCHRONIZE";
579 Pos = MAP_APPFONT ( 12 , 95 ) ;
580 Size = MAP_APPFONT ( 174 , 10 ) ;
581 Text [ en-US ] = "~Fit to line width" ;
585 // ----------------------------------------
587 FixedText FT_LINESTYLE
589 Pos = MAP_APPFONT ( 12 , 16 ) ;
590 Size = MAP_APPFONT ( 52 , 8 ) ;
591 Text [ en-US ] = "Line style" ;
593 ListBox LB_LINESTYLES
595 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_LINESTYLES";
597 Pos = MAP_APPFONT ( 66 , 14 ) ;
598 Size = MAP_APPFONT ( 120 , 80 ) ;
601 DDExtraWidth = TRUE ;
605 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_ADD";
606 Pos = MAP_APPFONT ( 198 , 14 ) ;
607 Size = MAP_APPFONT ( 50 , 14 ) ;
608 Text [ en-US ] = "~Add..." ;
611 PushButton BTN_MODIFY
613 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_MODIFY";
614 Pos = MAP_APPFONT ( 198 , 34 ) ;
615 Size = MAP_APPFONT ( 50 , 14 ) ;
616 Text [ en-US ] = "~Modify..." ;
619 PushButton BTN_DELETE
621 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_DELETE";
622 Pos = MAP_APPFONT ( 198 , 54 ) ;
623 Size = MAP_APPFONT ( 50 , 14 ) ;
624 Text [ en-US ] = "~Delete..." ;
629 HelpID = "cui:ImageButton:RID_SVXPAGE_LINE_DEF:BTN_LOAD";
630 Pos = MAP_APPFONT ( 198 , 74 ) ;
631 Size = MAP_APPFONT ( 16 , 16 ) ;
633 QuickHelpText [ en-US ] = "Load Line Styles" ;
638 File = "sc05501.bmp" ;
645 HelpID = "cui:ImageButton:RID_SVXPAGE_LINE_DEF:BTN_SAVE";
646 Pos = MAP_APPFONT ( 198 , 96 ) ;
647 Size = MAP_APPFONT ( 16 , 16 ) ;
649 QuickHelpText [ en-US ] = "Save Line Styles" ;
654 File = "sc05502.bmp" ;
662 Pos = MAP_APPFONT ( 6 , 135 ) ;
663 Size = MAP_APPFONT ( 248 , 40 ) ;
666 String STR_START_TYPE
668 Text [ en-US ] = "Start type" ;
672 Text [ en-US ] = "End type" ;
676 Text [ en-US ] = "Start number" ;
680 Text [ en-US ] = "End number" ;
682 String STR_START_LENGTH
684 Text [ en-US ] = "Start length" ;
686 String STR_END_LENGTH
688 Text [ en-US ] = "End length" ;
692 // Defining LineEnds --------------------
694 TabPage RID_SVXPAGE_LINEEND_DEF
696 Size = MAP_APPFONT ( 260 , 185 ) ;
697 HelpId = HID_LINE_ENDDEF ;
699 Text [ en-US ] = "Arrowheads" ;
703 Pos = MAP_APPFONT ( 6 , 3 ) ;
704 Size = MAP_APPFONT ( 248 , 8 ) ;
705 Text [ en-US ] = "Organize arrow styles" ;
709 Pos = MAP_APPFONT ( 6 , 123 ) ;
710 Size = MAP_APPFONT ( 252 , 8 ) ;
711 Text [ en-US ] = "Add a selected object to create new arrow styles." ;
715 FixedText FT_LINE_END_STYLE
717 Pos = MAP_APPFONT ( 12 , 32 ) ;
718 Size = MAP_APPFONT ( 84 , 8 ) ;
719 Text [ en-US ] = "Arrow style" ;
723 HelpID = "cui:Edit:RID_SVXPAGE_LINEEND_DEF:EDT_NAME";
725 Pos = MAP_APPFONT ( 98 , 14 ) ;
726 Size = MAP_APPFONT ( 87 , 12 ) ;
731 Pos = MAP_APPFONT ( 12 , 16 ) ;
732 Size = MAP_APPFONT ( 84 , 8 ) ;
733 Text [ en-US ] = "~Title" ;
737 HelpID = "cui:ListBox:RID_SVXPAGE_LINEEND_DEF:LB_LINEENDS";
739 Pos = MAP_APPFONT ( 98 , 30 ) ;
740 Size = MAP_APPFONT ( 87 , 80 ) ;
743 DDExtraWidth = TRUE ;
747 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_ADD";
748 Pos = MAP_APPFONT ( 198 , 14 ) ;
749 Size = MAP_APPFONT ( 50 , 14 ) ;
750 Text [ en-US ] = "~Add..." ;
753 PushButton BTN_MODIFY
755 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_MODIFY";
756 Pos = MAP_APPFONT ( 198 , 34 ) ;
757 Size = MAP_APPFONT ( 50 , 14 ) ;
758 Text [ en-US ] = "~Modify..." ;
761 PushButton BTN_DELETE
763 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_DELETE";
764 Pos = MAP_APPFONT ( 198 , 54 ) ;
765 Size = MAP_APPFONT ( 50 , 14 ) ;
766 Text [ en-US ] = "~Delete..." ;
771 HelpID = "cui:ImageButton:RID_SVXPAGE_LINEEND_DEF:BTN_LOAD";
772 Pos = MAP_APPFONT ( 198 , 74 ) ;
773 Size = MAP_APPFONT ( 16 , 16 ) ;
775 QuickHelpText [ en-US ] = "Load Arrow Styles" ;
780 File = "sc05501.bmp" ;
787 HelpID = "cui:ImageButton:RID_SVXPAGE_LINEEND_DEF:BTN_SAVE";
788 Pos = MAP_APPFONT ( 198 , 96 ) ;
789 Size = MAP_APPFONT ( 16 , 16 ) ;
791 QuickHelpText [ en-US ] = "Save Arrow Styles" ;
796 File = "sc05502.bmp" ;
805 Pos = MAP_APPFONT ( 6 , 135 ) ;
806 Size = MAP_APPFONT ( 248 , 40 ) ;
810 // RID_SVXDLG_LINE ----------------------------------------------------------
811 TabDialog RID_SVXDLG_LINE
815 Size = MAP_APPFONT ( 289 , 176 ) ;
816 Text [ en-US ] = "Line" ;
818 TabControl TAB_CONTROL
821 Pos = MAP_APPFONT ( 3 , 3 ) ;
822 Size = MAP_APPFONT ( 260 , 135 ) ;
827 Identifier = RID_SVXPAGE_LINE ;
828 Text [ en-US ] = "Line" ;
829 PageResID = RID_SVXPAGE_LINE ;
833 Identifier = RID_SVXPAGE_SHADOW ;
834 PageResID = RID_SVXPAGE_SHADOW ;
835 Text [ en-US ] = "Shadow" ;
839 Identifier = RID_SVXPAGE_LINE_DEF ;
840 Text [ en-US ] = "Line Styles" ;
841 PageResID = RID_SVXPAGE_LINE_DEF ;
845 Identifier = RID_SVXPAGE_LINEEND_DEF ;
846 Text [ en-US ] = "Arrow Styles" ;
847 PageResID = RID_SVXPAGE_LINEEND_DEF ;
852 Identifier = RID_SVXPAGE_COLOR ;
853 Text [ en-US ] = "Colors" ;
854 PageResID = RID_SVXPAGE_COLOR ;