xref: /trunk/main/cui/source/tabpages/measure.src (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include <cuires.hrc>
29#include "measure.hrc"
30#include "helpid.hrc"
31#include <svx/dialogs.hrc>
32
33#define DELTA 20
34 // pragma ----------------------------------------------------------------
35
36 // RID_SVXPAGE_MEASURE ---------------------------------------------------
37TabPage RID_SVXPAGE_MEASURE
38{
39    HelpId = HID_PAGE_MEASURE ;
40    Hide = TRUE ;
41    Size = MAP_APPFONT ( 260 , 185 ) ;
42    Text [ en-US ] = "Dimensioning" ;
43
44    FixedLine FL_LINE
45    {
46        Pos = MAP_APPFONT ( 6 , 3 ) ;
47        Size = MAP_APPFONT ( 120 , 8 ) ;
48        Text [ en-US ] = "Line";
49    };
50    FixedText FT_LINE_DIST
51    {
52        Pos = MAP_APPFONT ( 12 , 16  ) ;
53        Size = MAP_APPFONT ( 65 , 8 ) ;
54        Text [ en-US ] = "Line ~distance" ;
55    };
56    MetricField MTR_LINE_DIST
57    {
58        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_LINE_DIST";
59        Border = TRUE ;
60        Pos = MAP_APPFONT ( 78 , 14  ) ;
61        Size = MAP_APPFONT ( 42 , 12 ) ;
62        TabStop = TRUE ;
63        Repeat = TRUE ;
64        Spin = TRUE ;
65        Unit = FUNIT_MM ;
66        DecimalDigits = 2 ;
67        Minimum = -10000 ;
68        First = -10000 ;
69        Maximum = 10000 ;
70        Last = 10000 ;
71        SpinSize = 10 ;
72    };
73    FixedText FT_HELPLINE_OVERHANG
74    {
75        Pos = MAP_APPFONT ( 12 , 32  ) ;
76        Size = MAP_APPFONT ( 65 , 8 ) ;
77        Text [ en-US ] = "Guide ~overhang" ;
78    };
79    MetricField MTR_FLD_HELPLINE_OVERHANG
80    {
81        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_OVERHANG";
82        Border = TRUE ;
83        Pos = MAP_APPFONT ( 78 , 30  ) ;
84        Size = MAP_APPFONT ( 42 , 12 ) ;
85        TabStop = TRUE ;
86        Repeat = TRUE ;
87        Spin = TRUE ;
88        Unit = FUNIT_MM ;
89        DecimalDigits = 2 ;
90        Minimum = -10000 ;
91        First = -10000 ;
92        Maximum = 10000 ;
93        Last = 10000 ;
94        SpinSize = 10 ;
95    };
96    FixedText FT_HELPLINE_DIST
97    {
98        Pos = MAP_APPFONT ( 12 , 48  ) ;
99        Size = MAP_APPFONT ( 65 , 8 ) ;
100        Text [ en-US ] = "~Guide distance" ;
101    };
102    MetricField MTR_FLD_HELPLINE_DIST
103    {
104        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_DIST";
105        Border = TRUE ;
106        Pos = MAP_APPFONT ( 78 , 46  ) ;
107        Size = MAP_APPFONT ( 42 , 12 ) ;
108        TabStop = TRUE ;
109        Repeat = TRUE ;
110        Spin = TRUE ;
111        Unit = FUNIT_MM ;
112        DecimalDigits = 2 ;
113        Minimum = -10000 ;
114        First = -10000 ;
115        Maximum = 10000 ;
116        Last = 10000 ;
117        SpinSize = 10 ;
118    };
119    FixedText FT_HELPLINE1_LEN
120    {
121        Pos = MAP_APPFONT ( 12 , 64  ) ;
122        Size = MAP_APPFONT ( 65 , 8 ) ;
123        Text [ en-US ] = "~Left guide" ;
124    };
125    MetricField MTR_FLD_HELPLINE1_LEN
126    {
127        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE1_LEN";
128        Border = TRUE ;
129        Pos = MAP_APPFONT ( 78 , 62 ) ;
130        Size = MAP_APPFONT ( 42 , 12 ) ;
131        TabStop = TRUE ;
132        Repeat = TRUE ;
133        Spin = TRUE ;
134        Unit = FUNIT_MM ;
135        DecimalDigits = 2 ;
136        Minimum = -10000 ;
137        First = -10000 ;
138        Maximum = 10000 ;
139        Last = 10000 ;
140        SpinSize = 10 ;
141    };
142    FixedText FT_HELPLINE2_LEN
143    {
144        Pos = MAP_APPFONT ( 12 , 80 ) ;
145        Size = MAP_APPFONT ( 65 , 8 ) ;
146        Text [ en-US ] = "~Right guide" ;
147    };
148    MetricField MTR_FLD_HELPLINE2_LEN
149    {
150        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE2_LEN";
151        Border = TRUE ;
152        Pos = MAP_APPFONT ( 78 , 78 ) ;
153        Size = MAP_APPFONT ( 42 , 12 ) ;
154        TabStop = TRUE ;
155        Repeat = TRUE ;
156        Spin = TRUE ;
157        Unit = FUNIT_MM ;
158        DecimalDigits = 2 ;
159        Minimum = -10000 ;
160        First = -10000 ;
161        Maximum = 10000 ;
162        Last = 10000 ;
163        SpinSize = 10 ;
164    };
165    TriStateBox TSB_BELOW_REF_EDGE
166    {
167        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_BELOW_REF_EDGE";
168        Pos = MAP_APPFONT ( 12 , 96  ) ;
169        Size = MAP_APPFONT ( 108 , 10 ) ;
170        TabStop = TRUE ;
171        Text [ en-US ] = "Measure ~below object";
172    };
173    FixedText FT_DECIMALPLACES
174    {
175        Pos = MAP_APPFONT ( 12 , 112 ) ;
176        Size = MAP_APPFONT ( 65 , 8 ) ;
177
178        Text [ en-US ] = "Decimal places" ;
179    };
180    MetricField MTR_FLD_DECIMALPLACES
181    {
182        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_DECIMALPLACES";
183        Border = TRUE ;
184        Pos = MAP_APPFONT ( 78 , 110 ) ;
185        Size = MAP_APPFONT ( 42 , 12 ) ;
186        TabStop = TRUE ;
187        Right = TRUE ;
188        Repeat = TRUE ;
189        Spin = TRUE ;
190        Maximum = 99 ;
191        StrictFormat = TRUE ;
192        Last = 99 ;
193        SpinSize = 1 ;
194    };
195    FixedLine FL_VERT
196    {
197        Pos = MAP_APPFONT ( 127 , 14 ) ;
198        Size = MAP_APPFONT ( 4 , 108 ) ;
199        Vert = TRUE ;
200    };
201    FixedLine FL_LABEL
202    {
203        Pos = MAP_APPFONT ( 132 , 3 ) ;
204        Size = MAP_APPFONT ( 122 , 8 ) ;
205        Text [ en-US ] = "Legend";
206    };
207    FixedText FT_POSITION
208    {
209        Pos = MAP_APPFONT ( 138 , 14  ) ;
210        Size = MAP_APPFONT ( 110 , 8 ) ;
211        Text [ en-US ] = "~Text position" ;
212    };
213    Control CTL_POSITION
214    {
215        HelpId = HID_MEASURE_CTL_POSITION ;
216        Border = TRUE ;
217        Pos = MAP_APPFONT ( 154 , 25  ) ;
218        Size = MAP_APPFONT ( 60 , 24 ) ;
219        TabStop = TRUE ;
220    };
221    TriStateBox TSB_AUTOPOSV
222    {
223        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSV";
224        Pos = MAP_APPFONT ( 154 , 54 ) ;
225        Size = MAP_APPFONT ( 101 , 10 ) ;
226        TabStop = TRUE ;
227        Text [ en-US ] = "~AutoVertical" ;
228    };
229    TriStateBox TSB_AUTOPOSH
230    {
231        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSH";
232        Pos = MAP_APPFONT ( 154 , 68  ) ;
233        Size = MAP_APPFONT ( 101 , 10 ) ;
234        TabStop = TRUE ;
235        Text [ en-US ] = "A~utoHorizontal" ;
236    };
237    TriStateBox TSB_PARALLEL
238    {
239        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_PARALLEL";
240        Pos = MAP_APPFONT ( 138 , 82 ) ;
241        Size = MAP_APPFONT ( 110 , 10 ) ;
242        TabStop = TRUE ;
243        Text [ en-US ] = "~Parallel to line";
244    };
245    TriStateBox TSB_SHOW_UNIT
246    {
247        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_SHOW_UNIT";
248        Pos = MAP_APPFONT ( 138 , 96  ) ;
249        Size = MAP_APPFONT ( 64+40 , 10 ) ;
250        TabStop = TRUE ;
251        Text [ en-US ] = "Show ~meas. units" ;
252    };
253    ListBox LB_UNIT
254    {
255        HelpID = "cui:ListBox:RID_SVXPAGE_MEASURE:LB_UNIT";
256        Border = TRUE ;
257        Pos = MAP_APPFONT ( 154 , 110 ) ;
258        Size = MAP_APPFONT ( 60 , 80+35 ) ;
259        TabStop = TRUE ;
260        DropDown = TRUE ;
261        DDExtraWidth = TRUE ;
262    };
263    Control CTL_PREVIEW
264    {
265        HelpId = HID_MEASURE_CTL_PREVIEW ;
266        Border = TRUE ;
267        Pos = MAP_APPFONT ( 6 , 132 ) ;
268        Size = MAP_APPFONT ( 248 , 47 ) ;
269    };
270    String STR_MEASURE_AUTOMATIC
271    {
272        Text [ en-US ] = "Automatic" ;
273    };
274};
275 // ********************************************************************** EOF
276
277
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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322