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 "tabarea.hrc"
31 #include <svx/dialogs.hrc>
33 #define MASKCOLOR MaskColor = Color{ Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
36 // RID_SVXPAGE_AREA ------------------------------------------------------
37 #define TRANS_GRAD_OFFSET_X 6
38 #define TRANS_GRAD_OFFSET_Y 64
39 #define TRANS_GRAD_FIELD_SEPARATION 24
41 TabPage RID_SVXPAGE_TRANSPARENCE
43 HelpID = HID_AREA_TRANSPARENCE;
45 Size = MAP_APPFONT ( 260 , 185 );
48 Pos = MAP_APPFONT ( 6 , 3 ) ;
49 Size = MAP_APPFONT ( 248, 8 ) ;
50 Text [ en-US ] = "Transparency mode";
52 RadioButton RBT_TRANS_OFF
54 HelpID = "cui:RadioButton:RID_SVXPAGE_TRANSPARENCE:RBT_TRANS_OFF";
55 Pos = MAP_APPFONT ( 12 , 14 ) ;
56 Size = MAP_APPFONT ( 110 , 10 ) ;
57 Text [ en-US ] = "~No transparency";
59 RadioButton RBT_TRANS_LINEAR
61 HelpID = "cui:RadioButton:RID_SVXPAGE_TRANSPARENCE:RBT_TRANS_LINEAR";
62 Pos = MAP_APPFONT ( 12 , 28 ) ;
63 Size = MAP_APPFONT ( 60 , 10 ) ;
64 Text [ en-US ] = "~Transparency";
66 MetricField MTR_TRANSPARENT
68 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRANSPARENT";
70 Pos = MAP_APPFONT ( 72 , 26 ) ;
71 Size = MAP_APPFONT ( 40 , 12 ) ;
78 CustomUnitText = "%" ;
82 RadioButton RBT_TRANS_GRADIENT
84 HelpID = "cui:RadioButton:RID_SVXPAGE_TRANSPARENCE:RBT_TRANS_GRADIENT";
85 Pos = MAP_APPFONT ( 12 , 42 ) ;
86 Size = MAP_APPFONT ( 110 , 10 ) ;
87 Text [ en-US ] = "Gradient";
89 FixedText FT_TRGR_TYPE
91 Pos = MAP_APPFONT ( 21 , 56 ) ;
92 Size = MAP_APPFONT ( 41 , 8 ) ;
93 Text [ en-US ] = "Ty~pe";
95 ListBox LB_TRGR_GRADIENT_TYPES
97 HelpID = "cui:ListBox:RID_SVXPAGE_TRANSPARENCE:LB_TRGR_GRADIENT_TYPES";
99 Pos = MAP_APPFONT ( 72 , 54 ) ;
100 Size = MAP_APPFONT ( 53 , 63 ) ;
103 StringList [ en-US ] =
105 < "Linear" ; Default ; > ;
106 < "Axial" ; Default ; > ;
107 < "Radial" ; Default ; > ;
108 < "Ellipsoid" ; Default ; > ;
109 < "Quadratic" ; Default ; > ;
110 < "Square" ; Default ; > ;
113 FixedText FT_TRGR_CENTER_X
115 Pos = MAP_APPFONT ( 21 , 72 ) ;
116 Size = MAP_APPFONT ( 41 , 8 ) ;
117 Text [ en-US ] = "Center ~X";
119 MetricField MTR_TRGR_CENTER_X
121 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_CENTER_X";
123 Pos = MAP_APPFONT ( 72 , 70 ) ;
124 Size = MAP_APPFONT ( 40 , 12 ) ;
129 StrictFormat = TRUE ;
130 Unit = FUNIT_CUSTOM ;
131 CustomUnitText = "%" ;
135 FixedText FT_TRGR_CENTER_Y
137 Pos = MAP_APPFONT ( 21 , 88 ) ;
138 Size = MAP_APPFONT ( 41 , 8 ) ;
139 Text [ en-US ] = "Center ~Y";
141 MetricField MTR_TRGR_CENTER_Y
143 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_CENTER_Y";
145 Pos = MAP_APPFONT ( 72 , 86 ) ;
146 Size = MAP_APPFONT ( 40 , 12 ) ;
151 StrictFormat = TRUE ;
152 Unit = FUNIT_CUSTOM ;
153 CustomUnitText = "%" ;
157 FixedText FT_TRGR_ANGLE
159 Pos = MAP_APPFONT ( 21 , 104 ) ;
160 Size = MAP_APPFONT ( 41 , 8 ) ;
161 Text [ en-US ] = "~Angle";
163 MetricField MTR_TRGR_ANGLE
165 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_ANGLE";
167 Pos = MAP_APPFONT ( 72 , 102 ) ;
168 Size = MAP_APPFONT ( 40 , 12 ) ;
173 Unit = FUNIT_CUSTOM ;
176 CustomUnitText [ en-US ] = " degrees";
178 FixedText FT_TRGR_BORDER
180 Pos = MAP_APPFONT ( 15 + TRANS_GRAD_OFFSET_X, 56 + TRANS_GRAD_OFFSET_Y) ;
181 Size = MAP_APPFONT ( 41, 8 ) ;
182 Text [ en-US ] = "~Border";
184 MetricField MTR_TRGR_BORDER
186 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_BORDER";
188 Pos = MAP_APPFONT ( 66 + TRANS_GRAD_OFFSET_X, 54 + TRANS_GRAD_OFFSET_Y) ;
189 Size = MAP_APPFONT ( 40 , 12 ) ;
194 StrictFormat = TRUE ;
195 Unit = FUNIT_CUSTOM ;
196 CustomUnitText = "%" ;
200 FixedText FT_TRGR_START_VALUE
202 Pos = MAP_APPFONT ( 21 , 136 ) ;
203 Size = MAP_APPFONT ( 41 , 8 ) ;
204 Text [ en-US ] = "~Start value";
206 MetricField MTR_TRGR_START_VALUE
208 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_START_VALUE";
210 Pos = MAP_APPFONT ( 72 , 134 ) ;
211 Size = MAP_APPFONT ( 40 , 12 ) ;
216 StrictFormat = TRUE ;
217 Unit = FUNIT_CUSTOM ;
218 CustomUnitText = "%" ;
222 FixedText FT_TRGR_END_VALUE
224 Pos = MAP_APPFONT ( 21 , 152 ) ;
225 Size = MAP_APPFONT ( 41 , 8 ) ;
226 Text [ en-US ] = "~End value";
228 MetricField MTR_TRGR_END_VALUE
230 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_END_VALUE";
232 Pos = MAP_APPFONT ( 72 , 150 ) ;
233 Size = MAP_APPFONT ( 40 , 12 ) ;
238 StrictFormat = TRUE ;
239 Unit = FUNIT_CUSTOM ;
240 CustomUnitText = "%" ;
244 Control CTL_BITMAP_PREVIEW
247 Pos = MAP_APPFONT ( 138 , 14 ) ;
248 Size = MAP_APPFONT ( 110 , 42 ) ;
250 Control CTL_TRANS_PREVIEW
253 Pos = MAP_APPFONT ( 138 , 14 ) ;
254 Size = MAP_APPFONT ( 110 , 42 ) ;
256 Text [ en-US ] = "Transparency";
259 // RID_SVXPAGE_AREA ------------------------------------------------------
260 TabPage RID_SVXPAGE_AREA
262 Size = MAP_APPFONT ( 260 , 185 ) ;
263 HelpID = HID_AREA_AREA ;
265 Text [ en-US ] = "Area" ;
269 Pos = MAP_APPFONT ( 6 , 3 ) ;
270 Size = MAP_APPFONT ( 120, 8 ) ;
271 Text [ en-US ] = "Fill";
275 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_AREA_TYPE";
276 Pos = MAP_APPFONT ( 12 , 14 ) ;
277 Size = MAP_APPFONT ( 108 , 60 ) ;
280 StringList [ en-US ] =
282 < "None" ; Default ; > ;
283 < "Color" ; Default ; > ;
284 < "Gradient" ; Default ; > ;
285 < "Hatching" ; Default ; > ;
286 < "Bitmap" ; Default ; > ;
293 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_COLOR";
295 Pos = MAP_APPFONT ( 12 , 30 ) ;
296 Size = MAP_APPFONT ( 108 , 103 ) ;
301 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_GRADIENT";
303 Pos = MAP_APPFONT ( 12 , 30 ) ;
304 Size = MAP_APPFONT ( 108 , 103 ) ;
309 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_HATCHING";
311 Pos = MAP_APPFONT ( 12 , 30 ) ;
312 Size = MAP_APPFONT ( 108 , 103 ) ;
317 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_BITMAP";
319 Pos = MAP_APPFONT ( 12 , 30 ) ;
320 Size = MAP_APPFONT ( 108 , 103 ) ;
324 // ---------- preview ----------
326 Control CTL_COLOR_PREVIEW
329 Pos = MAP_APPFONT ( 12 , 137 ) ;
330 Size = MAP_APPFONT ( 110 , 42 ) ;
332 Control CTL_BITMAP_PREVIEW
335 Pos = MAP_APPFONT ( 12 , 137 ) ;
336 Size = MAP_APPFONT ( 110 , 42 ) ;
340 // ---------- for gradients ----------
342 FixedLine FL_STEPCOUNT
344 Pos = MAP_APPFONT ( 132 , 3 ) ;
345 Size = MAP_APPFONT ( 122 , 8 ) ;
346 Text [ en-US ] = "Increments" ;
348 TriStateBox TSB_STEPCOUNT
350 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_STEPCOUNT";
351 Pos = MAP_APPFONT ( 138 , 15 ) ;
352 Size = MAP_APPFONT ( 68 , 10 ) ;
354 Text [ en-US ] = "A~utomatic" ;
356 NumericField NUM_FLD_STEPCOUNT
358 HelpID = "cui:NumericField:RID_SVXPAGE_AREA:NUM_FLD_STEPCOUNT";
360 Pos = MAP_APPFONT ( 208 , 14 ) ;
361 Size = MAP_APPFONT ( 40 , 12 ) ;
369 StrictFormat = TRUE ;
372 // ---------- for hatches ----------
374 CheckBox CB_HATCHBCKGRD
376 HelpID = "cui:CheckBox:RID_SVXPAGE_AREA:CB_HATCHBCKGRD";
377 Pos = MAP_APPFONT ( 132 , 3 ) ;
378 Size = MAP_APPFONT ( 122 , 10 ) ;
380 Text [ en-US ] = "~Background color" ;
382 ListBox LB_HATCHBCKGRDCOLOR
384 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_HATCHBCKGRDCOLOR";
386 Pos = MAP_APPFONT ( 141 , 16 ) ;
387 Size = MAP_APPFONT ( 70 , 100 ) ;
390 DDExtraWidth = TRUE ;
393 // ---------- for bitmaps ----------
397 Pos = MAP_APPFONT ( 132 , 3 ) ;
398 Size = MAP_APPFONT ( 122 , 8 ) ;
399 Text [ en-US ] = "Size" ;
401 TriStateBox TSB_ORIGINAL
403 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_ORIGINAL";
404 Pos = MAP_APPFONT ( 138 , 15 ) ;
405 Size = MAP_APPFONT ( 48 , 10 ) ;
407 Text [ en-US ] = "~Original" ;
409 TriStateBox TSB_SCALE
411 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_SCALE";
412 Pos = MAP_APPFONT ( 138 , 30 ) ;
413 Size = MAP_APPFONT ( 48 , 10 ) ;
415 Text [ en-US ] = "Re~lative" ;
419 Pos = MAP_APPFONT ( 187 , 15 ) ;
420 Size = MAP_APPFONT ( 24 , 8 ) ;
421 Text [ en-US ] = "Wi~dth" ;
423 MetricField MTR_FLD_X_SIZE
425 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_X_SIZE";
427 Pos = MAP_APPFONT ( 212 , 14 ) ;
428 Size = MAP_APPFONT ( 36 , 12 ) ;
432 StrictFormat = TRUE ;
435 CustomUnitText = "%" ;
444 Pos = MAP_APPFONT ( 187 , 31 ) ;
445 Size = MAP_APPFONT ( 24 , 8 ) ;
446 Text [ en-US ] = "H~eight" ;
448 MetricField MTR_FLD_Y_SIZE
450 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_Y_SIZE";
452 Pos = MAP_APPFONT ( 212 , 29 ) ;
453 Size = MAP_APPFONT ( 36 , 12 ) ;
457 StrictFormat = TRUE ;
460 CustomUnitText = "%" ;
468 FixedLine FL_POSITION
470 Pos = MAP_APPFONT ( 132 , 47 ) ;
471 Size = MAP_APPFONT ( 122 , 8 ) ;
472 Text [ en-US ] = "Position" ;
478 Pos = MAP_APPFONT ( 138 , 57 ) ;
479 Size = MAP_APPFONT ( 40 , 27 ) ;
482 FixedText FT_X_OFFSET
484 Pos = MAP_APPFONT ( 138 , 89 ) ;
485 Size = MAP_APPFONT ( 39 , 8 ) ;
486 Text [ en-US ] = "~X Offset" ;
488 FixedText FT_Y_OFFSET
490 Pos = MAP_APPFONT ( 139 , 104 ) ;
491 Size = MAP_APPFONT ( 78 , 8 ) ;
492 Text [ en-US ] = "~Y Offset" ;
494 MetricField MTR_FLD_X_OFFSET
496 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_X_OFFSET";
498 Pos = MAP_APPFONT ( 219 , 87 ) ;
499 Size = MAP_APPFONT ( 29 , 12 ) ;
503 StrictFormat = TRUE ;
504 Unit = FUNIT_CUSTOM ;
505 CustomUnitText = "%" ;
510 MetricField MTR_FLD_Y_OFFSET
512 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_Y_OFFSET";
514 Pos = MAP_APPFONT ( 219 , 102 ) ;
515 Size = MAP_APPFONT ( 29 , 12 ) ;
520 StrictFormat = TRUE ;
521 Unit = FUNIT_CUSTOM ;
522 CustomUnitText = "%" ;
528 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_TILE";
529 Pos = MAP_APPFONT ( 138 , 117 ) ;
530 Size = MAP_APPFONT ( 54 , 10 ) ;
532 Text [ en-US ] = "~Tile" ;
534 TriStateBox TSB_STRETCH
536 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_STRETCH";
537 Pos = MAP_APPFONT ( 194 , 117 ) ;
538 Size = MAP_APPFONT ( 54 , 10 ) ;
540 Text [ en-US ] = "Auto~Fit" ;
544 Pos = MAP_APPFONT ( 132 , 133 ) ;
545 Size = MAP_APPFONT ( 122 , 8 ) ;
546 Text [ en-US ] = "Offset" ;
550 HelpID = "cui:RadioButton:RID_SVXPAGE_AREA:RBT_ROW";
551 Pos = MAP_APPFONT ( 138 , 144 ) ;
552 Size = MAP_APPFONT ( 75 , 10 ) ;
553 Text [ en-US ] = "Ro~w" ;
555 RadioButton RBT_COLUMN
557 HelpID = "cui:RadioButton:RID_SVXPAGE_AREA:RBT_COLUMN";
558 Pos = MAP_APPFONT ( 138 , 158 ) ;
559 Size = MAP_APPFONT ( 75 , 10 ) ;
560 Text [ en-US ] = "Colu~mn" ;
562 MetricField MTR_FLD_OFFSET
564 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_OFFSET";
566 Pos = MAP_APPFONT ( 219 , 157 ) ;
567 Size = MAP_APPFONT ( 29 , 12 ) ;
572 StrictFormat = TRUE ;
573 Unit = FUNIT_CUSTOM ;
574 CustomUnitText = "%" ;
579 // RID_SVXPAGE_SHADOW ------------------------------------------------------
580 TabPage RID_SVXPAGE_SHADOW
582 HelpID = HID_AREA_SHADOW ;
584 Size = MAP_APPFONT ( 260 , 185 ) ;
585 Text [ en-US ] = "Shadow" ;
588 Pos = MAP_APPFONT ( 6 , 3 ) ;
589 Size = MAP_APPFONT ( 248, 8 ) ;
590 Text [ en-US ] = "Properties";
592 TriStateBox TSB_SHOW_SHADOW
594 HelpID = "cui:TriStateBox:RID_SVXPAGE_SHADOW:TSB_SHOW_SHADOW";
595 Pos = MAP_APPFONT ( 12 , 14 ) ;
596 Size = MAP_APPFONT ( 110 , 10 ) ;
598 Text [ en-US ] = "~Use shadow";
600 FixedText FT_POSITION
602 Pos = MAP_APPFONT ( 12 , 33 ) ;
603 Size = MAP_APPFONT ( 50 , 10 ) ;
604 Text [ en-US ] = "~Position";
608 HelpId = HID_TPSHADOW_CTRL ;
609 Pos = MAP_APPFONT ( 65 , 31 ) ;
610 Size = MAP_APPFONT ( 57 , 29 ) ;
614 FixedText FT_DISTANCE
616 Pos = MAP_APPFONT ( 12 , 69 ) ;
617 Size = MAP_APPFONT ( 50 , 8 ) ;
618 Text [ en-US ] = "~Distance";
620 MetricField MTR_FLD_DISTANCE
622 HelpID = "cui:MetricField:RID_SVXPAGE_SHADOW:MTR_FLD_DISTANCE";
623 Pos = MAP_APPFONT ( 65 , 67 ) ;
624 Size = MAP_APPFONT ( 47 , 12 ) ;
630 Minimum = 0 ; // #i33700#
631 StrictFormat = TRUE ;
635 /*SpinSize = 100 ; */
638 ListBox LB_SHADOW_COLOR
640 HelpID = "cui:ListBox:RID_SVXPAGE_SHADOW:LB_SHADOW_COLOR";
641 Pos = MAP_APPFONT ( 65 , 86 ) ;
642 Size = MAP_APPFONT ( 57 , 100 ) ;
644 DDExtraWidth = TRUE ;
648 FixedText FT_SHADOW_COLOR
650 Pos = MAP_APPFONT ( 12 , 88 ) ;
651 Size = MAP_APPFONT ( 50 , 8 ) ;
652 Text [ en-US ] = "~Color" ;
654 FixedText FT_TRANSPARENT
656 Pos = MAP_APPFONT ( 12 , 107 ) ;
657 Size = MAP_APPFONT ( 50 , 8 ) ;
658 Text [ en-US ] = "~Transparency";
660 MetricField MTR_SHADOW_TRANSPARENT
662 HelpID = "cui:MetricField:RID_SVXPAGE_SHADOW:MTR_SHADOW_TRANSPARENT";
664 Pos = MAP_APPFONT ( 65 , 105 ) ;
665 Size = MAP_APPFONT ( 47 , 12 ) ;
670 StrictFormat = TRUE ;
671 Unit = FUNIT_CUSTOM ;
672 CustomUnitText = "%" ;
676 Control CTL_COLOR_PREVIEW
679 Pos = MAP_APPFONT ( 138 , 14 ) ;
680 Size = MAP_APPFONT ( 110 , 42 ) ;
684 // RID_SVXPAGE_HATCH --------------------------------------------------------
685 TabPage RID_SVXPAGE_HATCH
687 HelpID = HID_AREA_HATCH ;
689 Text [ en-US ] = "Hatching" ;
690 Size = MAP_APPFONT ( 260 , 185 ) ;
693 Pos = MAP_APPFONT ( 6 , 3 ) ;
694 Size = MAP_APPFONT ( 248, 8 ) ;
695 Text [ en-US ] = "Properties";
697 FixedText FT_LINE_DISTANCE
699 Pos = MAP_APPFONT ( 12 , 14 ) ;
700 Size = MAP_APPFONT ( 78 , 8 ) ;
701 Text [ en-US ] = "~Spacing" ;
703 MetricField MTR_FLD_DISTANCE
705 HelpID = "cui:MetricField:RID_SVXPAGE_HATCH:MTR_FLD_DISTANCE";
707 Pos = MAP_APPFONT ( 12 , 25 ) ;
708 Size = MAP_APPFONT ( 50 , 12 ) ;
720 FixedText FT_LINE_ANGLE
722 Pos = MAP_APPFONT ( 12 , 41 ) ;
723 Size = MAP_APPFONT ( 78 , 8 ) ;
724 Text [ en-US ] = "A~ngle" ;
726 MetricField MTR_FLD_ANGLE
728 HelpID = "cui:MetricField:RID_SVXPAGE_HATCH:MTR_FLD_ANGLE";
730 Pos = MAP_APPFONT ( 12 , 52 ) ;
731 Size = MAP_APPFONT ( 50 , 12 ) ;
736 Unit = FUNIT_CUSTOM ;
737 CustomUnitText [ en-US ] = " degrees" ;
743 HelpId = HID_TPHATCH_CTRL ;
745 Pos = MAP_APPFONT ( 12 , 72 ) ;
746 Size = MAP_APPFONT ( 39 , 39 ) ;
749 FixedText FT_LINE_TYPE
751 Pos = MAP_APPFONT ( 12 , 123 ) ;
752 Size = MAP_APPFONT ( 50 , 8 ) ;
753 Text [ en-US ] = "~Line type" ;
757 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_LINE_TYPE";
759 Pos = MAP_APPFONT ( 12 , 134 ) ;
760 Size = MAP_APPFONT ( 62 , 62 ) ;
763 StringList [ en-US ] =
765 < "Single" ; Default ; > ;
766 < "Crossed" ; Default ; > ;
767 < "Triple" ; Default ; > ;
770 FixedText FT_LINE_COLOR
772 Pos = MAP_APPFONT ( 12 , 150 ) ;
773 Size = MAP_APPFONT ( 49 , 8 ) ;
774 Text [ en-US ] = "Line ~color" ;
776 ListBox LB_LINE_COLOR
778 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_LINE_COLOR";
780 Pos = MAP_APPFONT ( 12 , 161 ) ;
781 Size = MAP_APPFONT ( 62 , 100 ) ;
784 DDExtraWidth = TRUE ;
788 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_HATCHINGS";
790 Pos = MAP_APPFONT ( 103 , 14 ) ;
791 Size = MAP_APPFONT ( 88 , 110 ) ;
797 Pos = MAP_APPFONT ( 103 , 131 ) ;
798 Size = MAP_APPFONT ( 88 , 42 ) ;
802 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_ADD";
803 Pos = MAP_APPFONT ( 197 , 14 ) ;
804 Size = MAP_APPFONT ( 50 , 14 ) ;
805 Text [ en-US ] = "~Add..." ;
808 PushButton BTN_MODIFY
810 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_MODIFY";
811 Pos = MAP_APPFONT ( 197 , 32 ) ;
812 Size = MAP_APPFONT ( 50 , 14 ) ;
813 Text [ en-US ] = "~Modify..." ;
816 PushButton BTN_DELETE
818 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_DELETE";
819 Pos = MAP_APPFONT ( 197 , 68 ) ;
820 Size = MAP_APPFONT ( 50 , 14 ) ;
821 Text [ en-US ] = "~Delete..." ;
826 HelpID = "cui:ImageButton:RID_SVXPAGE_HATCH:BTN_LOAD";
827 Pos = MAP_APPFONT ( 197 , 104 ) ;
828 Size = MAP_APPFONT ( 16 , 16 ) ;
830 QuickHelpText [ en-US ] = "Load Hatches List" ;
835 File = "sc05501.bmp" ;
842 HelpID = "cui:ImageButton:RID_SVXPAGE_HATCH:BTN_SAVE";
843 Pos = MAP_APPFONT ( 197 , 124 ) ;
844 Size = MAP_APPFONT ( 16 , 16 ) ;
846 QuickHelpText [ en-US ] = "Save Hatches List" ;
851 File = "sc05502.bmp" ;
857 // RID_SVXPAGE_BITMAP -------------------------------------------------------
858 TabPage RID_SVXPAGE_BITMAP
860 HelpID = HID_AREA_BITMAP ;
862 Text [ en-US ] = "Bitmap Patterns" ;
863 Size = MAP_APPFONT ( 260 , 185 ) ;
866 Pos = MAP_APPFONT ( 6 , 3 ) ;
867 Size = MAP_APPFONT ( 248, 8 ) ;
868 Text [ en-US ] = "Properties";
870 FixedText FT_PIXEL_EDIT
872 Pos = MAP_APPFONT ( 12 , 14 ) ;
873 Size = MAP_APPFONT ( 85 , 8 ) ;
874 Text [ en-US ] = "Pattern Editor";
879 Pos = MAP_APPFONT ( 12 , 25 ) ;
880 Size = MAP_APPFONT ( 72 , 72 ) ;
885 Pos = MAP_APPFONT ( 12 , 104 ) ;
886 Size = MAP_APPFONT ( 85 , 8 ) ;
887 Text [ en-US ] = "~Foreground color";
891 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_COLOR";
893 Pos = MAP_APPFONT ( 12 , 115 ) ;
894 Size = MAP_APPFONT ( 62 , 100 ) ;
897 DDExtraWidth = TRUE ;
899 FixedText FT_BACKGROUND_COLOR
901 Pos = MAP_APPFONT ( 12 , 131 ) ;
902 Size = MAP_APPFONT ( 85 , 8 ) ;
903 Text [ en-US ] = "~Background color";
905 ListBox LB_BACKGROUND_COLOR
907 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BACKGROUND_COLOR";
909 Pos = MAP_APPFONT ( 12 , 142 ) ;
910 Size = MAP_APPFONT ( 62 , 100 ) ;
913 DDExtraWidth = TRUE ;
915 FixedText FT_BITMAPS_HIDDEN
917 // Hidden label that provides the name for the bitmaps list box.
918 Text [ en-US ] = "Bitmap";
922 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BITMAPS";
924 Pos = MAP_APPFONT ( 103 , 14 ) ;
925 Size = MAP_APPFONT ( 88 , 110 ) ;
931 Pos = MAP_APPFONT ( 103 , 131 ) ;
932 Size = MAP_APPFONT ( 88 , 42 ) ;
936 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_ADD";
937 Pos = MAP_APPFONT ( 197 , 14 ) ;
938 Size = MAP_APPFONT ( 50 , 14 ) ;
939 Text [ en-US ] = "~Add..." ;
942 PushButton BTN_MODIFY
944 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_MODIFY";
945 Pos = MAP_APPFONT ( 197 , 32 ) ;
946 Size = MAP_APPFONT ( 50 , 14 ) ;
947 Text [ en-US ] = "~Modify..." ;
950 PushButton BTN_IMPORT
952 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_IMPORT";
953 Pos = MAP_APPFONT ( 197 , 50 ) ;
954 Size = MAP_APPFONT ( 50 , 14 ) ;
955 Text [ en-US ] = "~Import..." ;
958 PushButton BTN_DELETE
960 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_DELETE";
961 Pos = MAP_APPFONT ( 197 , 68 ) ;
962 Size = MAP_APPFONT ( 50 , 14 ) ;
963 Text [ en-US ] = "~Delete..." ;
968 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_LOAD";
969 Pos = MAP_APPFONT ( 197 , 104 ) ;
970 Size = MAP_APPFONT ( 16 , 16 ) ;
972 QuickHelpText [ en-US ] = "Load Bitmap List" ;
977 File = "sc05501.bmp" ;
984 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_SAVE";
985 Pos = MAP_APPFONT ( 197 , 124 ) ;
986 Size = MAP_APPFONT ( 16 , 16 ) ;
988 QuickHelpText [ en-US ] = "Save Bitmap List" ;
993 File = "sc05502.bmp" ;
999 // RID_SVXPAGE_GRADIENT -----------------------------------------------------
1000 TabPage RID_SVXPAGE_GRADIENT
1002 HelpID = HID_AREA_GRADIENT ;
1004 Text [ en-US ] = "Gradients" ;
1005 Size = MAP_APPFONT ( 260 , 185 ) ;
1008 Pos = MAP_APPFONT ( 6 , 3 ) ;
1009 Size = MAP_APPFONT ( 248, 8 ) ;
1010 Text [ en-US ] = "Properties";
1014 Pos = MAP_APPFONT ( 12 , 16 ) ;
1015 Size = MAP_APPFONT ( 26 , 8 ) ;
1016 Text [ en-US ] = "Ty~pe" ;
1018 ListBox LB_GRADIENT_TYPES
1020 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENT_TYPES";
1022 Pos = MAP_APPFONT ( 49 , 14 ) ;
1023 Size = MAP_APPFONT ( 48, 63 ) ;
1026 StringList [ en-US ] =
1028 < "Linear" ; Default ; > ;
1029 < "Axial" ; Default ; > ;
1030 < "Radial" ; Default ; > ;
1031 < "Ellipsoid" ; Default ; > ;
1032 < "Square" ; Default ; > ;
1033 < "Rectangular" ; Default ; > ;
1036 FixedText FT_CENTER_X
1038 Pos = MAP_APPFONT ( 12 , 32 ) ;
1039 Size = MAP_APPFONT ( 37 , 8 ) ;
1040 Text [ en-US ] = "Center ~X" ;
1042 MetricField MTR_CENTER_X
1044 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_X";
1046 Pos = MAP_APPFONT ( 49 , 30 ) ;
1047 Size = MAP_APPFONT ( 40 , 12 ) ;
1052 StrictFormat = TRUE ;
1053 Unit = FUNIT_CUSTOM ;
1054 CustomUnitText = "%" ;
1058 FixedText FT_CENTER_Y
1060 Pos = MAP_APPFONT ( 12 , 48 ) ;
1061 Size = MAP_APPFONT ( 37 , 8 ) ;
1062 Text [ en-US ] = "Center ~Y" ;
1064 MetricField MTR_CENTER_Y
1066 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_Y";
1068 Pos = MAP_APPFONT ( 49 , 46 ) ;
1069 Size = MAP_APPFONT ( 40, 12 ) ;
1074 StrictFormat = TRUE ;
1075 Unit = FUNIT_CUSTOM ;
1076 CustomUnitText = "%" ;
1082 Pos = MAP_APPFONT ( 12 , 64 ) ;
1083 Size = MAP_APPFONT ( 37 , 8 ) ;
1084 Text [ en-US ] = "A~ngle" ;
1086 MetricField MTR_ANGLE
1088 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_ANGLE";
1090 Pos = MAP_APPFONT ( 49 , 62 ) ;
1091 Size = MAP_APPFONT ( 40, 12 ) ;
1096 Unit = FUNIT_CUSTOM ;
1097 CustomUnitText [ en-US ] = " degrees" ;
1103 Pos = MAP_APPFONT ( 12 , 80 ) ;
1104 Size = MAP_APPFONT ( 32 , 8 ) ;
1105 Text [ en-US ] = "~Border" ;
1107 MetricField MTR_BORDER
1109 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_BORDER";
1111 Pos = MAP_APPFONT ( 49 , 78 ) ;
1112 Size = MAP_APPFONT ( 40, 12 ) ;
1117 StrictFormat = TRUE ;
1118 Unit = FUNIT_CUSTOM ;
1119 CustomUnitText = "%" ;
1123 FixedText FT_COLOR_FROM
1125 Pos = MAP_APPFONT ( 12 , 99 ) ;
1126 Size = MAP_APPFONT ( 32 , 8 ) ;
1127 Text [ en-US ] = "~From" ;
1129 ListBox LB_COLOR_FROM
1131 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_FROM";
1133 Pos = MAP_APPFONT ( 49 , 97 ) ;
1134 Size = MAP_APPFONT ( 48, 100 ) ;
1137 DDExtraWidth = TRUE ;
1139 MetricField MTR_COLOR_FROM
1141 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_FROM";
1143 Pos = MAP_APPFONT ( 49 , 113 ) ;
1144 Size = MAP_APPFONT ( 40, 12 ) ;
1149 StrictFormat = TRUE ;
1150 Unit = FUNIT_CUSTOM ;
1151 CustomUnitText = "%" ;
1155 FixedText FT_COLOR_TO
1157 Pos = MAP_APPFONT ( 12 , 133 ) ;
1158 Size = MAP_APPFONT ( 32 , 8 ) ;
1159 Text [ en-US ] = "~To" ;
1163 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_TO";
1165 Pos = MAP_APPFONT ( 49 , 131 ) ;
1166 Size = MAP_APPFONT ( 48, 100 ) ;
1169 DDExtraWidth = TRUE ;
1171 MetricField MTR_COLOR_TO
1173 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_TO";
1175 Pos = MAP_APPFONT ( 49 , 147 ) ;
1176 Size = MAP_APPFONT ( 40, 12 ) ;
1181 StrictFormat = TRUE ;
1182 Unit = FUNIT_CUSTOM ;
1183 CustomUnitText = "%" ;
1187 ListBox LB_GRADIENTS
1189 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENTS";
1191 Pos = MAP_APPFONT ( 103 , 14 ) ;
1192 Size = MAP_APPFONT ( 88 , 110 ) ;
1198 Pos = MAP_APPFONT ( 103 , 131 ) ;
1199 Size = MAP_APPFONT ( 88 , 42 ) ;
1203 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_ADD";
1204 Pos = MAP_APPFONT ( 197 , 14 ) ;
1205 Size = MAP_APPFONT ( 50 , 14 ) ;
1206 Text [ en-US ] = "~Add..." ;
1209 PushButton BTN_MODIFY
1211 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_MODIFY";
1212 Pos = MAP_APPFONT ( 197 , 32 ) ;
1213 Size = MAP_APPFONT ( 50 , 14 ) ;
1214 Text [ en-US ] = "~Modify..." ;
1217 PushButton BTN_DELETE
1219 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_DELETE";
1220 Pos = MAP_APPFONT ( 197 , 68 ) ;
1221 Size = MAP_APPFONT ( 50 , 14 ) ;
1222 Text [ en-US ] = "~Delete..." ;
1225 ImageButton BTN_LOAD
1227 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_LOAD";
1228 Pos = MAP_APPFONT ( 197 , 104 ) ;
1229 Size = MAP_APPFONT ( 16 , 16 ) ;
1231 QuickHelpText [ en-US ] = "Load Gradients List" ;
1234 ImageBitmap = Bitmap
1236 File = "sc05501.bmp" ;
1241 ImageButton BTN_SAVE
1243 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_SAVE";
1244 Pos = MAP_APPFONT ( 197 , 124 ) ;
1245 Size = MAP_APPFONT ( 16 , 16 ) ;
1247 QuickHelpText [ en-US ] = "Save Gradients List" ;
1250 ImageBitmap = Bitmap
1252 File = "sc05502.bmp" ;
1258 // RID_SVXPAGE_COLOR --------------------------------------------------------
1259 TabPage RID_SVXPAGE_COLOR
1261 HelpId = HID_OPTIONS_COLOR ;
1263 Text [ en-US ] = "Colors" ;
1265 Size = MAP_APPFONT ( 260 , 185 ) ;
1268 Pos = MAP_APPFONT ( 6 , 3 ) ;
1269 Size = MAP_APPFONT ( 248, 8 ) ;
1270 Text [ en-US ] = "Properties";
1274 Pos = MAP_APPFONT ( 12 , 16 ) ;
1275 Size = MAP_APPFONT ( 28 , 8 ) ;
1276 Text [ en-US ] = "~Name" ;
1280 HelpID = "cui:Edit:RID_SVXPAGE_COLOR:EDT_NAME";
1282 Pos = MAP_APPFONT ( 42 , 14 ) ;
1283 Size = MAP_APPFONT ( 76 , 12 ) ;
1288 Pos = MAP_APPFONT ( 12 , 32 ) ;
1289 Size = MAP_APPFONT ( 28 , 8 ) ;
1290 Text [ en-US ] = "C~olor" ;
1294 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLOR";
1296 Pos = MAP_APPFONT ( 42 , 30 ) ;
1297 Size = MAP_APPFONT ( 76 , 100 ) ;
1300 DDExtraWidth = TRUE ;
1303 FixedText FT_TABLE_NAME
1305 Pos = MAP_APPFONT ( 42 , 48 ) ;
1306 Size = MAP_APPFONT ( 94 , 8 ) ;
1307 Text [ en-US ] = "Color table" ;
1309 Control CTL_COLORTABLE
1313 Pos = MAP_APPFONT ( 42 , 59 ) ;
1314 Size = MAP_APPFONT ( 94 , 117 ) ;
1318 Control CTL_PREVIEW_OLD
1321 Pos = MAP_APPFONT ( 157 , 14 ) ;
1322 Size = MAP_APPFONT ( 34 , 25 ) ;
1324 Control CTL_PREVIEW_NEW
1327 Pos = MAP_APPFONT ( 157, 39 ) ;
1328 Size = MAP_APPFONT ( 34 , 25 ) ;
1330 ListBox LB_COLORMODEL
1332 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLORMODEL";
1334 Pos = MAP_APPFONT ( 157 , 71 ) ;
1335 Size = MAP_APPFONT ( 34 , 12 ) ;
1338 StringList [ en-US ] =
1340 < "RGB" ; Default ; > ;
1341 < "CMYK" ; Default ; > ;
1346 Pos = MAP_APPFONT ( 142 , 89 ) ;
1347 Size = MAP_APPFONT ( 15 , 8 ) ;
1350 MetricField MTR_FLD_1
1352 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_1";
1354 Pos = MAP_APPFONT ( 157 , 87 ) ;
1355 Size = MAP_APPFONT ( 30 , 12 ) ;
1360 Unit = FUNIT_CUSTOM ;
1361 CustomUnitText = "%" ;
1366 Pos = MAP_APPFONT ( 142 , 105 ) ;
1367 Size = MAP_APPFONT ( 15 , 8 ) ;
1370 MetricField MTR_FLD_2
1372 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_2";
1374 Pos = MAP_APPFONT ( 157 , 103 ) ;
1375 Size = MAP_APPFONT ( 30 , 12 ) ;
1380 Unit = FUNIT_CUSTOM ;
1381 CustomUnitText = "%" ;
1386 Pos = MAP_APPFONT ( 142 , 121 ) ;
1387 Size = MAP_APPFONT ( 15 , 8 ) ;
1390 MetricField MTR_FLD_3
1392 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_3";
1394 Pos = MAP_APPFONT ( 157 , 119 ) ;
1395 Size = MAP_APPFONT ( 30 , 12 ) ;
1400 Unit = FUNIT_CUSTOM ;
1401 CustomUnitText = "%" ;
1406 Pos = MAP_APPFONT ( 142 , 137 ) ;
1407 Size = MAP_APPFONT ( 15 , 8 ) ;
1410 MetricField MTR_FLD_4
1412 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_4";
1414 Pos = MAP_APPFONT ( 157 , 135 ) ;
1415 Size = MAP_APPFONT ( 30 , 12 ) ;
1420 Unit = FUNIT_CUSTOM ;
1421 CustomUnitText = "%" ;
1426 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_ADD";
1427 Pos = MAP_APPFONT ( 197 , 14 ) ;
1428 Size = MAP_APPFONT ( 50 , 14 ) ;
1429 Text [ en-US ] = "~Add" ;
1432 PushButton BTN_WORK_ON
1434 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_WORK_ON";
1435 Pos = MAP_APPFONT ( 197 , 50 ) ;
1436 Size = MAP_APPFONT ( 50 , 14 ) ;
1437 Text [ en-US ] = "~Edit..." ;
1440 PushButton BTN_DELETE
1442 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_DELETE";
1443 Pos = MAP_APPFONT ( 197 , 68 ) ;
1444 Size = MAP_APPFONT ( 50 , 14 ) ;
1445 Text [ en-US ] = "~Delete..." ;
1448 PushButton BTN_MODIFY
1450 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_MODIFY";
1451 Pos = MAP_APPFONT ( 197, 32 ) ;
1452 Size = MAP_APPFONT ( 50 , 14 ) ;
1453 Text [ en-US ] = "~Modify" ;
1456 ImageButton BTN_LOAD
1458 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_LOAD";
1459 Pos = MAP_APPFONT ( 197 , 104 ) ;
1460 Size = MAP_APPFONT ( 16 , 16 ) ;
1462 QuickHelpText [ en-US ] = "Load Color List" ;
1465 ImageBitmap = Bitmap
1467 File = "sc05501.bmp" ;
1472 ImageButton BTN_SAVE
1474 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_SAVE";
1475 Pos = MAP_APPFONT ( 197 , 124 ) ;
1476 Size = MAP_APPFONT ( 16 , 16 ) ;
1478 QuickHelpText [ en-US ] = "Save Color List" ;
1481 ImageBitmap = Bitmap
1483 File = "sc05502.bmp" ;
1489 // RID_SVXDLG_AREA ----------------------------------------------------------
1490 TabDialog RID_SVXDLG_AREA
1494 Size = MAP_APPFONT ( 289 , 176 ) ;
1495 Text [ en-US ] = "Area" ;
1500 Pos = MAP_APPFONT ( 3 , 3 ) ;
1505 Identifier = RID_SVXPAGE_AREA ;
1506 Text [ en-US ] = "Area" ;
1507 PageResID = RID_SVXPAGE_AREA ;
1511 Identifier = RID_SVXPAGE_SHADOW ;
1512 PageResID = RID_SVXPAGE_SHADOW ;
1513 Text [ en-US ] = "Shadow" ;
1517 Identifier = RID_SVXPAGE_TRANSPARENCE ;
1518 Text [ en-US ] = "Transparency";
1522 Identifier = RID_SVXPAGE_COLOR ;
1523 Text [ en-US ] = "Colors" ;
1524 PageResID = RID_SVXPAGE_COLOR ;
1528 Identifier = RID_SVXPAGE_GRADIENT ;
1529 Text [ en-US ] = "Gradients" ;
1530 PageResID = RID_SVXPAGE_GRADIENT ;
1534 Identifier = RID_SVXPAGE_HATCH ;
1535 Text [ en-US ] = "Hatching" ;
1536 PageResID = RID_SVXPAGE_HATCH ;
1540 Identifier = RID_SVXPAGE_BITMAP ;
1541 Text [ en-US ] = "Bitmaps" ;
1542 PageResID = RID_SVXPAGE_BITMAP ;
1548 Image RID_SVXIMG_LOAD_H
1550 ImageBitmap = Bitmap
1552 File = "sch05501.bmp" ;
1557 Image RID_SVXIMG_SAVE_H
1559 ImageBitmap = Bitmap
1561 File = "sch05502.bmp" ;
1566 String STR_LB_HATCHINGSTYLE
1568 Text [ en-US ] = "Hatching Style" ;
1571 String STR_CUI_COLORMODEL
1573 Text [ en-US ] = "Color Mode" ;