xref: /aoo42x/main/cui/source/tabpages/measure.src (revision 461ab462)
10e2af6afSAndrew Rist/**************************************************************
2*461ab462Smseidel *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10*461ab462Smseidel *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*461ab462Smseidel *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
19*461ab462Smseidel *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23*461ab462Smseidel
24*461ab462Smseidel// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <cuires.hrc>
26cdf0e10cSrcweir#include "measure.hrc"
27cdf0e10cSrcweir#include "helpid.hrc"
28cdf0e10cSrcweir#include <svx/dialogs.hrc>
29cdf0e10cSrcweir
30cdf0e10cSrcweir#define DELTA 20
31*461ab462Smseidel// pragma ----------------------------------------------------------------
32cdf0e10cSrcweir
33*461ab462Smseidel// RID_SVXPAGE_MEASURE ---------------------------------------------------
34cdf0e10cSrcweirTabPage RID_SVXPAGE_MEASURE
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	HelpId = HID_PAGE_MEASURE ;
37cdf0e10cSrcweir	Hide = TRUE ;
38*461ab462Smseidel	Size = MAP_APPFONT ( 260, 185 ) ;
39cdf0e10cSrcweir	Text [ en-US ] = "Dimensioning" ;
40cdf0e10cSrcweir
41cdf0e10cSrcweir	FixedLine FL_LINE
42cdf0e10cSrcweir	{
43*461ab462Smseidel		Pos = MAP_APPFONT ( 6, 3 ) ;
44*461ab462Smseidel		Size = MAP_APPFONT ( 120, 8 ) ;
45*461ab462Smseidel		Text [ en-US ] = "Line" ;
46cdf0e10cSrcweir	};
47cdf0e10cSrcweir	FixedText FT_LINE_DIST
48cdf0e10cSrcweir	{
49*461ab462Smseidel		Pos = MAP_APPFONT ( 12, 16 ) ;
50*461ab462Smseidel		Size = MAP_APPFONT ( 65, 8 ) ;
51cdf0e10cSrcweir		Text [ en-US ] = "Line ~distance" ;
52cdf0e10cSrcweir	};
53cdf0e10cSrcweir	MetricField MTR_LINE_DIST
54cdf0e10cSrcweir	{
55*461ab462Smseidel		HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_LINE_DIST" ;
56cdf0e10cSrcweir		Border = TRUE ;
57*461ab462Smseidel		Pos = MAP_APPFONT ( 78, 14 ) ;
58*461ab462Smseidel		Size = MAP_APPFONT ( 42, 12 ) ;
59cdf0e10cSrcweir		TabStop = TRUE ;
60cdf0e10cSrcweir		Repeat = TRUE ;
61cdf0e10cSrcweir		Spin = TRUE ;
62cdf0e10cSrcweir		Unit = FUNIT_MM ;
63cdf0e10cSrcweir		DecimalDigits = 2 ;
64cdf0e10cSrcweir		Minimum = -10000 ;
65cdf0e10cSrcweir		First = -10000 ;
66cdf0e10cSrcweir		Maximum = 10000 ;
67cdf0e10cSrcweir		Last = 10000 ;
68cdf0e10cSrcweir		SpinSize = 10 ;
69cdf0e10cSrcweir	};
70cdf0e10cSrcweir	FixedText FT_HELPLINE_OVERHANG
71cdf0e10cSrcweir	{
72*461ab462Smseidel		Pos = MAP_APPFONT ( 12, 32 ) ;
73*461ab462Smseidel		Size = MAP_APPFONT ( 65, 8 ) ;
74cdf0e10cSrcweir		Text [ en-US ] = "Guide ~overhang" ;
75cdf0e10cSrcweir	};
76cdf0e10cSrcweir	MetricField MTR_FLD_HELPLINE_OVERHANG
77cdf0e10cSrcweir	{
78*461ab462Smseidel		HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_OVERHANG" ;
79cdf0e10cSrcweir		Border = TRUE ;
80*461ab462Smseidel		Pos = MAP_APPFONT ( 78, 30 ) ;
81*461ab462Smseidel		Size = MAP_APPFONT ( 42, 12 ) ;
82cdf0e10cSrcweir		TabStop = TRUE ;
83cdf0e10cSrcweir		Repeat = TRUE ;
84cdf0e10cSrcweir		Spin = TRUE ;
85cdf0e10cSrcweir		Unit = FUNIT_MM ;
86cdf0e10cSrcweir		DecimalDigits = 2 ;
87cdf0e10cSrcweir		Minimum = -10000 ;
88cdf0e10cSrcweir		First = -10000 ;
89cdf0e10cSrcweir		Maximum = 10000 ;
90cdf0e10cSrcweir		Last = 10000 ;
91cdf0e10cSrcweir		SpinSize = 10 ;
92cdf0e10cSrcweir	};
93cdf0e10cSrcweir	FixedText FT_HELPLINE_DIST
94cdf0e10cSrcweir	{
95*461ab462Smseidel		Pos = MAP_APPFONT ( 12, 48 ) ;
96*461ab462Smseidel		Size = MAP_APPFONT ( 65, 8 ) ;
97cdf0e10cSrcweir		Text [ en-US ] = "~Guide distance" ;
98cdf0e10cSrcweir	};
99cdf0e10cSrcweir	MetricField MTR_FLD_HELPLINE_DIST
100cdf0e10cSrcweir	{
101*461ab462Smseidel		HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_DIST" ;
102cdf0e10cSrcweir		Border = TRUE ;
103*461ab462Smseidel		Pos = MAP_APPFONT ( 78, 46 ) ;
104*461ab462Smseidel		Size = MAP_APPFONT ( 42, 12 ) ;
105cdf0e10cSrcweir		TabStop = TRUE ;
106cdf0e10cSrcweir		Repeat = TRUE ;
107cdf0e10cSrcweir		Spin = TRUE ;
108cdf0e10cSrcweir		Unit = FUNIT_MM ;
109cdf0e10cSrcweir		DecimalDigits = 2 ;
110cdf0e10cSrcweir		Minimum = -10000 ;
111cdf0e10cSrcweir		First = -10000 ;
112cdf0e10cSrcweir		Maximum = 10000 ;
113cdf0e10cSrcweir		Last = 10000 ;
114cdf0e10cSrcweir		SpinSize = 10 ;
115cdf0e10cSrcweir	};
116cdf0e10cSrcweir	FixedText FT_HELPLINE1_LEN
117cdf0e10cSrcweir	{
118*461ab462Smseidel		Pos = MAP_APPFONT ( 12, 64 ) ;
119*461ab462Smseidel		Size = MAP_APPFONT ( 65, 8 ) ;
120cdf0e10cSrcweir		Text [ en-US ] = "~Left guide" ;
121cdf0e10cSrcweir	};
122cdf0e10cSrcweir	MetricField MTR_FLD_HELPLINE1_LEN
123cdf0e10cSrcweir	{
124*461ab462Smseidel		HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE1_LEN" ;
125cdf0e10cSrcweir		Border = TRUE ;
126*461ab462Smseidel		Pos = MAP_APPFONT ( 78, 62 ) ;
127*461ab462Smseidel		Size = MAP_APPFONT ( 42, 12 ) ;
128cdf0e10cSrcweir		TabStop = TRUE ;
129cdf0e10cSrcweir		Repeat = TRUE ;
130cdf0e10cSrcweir		Spin = TRUE ;
131cdf0e10cSrcweir		Unit = FUNIT_MM ;
132cdf0e10cSrcweir		DecimalDigits = 2 ;
133cdf0e10cSrcweir		Minimum = -10000 ;
134cdf0e10cSrcweir		First = -10000 ;
135cdf0e10cSrcweir		Maximum = 10000 ;
136cdf0e10cSrcweir		Last = 10000 ;
137cdf0e10cSrcweir		SpinSize = 10 ;
138cdf0e10cSrcweir	};
139cdf0e10cSrcweir	FixedText FT_HELPLINE2_LEN
140cdf0e10cSrcweir	{
141*461ab462Smseidel		Pos = MAP_APPFONT ( 12, 80 ) ;
142*461ab462Smseidel		Size = MAP_APPFONT ( 65, 8 ) ;
143cdf0e10cSrcweir		Text [ en-US ] = "~Right guide" ;
144cdf0e10cSrcweir	};
145cdf0e10cSrcweir	MetricField MTR_FLD_HELPLINE2_LEN
146cdf0e10cSrcweir	{
147*461ab462Smseidel		HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE2_LEN" ;
148cdf0e10cSrcweir		Border = TRUE ;
149*461ab462Smseidel		Pos = MAP_APPFONT ( 78, 78 ) ;
150*461ab462Smseidel		Size = MAP_APPFONT ( 42, 12 ) ;
151cdf0e10cSrcweir		TabStop = TRUE ;
152cdf0e10cSrcweir		Repeat = TRUE ;
153cdf0e10cSrcweir		Spin = TRUE ;
154cdf0e10cSrcweir		Unit = FUNIT_MM ;
155cdf0e10cSrcweir		DecimalDigits = 2 ;
156cdf0e10cSrcweir		Minimum = -10000 ;
157cdf0e10cSrcweir		First = -10000 ;
158cdf0e10cSrcweir		Maximum = 10000 ;
159cdf0e10cSrcweir		Last = 10000 ;
160cdf0e10cSrcweir		SpinSize = 10 ;
161cdf0e10cSrcweir	};
162cdf0e10cSrcweir	TriStateBox TSB_BELOW_REF_EDGE
163cdf0e10cSrcweir	{
164*461ab462Smseidel		HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_BELOW_REF_EDGE" ;
165*461ab462Smseidel		Pos = MAP_APPFONT ( 12, 96 ) ;
166*461ab462Smseidel		Size = MAP_APPFONT ( 108, 10 ) ;
167cdf0e10cSrcweir		TabStop = TRUE ;
168*461ab462Smseidel		Text [ en-US ] = "Measure ~below object" ;
169cdf0e10cSrcweir	};
170cdf0e10cSrcweir	FixedText FT_DECIMALPLACES
171cdf0e10cSrcweir	{
172*461ab462Smseidel		Pos = MAP_APPFONT ( 12, 112 ) ;
173*461ab462Smseidel		Size = MAP_APPFONT ( 65, 8 ) ;
174cdf0e10cSrcweir
175cdf0e10cSrcweir		Text [ en-US ] = "Decimal places" ;
176cdf0e10cSrcweir	};
177cdf0e10cSrcweir	MetricField MTR_FLD_DECIMALPLACES
178cdf0e10cSrcweir	{
179*461ab462Smseidel		HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_DECIMALPLACES" ;
180cdf0e10cSrcweir		Border = TRUE ;
181*461ab462Smseidel		Pos = MAP_APPFONT ( 78, 110 ) ;
182*461ab462Smseidel		Size = MAP_APPFONT ( 42, 12 ) ;
183cdf0e10cSrcweir		TabStop = TRUE ;
184cdf0e10cSrcweir		Right = TRUE ;
185cdf0e10cSrcweir		Repeat = TRUE ;
186cdf0e10cSrcweir		Spin = TRUE ;
187cdf0e10cSrcweir		Maximum = 99 ;
188cdf0e10cSrcweir		StrictFormat = TRUE ;
189cdf0e10cSrcweir		Last = 99 ;
190cdf0e10cSrcweir		SpinSize = 1 ;
191cdf0e10cSrcweir	};
192cdf0e10cSrcweir	FixedLine FL_VERT
193cdf0e10cSrcweir	{
194*461ab462Smseidel		Pos = MAP_APPFONT ( 127, 14 ) ;
195*461ab462Smseidel		Size = MAP_APPFONT ( 4, 108 ) ;
196*461ab462Smseidel		Vert = TRUE ;
197cdf0e10cSrcweir	};
198cdf0e10cSrcweir	FixedLine FL_LABEL
199cdf0e10cSrcweir	{
200*461ab462Smseidel		Pos = MAP_APPFONT ( 132, 3 ) ;
201*461ab462Smseidel		Size = MAP_APPFONT ( 122, 8 ) ;
202*461ab462Smseidel		Text [ en-US ] = "Legend" ;
203cdf0e10cSrcweir	};
204cdf0e10cSrcweir	FixedText FT_POSITION
205cdf0e10cSrcweir	{
206*461ab462Smseidel		Pos = MAP_APPFONT ( 138, 14 ) ;
207*461ab462Smseidel		Size = MAP_APPFONT ( 110, 8 ) ;
208cdf0e10cSrcweir		Text [ en-US ] = "~Text position" ;
209cdf0e10cSrcweir	};
210cdf0e10cSrcweir	Control CTL_POSITION
211cdf0e10cSrcweir	{
212cdf0e10cSrcweir		HelpId = HID_MEASURE_CTL_POSITION ;
213cdf0e10cSrcweir		Border = TRUE ;
214*461ab462Smseidel		Pos = MAP_APPFONT ( 154, 25 ) ;
215*461ab462Smseidel		Size = MAP_APPFONT ( 60, 24 ) ;
216cdf0e10cSrcweir		TabStop = TRUE ;
217cdf0e10cSrcweir	};
218cdf0e10cSrcweir	TriStateBox TSB_AUTOPOSV
219cdf0e10cSrcweir	{
220*461ab462Smseidel		HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSV" ;
221*461ab462Smseidel		Pos = MAP_APPFONT ( 154, 54 ) ;
222*461ab462Smseidel		Size = MAP_APPFONT ( 101, 10 ) ;
223cdf0e10cSrcweir		TabStop = TRUE ;
224cdf0e10cSrcweir		Text [ en-US ] = "~AutoVertical" ;
225cdf0e10cSrcweir	};
226cdf0e10cSrcweir	TriStateBox TSB_AUTOPOSH
227cdf0e10cSrcweir	{
228*461ab462Smseidel		HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSH" ;
229*461ab462Smseidel		Pos = MAP_APPFONT ( 154, 68 ) ;
230*461ab462Smseidel		Size = MAP_APPFONT ( 101, 10 ) ;
231cdf0e10cSrcweir		TabStop = TRUE ;
232cdf0e10cSrcweir		Text [ en-US ] = "A~utoHorizontal" ;
233cdf0e10cSrcweir	};
234cdf0e10cSrcweir	TriStateBox TSB_PARALLEL
235cdf0e10cSrcweir	{
236*461ab462Smseidel		HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_PARALLEL" ;
237*461ab462Smseidel		Pos = MAP_APPFONT ( 138, 82 ) ;
238*461ab462Smseidel		Size = MAP_APPFONT ( 110, 10 ) ;
239cdf0e10cSrcweir		TabStop = TRUE ;
240*461ab462Smseidel		Text [ en-US ] = "~Parallel to line" ;
241cdf0e10cSrcweir	};
242cdf0e10cSrcweir	TriStateBox TSB_SHOW_UNIT
243cdf0e10cSrcweir	{
244*461ab462Smseidel		HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_SHOW_UNIT" ;
245*461ab462Smseidel		Pos = MAP_APPFONT ( 138, 96 ) ;
246*461ab462Smseidel		Size = MAP_APPFONT ( 64 + 40, 10 ) ;
247cdf0e10cSrcweir		TabStop = TRUE ;
248*461ab462Smseidel		Text [ en-US ] = "Show ~measurement unit" ;
249cdf0e10cSrcweir	};
250cdf0e10cSrcweir	ListBox LB_UNIT
251cdf0e10cSrcweir	{
252*461ab462Smseidel		HelpID = "cui:ListBox:RID_SVXPAGE_MEASURE:LB_UNIT" ;
253cdf0e10cSrcweir		Border = TRUE ;
254*461ab462Smseidel		Pos = MAP_APPFONT ( 154, 110 ) ;
255*461ab462Smseidel		Size = MAP_APPFONT ( 60, 80 + 35 ) ;
256cdf0e10cSrcweir		TabStop = TRUE ;
257cdf0e10cSrcweir		DropDown = TRUE ;
258cdf0e10cSrcweir		DDExtraWidth = TRUE ;
259cdf0e10cSrcweir	};
260cdf0e10cSrcweir	Control CTL_PREVIEW
261cdf0e10cSrcweir	{
262cdf0e10cSrcweir		HelpId = HID_MEASURE_CTL_PREVIEW ;
263cdf0e10cSrcweir		Border = TRUE ;
264*461ab462Smseidel		Pos = MAP_APPFONT ( 6, 132 ) ;
265*461ab462Smseidel		Size = MAP_APPFONT ( 248, 47 ) ;
266cdf0e10cSrcweir	};
267cdf0e10cSrcweir	String STR_MEASURE_AUTOMATIC
268cdf0e10cSrcweir	{
269cdf0e10cSrcweir		Text [ en-US ] = "Automatic" ;
270cdf0e10cSrcweir	};
271cdf0e10cSrcweir};
272cdf0e10cSrcweir
273*461ab462Smseidel// ********************************************************************** EOF
274