xref: /trunk/main/cui/source/tabpages/measure.src (revision 69a4cf47f4a8c2f5f30c319663376c9b9799457f)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
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
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
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.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23*69a4cf47Smseidel
24cdf0e10cSrcweir// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <cuires.hrc>
26cdf0e10cSrcweir#include "measure.hrc"
27cdf0e10cSrcweir#include "helpid.hrc"
28cdf0e10cSrcweir#include <svx/dialogs.hrc>
29cdf0e10cSrcweir
30cdf0e10cSrcweir#define DELTA 20
31cdf0e10cSrcweir// pragma ----------------------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir// RID_SVXPAGE_MEASURE ---------------------------------------------------
34cdf0e10cSrcweirTabPage RID_SVXPAGE_MEASURE
35cdf0e10cSrcweir{
36cdf0e10cSrcweir    HelpId = HID_PAGE_MEASURE ;
37cdf0e10cSrcweir    Hide = TRUE ;
38cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
39cdf0e10cSrcweir    Text [ en-US ] = "Dimensioning" ;
40cdf0e10cSrcweir
41cdf0e10cSrcweir    FixedLine FL_LINE
42cdf0e10cSrcweir    {
43cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
44cdf0e10cSrcweir        Size = MAP_APPFONT ( 120, 8 ) ;
45cdf0e10cSrcweir        Text [ en-US ] = "Line" ;
46cdf0e10cSrcweir    };
47cdf0e10cSrcweir    FixedText FT_LINE_DIST
48cdf0e10cSrcweir    {
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 16 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 65, 8 ) ;
51cdf0e10cSrcweir        Text [ en-US ] = "Line ~distance" ;
52cdf0e10cSrcweir    };
53cdf0e10cSrcweir    MetricField MTR_LINE_DIST
54cdf0e10cSrcweir    {
55cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_LINE_DIST" ;
56cdf0e10cSrcweir        Border = TRUE ;
57cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78, 14 ) ;
58cdf0e10cSrcweir        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    {
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 32 ) ;
73cdf0e10cSrcweir        Size = MAP_APPFONT ( 65, 8 ) ;
74cdf0e10cSrcweir        Text [ en-US ] = "Guide ~overhang" ;
75cdf0e10cSrcweir    };
76cdf0e10cSrcweir    MetricField MTR_FLD_HELPLINE_OVERHANG
77cdf0e10cSrcweir    {
78cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_OVERHANG" ;
79cdf0e10cSrcweir        Border = TRUE ;
80cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78, 30 ) ;
81cdf0e10cSrcweir        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    {
95cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 48 ) ;
96cdf0e10cSrcweir        Size = MAP_APPFONT ( 65, 8 ) ;
97cdf0e10cSrcweir        Text [ en-US ] = "~Guide distance" ;
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir    MetricField MTR_FLD_HELPLINE_DIST
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_DIST" ;
102cdf0e10cSrcweir        Border = TRUE ;
103cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78, 46 ) ;
104cdf0e10cSrcweir        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    {
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 64 ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( 65, 8 ) ;
120cdf0e10cSrcweir        Text [ en-US ] = "~Left guide" ;
121cdf0e10cSrcweir    };
122cdf0e10cSrcweir    MetricField MTR_FLD_HELPLINE1_LEN
123cdf0e10cSrcweir    {
124cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE1_LEN" ;
125cdf0e10cSrcweir        Border = TRUE ;
126cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78, 62 ) ;
127cdf0e10cSrcweir        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    {
141cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 80 ) ;
142cdf0e10cSrcweir        Size = MAP_APPFONT ( 65, 8 ) ;
143cdf0e10cSrcweir        Text [ en-US ] = "~Right guide" ;
144cdf0e10cSrcweir    };
145cdf0e10cSrcweir    MetricField MTR_FLD_HELPLINE2_LEN
146cdf0e10cSrcweir    {
147cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE2_LEN" ;
148cdf0e10cSrcweir        Border = TRUE ;
149cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78, 78 ) ;
150cdf0e10cSrcweir        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    {
164cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_BELOW_REF_EDGE" ;
165cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 96 ) ;
166cdf0e10cSrcweir        Size = MAP_APPFONT ( 108, 10 ) ;
167cdf0e10cSrcweir        TabStop = TRUE ;
168cdf0e10cSrcweir        Text [ en-US ] = "Measure ~below object" ;
169cdf0e10cSrcweir    };
170cdf0e10cSrcweir    FixedText FT_DECIMALPLACES
171cdf0e10cSrcweir    {
172cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 112 ) ;
173cdf0e10cSrcweir        Size = MAP_APPFONT ( 65, 8 ) ;
174cdf0e10cSrcweir
175cdf0e10cSrcweir        Text [ en-US ] = "Decimal places" ;
176cdf0e10cSrcweir    };
177cdf0e10cSrcweir    MetricField MTR_FLD_DECIMALPLACES
178cdf0e10cSrcweir    {
179cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_DECIMALPLACES" ;
180cdf0e10cSrcweir        Border = TRUE ;
181cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78, 110 ) ;
182cdf0e10cSrcweir        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    {
194cdf0e10cSrcweir        Pos = MAP_APPFONT ( 127, 14 ) ;
195cdf0e10cSrcweir        Size = MAP_APPFONT ( 4, 108 ) ;
196cdf0e10cSrcweir        Vert = TRUE ;
197cdf0e10cSrcweir    };
198cdf0e10cSrcweir    FixedLine FL_LABEL
199cdf0e10cSrcweir    {
200cdf0e10cSrcweir        Pos = MAP_APPFONT ( 132, 3 ) ;
201cdf0e10cSrcweir        Size = MAP_APPFONT ( 122, 8 ) ;
202cdf0e10cSrcweir        Text [ en-US ] = "Legend" ;
203cdf0e10cSrcweir    };
204cdf0e10cSrcweir    FixedText FT_POSITION
205cdf0e10cSrcweir    {
206cdf0e10cSrcweir        Pos = MAP_APPFONT ( 138, 14 ) ;
207cdf0e10cSrcweir        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 ;
214cdf0e10cSrcweir        Pos = MAP_APPFONT ( 154, 25 ) ;
215cdf0e10cSrcweir        Size = MAP_APPFONT ( 60, 24 ) ;
216cdf0e10cSrcweir        TabStop = TRUE ;
217cdf0e10cSrcweir    };
218cdf0e10cSrcweir    TriStateBox TSB_AUTOPOSV
219cdf0e10cSrcweir    {
220cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSV" ;
221cdf0e10cSrcweir        Pos = MAP_APPFONT ( 154, 54 ) ;
222cdf0e10cSrcweir        Size = MAP_APPFONT ( 101, 10 ) ;
223cdf0e10cSrcweir        TabStop = TRUE ;
224cdf0e10cSrcweir        Text [ en-US ] = "~AutoVertical" ;
225cdf0e10cSrcweir    };
226cdf0e10cSrcweir    TriStateBox TSB_AUTOPOSH
227cdf0e10cSrcweir    {
228cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSH" ;
229cdf0e10cSrcweir        Pos = MAP_APPFONT ( 154, 68 ) ;
230cdf0e10cSrcweir        Size = MAP_APPFONT ( 101, 10 ) ;
231cdf0e10cSrcweir        TabStop = TRUE ;
232cdf0e10cSrcweir        Text [ en-US ] = "A~utoHorizontal" ;
233cdf0e10cSrcweir    };
234cdf0e10cSrcweir    TriStateBox TSB_PARALLEL
235cdf0e10cSrcweir    {
236cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_PARALLEL" ;
237cdf0e10cSrcweir        Pos = MAP_APPFONT ( 138, 82 ) ;
238cdf0e10cSrcweir        Size = MAP_APPFONT ( 110, 10 ) ;
239cdf0e10cSrcweir        TabStop = TRUE ;
240cdf0e10cSrcweir        Text [ en-US ] = "~Parallel to line" ;
241cdf0e10cSrcweir    };
242cdf0e10cSrcweir    TriStateBox TSB_SHOW_UNIT
243cdf0e10cSrcweir    {
244cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_SHOW_UNIT" ;
245cdf0e10cSrcweir        Pos = MAP_APPFONT ( 138, 96 ) ;
246cdf0e10cSrcweir        Size = MAP_APPFONT ( 64 + 40, 10 ) ;
247cdf0e10cSrcweir        TabStop = TRUE ;
248*69a4cf47Smseidel        Text [ en-US ] = "Show ~measurement unit" ;
249cdf0e10cSrcweir    };
250cdf0e10cSrcweir    ListBox LB_UNIT
251cdf0e10cSrcweir    {
252cdf0e10cSrcweir        HelpID = "cui:ListBox:RID_SVXPAGE_MEASURE:LB_UNIT" ;
253cdf0e10cSrcweir        Border = TRUE ;
254cdf0e10cSrcweir        Pos = MAP_APPFONT ( 154, 110 ) ;
255cdf0e10cSrcweir        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 ;
264cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 132 ) ;
265cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 47 ) ;
266cdf0e10cSrcweir    };
267cdf0e10cSrcweir    String STR_MEASURE_AUTOMATIC
268cdf0e10cSrcweir    {
269cdf0e10cSrcweir        Text [ en-US ] = "Automatic" ;
270cdf0e10cSrcweir    };
271cdf0e10cSrcweir};
272*69a4cf47Smseidel
273cdf0e10cSrcweir// ********************************************************************** EOF
274