xref: /AOO41X/main/cui/source/tabpages/labdlg.src (revision 0e2af6af91e132b42f4dfba722979876af246a8a)
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 // include ---------------------------------------------------------------
24#include "helpid.hrc"
25#include "labdlg.hrc"
26#include <svx/dialogs.hrc>
27
28 // RID_SVXPAGE_CAPTION ---------------------------------------------------
29TabPage RID_SVXPAGE_CAPTION
30{
31    HelpId = HID_CAPTION ;
32    Hide = TRUE ;
33    //Size = MAP_APPFONT ( 189 , 97 ) ;
34    Size = MAP_APPFONT ( 260 , 185 ) ;
35    Text [ en-US ] = "Callouts" ;
36    Control CT_CAPTTYPE
37    {
38        HelpId = HID_CAPTION_CTL_TYPE ;
39        Border = TRUE ;
40        Pos = MAP_APPFONT ( 6 , 6  ) ;
41        Size = MAP_APPFONT ( 187 , 38 ) ;
42        TabStop = TRUE ;
43    };
44    FixedText FT_ABSTAND
45    {
46        Pos = MAP_APPFONT ( 6 , 53  ) ;
47        Size = MAP_APPFONT ( 42 , 8 ) ;
48        Text [ en-US ] = "~Spacing" ;
49    };
50    MetricField MF_ABSTAND
51    {
52        HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_ABSTAND";
53        Border = TRUE ;
54        Pos = MAP_APPFONT ( 50 , 51  ) ;
55        Size = MAP_APPFONT ( 50 , 12 ) ;
56        TabStop = TRUE ;
57        Repeat = TRUE ;
58        Spin = TRUE ;
59        Maximum = 240000 ;
60        StrictFormat = TRUE ;
61        DecimalDigits = 2 ;
62        Unit = FUNIT_MM ;
63        SpinSize = 50 ;
64    };
65    FixedText FT_WINKEL
66    {
67        Pos = MAP_APPFONT ( 106 , 53  ) ;
68        Size = MAP_APPFONT ( 35 , 8 ) ;
69        Text [ en-US ] = "~Angle" ;
70    };
71    ListBox LB_WINKEL
72    {
73        HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_WINKEL";
74        Border = TRUE ;
75        Pos = MAP_APPFONT ( 143 , 51  ) ;
76        Size = MAP_APPFONT ( 50 , 60 ) ;
77        TabStop = TRUE ;
78        DropDown = TRUE ;
79        CurPos = 0 ;
80        StringList [ en-US ] =
81        {
82            < "Free" ; 1 ; > ;
83            < "30 Degrees" ; 3000 ; > ;
84            < "45 Degrees" ; 4500 ; > ;
85            < "60 Degrees" ; 6000 ; > ;
86            < "90 Degrees" ; 9000 ; > ;
87        };
88    };
89    FixedText FT_ANSATZ
90    {
91        Pos = MAP_APPFONT ( 6 , 69  ) ;
92        Size = MAP_APPFONT ( 42 , 8 ) ;
93        Text [ en-US ] = "~Extension" ;
94    };
95    ListBox LB_ANSATZ
96    {
97        HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_ANSATZ";
98        Border = TRUE ;
99        Pos = MAP_APPFONT ( 50 , 67  ) ;
100        Size = MAP_APPFONT ( 50 , 60 ) ;
101        TabStop = TRUE ;
102        DropDown = TRUE ;
103        CurPos = 0 ;
104        StringList [ en-US ] =
105        {
106            < "Optimal" ; 4 ; > ;
107            < "From top" ; 3 ; > ;
108            < "From left" ; 3 ; > ;
109            < "Horizontal" ; 1 ; > ;
110            < "Vertical" ; 2 ; > ;
111        };
112    };
113    FixedText FT_UM
114    {
115        Pos = MAP_APPFONT ( 106 , 69  ) ;
116        Size = MAP_APPFONT ( 35 , 8 ) ;
117        Text [ en-US ] = "~By" ;
118    };
119    MetricField MF_ANSATZ
120    {
121        HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_ANSATZ";
122        Border = TRUE ;
123        Pos = MAP_APPFONT ( 143 , 67  ) ;
124        Size = MAP_APPFONT ( 50 , 12 ) ;
125        TabStop = TRUE ;
126        Repeat = TRUE ;
127        Spin = TRUE ;
128        Maximum = 240000 ;
129        StrictFormat = TRUE ;
130        DecimalDigits = 2 ;
131        Unit = FUNIT_MM ;
132        SpinSize = 50 ;
133    };
134    FixedText FT_ANSATZ_REL
135    {
136        Pos = MAP_APPFONT ( 106 , 69  ) ;
137        Size = MAP_APPFONT ( 35 , 8 ) ;
138        Text [ en-US ] = "~Position" ;
139    };
140    ListBox LB_ANSATZ_REL
141    {
142        HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_ANSATZ_REL";
143        Border = TRUE ;
144        Pos = MAP_APPFONT ( 143 , 67  ) ;
145        Size = MAP_APPFONT ( 50 , 60 ) ;
146        TabStop = TRUE ;
147        DropDown = TRUE ;
148    };
149    FixedText FT_LAENGE
150    {
151        Pos = MAP_APPFONT ( 6 , 85  ) ;
152        Size = MAP_APPFONT ( 42 , 8 ) ;
153        /* ### ACHTUNG: Neuer Text in Resource? ~L�nge : ~L�nge */
154        /* ### ACHTUNG: Neuer Text in Resource? ~L�nge : ~L�nge */
155        Text [ en-US ] = "~Length" ;
156    };
157    MetricField MF_LAENGE
158    {
159        HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_LAENGE";
160        Border = TRUE ;
161        Pos = MAP_APPFONT ( 50 , 83  ) ;
162        Size = MAP_APPFONT ( 50 , 12 ) ;
163        TabStop = TRUE ;
164        Repeat = TRUE ;
165        Spin = TRUE ;
166        Maximum = 240000 ;
167        StrictFormat = TRUE ;
168        DecimalDigits = 2 ;
169        Unit = FUNIT_MM ;
170        SpinSize = 50 ;
171    };
172    CheckBox CB_LAENGE
173    {
174        HelpID = "cui:CheckBox:RID_SVXPAGE_CAPTION:CB_LAENGE";
175        Pos = MAP_APPFONT ( 106 , 84  ) ;
176        Size = MAP_APPFONT ( 50 , 10 ) ;
177        TabStop = TRUE ;
178        Text [ en-US ] = "~Optimal" ;
179    };
180    String STR_CAPTTYPE_1
181    {
182        Text [ en-US ] = "Straight Line" ;
183    };
184    String STR_CAPTTYPE_2
185    {
186        Text [ en-US ] = "Angled Line" ;
187    };
188    String STR_CAPTTYPE_3
189    {
190        Text [ en-US ] = "Angled Connector Line" ;
191    };
192    String STR_CAPTTYPE_4
193    {
194        Text [ en-US ] = "Double-angled line" ;
195    };
196    String STR_HORZ_LIST
197    {
198        Text [ en-US ] = "Top;Middle;Bottom" ;
199    };
200    String STR_VERT_LIST
201    {
202        Text [ en-US ] = "Left;Middle;Right" ;
203    };
204    Bitmap BMP_CAPTTYPE_1
205    {
206        File = "legtyp1.bmp" ;
207    };
208    Bitmap BMP_CAPTTYPE_2
209    {
210        File = "legtyp2.bmp" ;
211    };
212    Bitmap BMP_CAPTTYPE_3
213    {
214        File = "legtyp3.bmp" ;
215    };
216    Bitmap BMP_CAPTTYPE_4
217    {
218        File = "legtyp4.bmp" ;
219    };
220    Bitmap BMP_CAPTTYPE_1_H
221    {
222        File = "legtyp1_hc.bmp" ;
223    };
224    Bitmap BMP_CAPTTYPE_2_H
225    {
226        File = "legtyp2_hc.bmp" ;
227    };
228    Bitmap BMP_CAPTTYPE_3_H
229    {
230        File = "legtyp3_hc.bmp" ;
231    };
232    Bitmap BMP_CAPTTYPE_4_H
233    {
234        File = "legtyp4_hc.bmp" ;
235    };
236};
237 // RID_SVXDLG_CAPTION ----------------------------------------------------
238
239#define  _POS_SIZE_TEXT \
240                Text [ en-US ] = "Position and Size" ;             \
241
242TabDialog RID_SVXDLG_CAPTION\
243{
244    OutputSize = TRUE ;
245    SVLook = TRUE ;
246    Size = MAP_APPFONT ( 237 , 161 ) ;
247    Text [ en-US ] = "Callouts" ;\
248    Moveable = TRUE ;
249    TabControl TAB_CONTROL\
250    {
251        OutputSize = TRUE ;
252        Pos = MAP_APPFONT ( 3 , 3 ) ;
253        Size = MAP_APPFONT ( 189 , 97 ) ;
254        PageList =
255        {
256            PageItem\
257            {
258                Identifier = RID_SVXPAGE_POSITION_SIZE ;
259                PageResID = RID_SVXPAGE_POSITION_SIZE ;
260                _POS_SIZE_TEXT
261            };
262            PageItem
263            {
264                Identifier = RID_SVXPAGE_SWPOSSIZE;
265                PageResID = RID_SVXPAGE_SWPOSSIZE;
266                _POS_SIZE_TEXT
267            };
268            PageItem
269            {
270                Identifier = RID_SVXPAGE_CAPTION ;
271                PageResID = RID_SVXPAGE_CAPTION ;
272                Text [ en-US ] = "Callout" ;
273            };
274        };
275    };
276};
277 // ********************************************************************** EOF
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302