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