summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/measure.src
blob: 9a0e2a84407b0f828b8716a69aeaf46707941e28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <cuires.hrc>
#include "measure.hrc"
#include "helpid.hrc"
#include <svx/dialogs.hrc>

#define DELTA 20

 // RID_SVXPAGE_MEASURE ---------------------------------------------------
TabPage RID_SVXPAGE_MEASURE
{
    HelpId = HID_PAGE_MEASURE ;
    Hide = TRUE ;
    Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
    Text [ en-US ] = "Dimensioning" ;

    FixedLine FL_LINE
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 120 , 8 ) ;
        Text [ en-US ] = "Line";
    };
    FixedText FT_LINE_DIST
    {
        Pos = MAP_APPFONT ( 12 , 16  ) ;
        Size = MAP_APPFONT ( 65 , 8 ) ;
        Text [ en-US ] = "Line ~distance" ;
    };
    MetricField MTR_LINE_DIST
    {
        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_LINE_DIST";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 78 , 14  ) ;
        Size = MAP_APPFONT ( 42 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Unit = FUNIT_MM ;
        DecimalDigits = 2 ;
        Minimum = -10000 ;
        First = -10000 ;
        Maximum = 10000 ;
        Last = 10000 ;
        SpinSize = 10 ;
    };
    FixedText FT_HELPLINE_OVERHANG
    {
        Pos = MAP_APPFONT ( 12 , 32  ) ;
        Size = MAP_APPFONT ( 65 , 8 ) ;
        Text [ en-US ] = "Guide ~overhang" ;
    };
    MetricField MTR_FLD_HELPLINE_OVERHANG
    {
        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_OVERHANG";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 78 , 30  ) ;
        Size = MAP_APPFONT ( 42 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Unit = FUNIT_MM ;
        DecimalDigits = 2 ;
        Minimum = -10000 ;
        First = -10000 ;
        Maximum = 10000 ;
        Last = 10000 ;
        SpinSize = 10 ;
    };
    FixedText FT_HELPLINE_DIST
    {
        Pos = MAP_APPFONT ( 12 , 48  ) ;
        Size = MAP_APPFONT ( 65 , 8 ) ;
        Text [ en-US ] = "~Guide distance" ;
    };
    MetricField MTR_FLD_HELPLINE_DIST
    {
        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_DIST";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 78 , 46  ) ;
        Size = MAP_APPFONT ( 42 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Unit = FUNIT_MM ;
        DecimalDigits = 2 ;
        Minimum = -10000 ;
        First = -10000 ;
        Maximum = 10000 ;
        Last = 10000 ;
        SpinSize = 10 ;
    };
    FixedText FT_HELPLINE1_LEN
    {
        Pos = MAP_APPFONT ( 12 , 64  ) ;
        Size = MAP_APPFONT ( 65 , 8 ) ;
        Text [ en-US ] = "~Left guide" ;
    };
    MetricField MTR_FLD_HELPLINE1_LEN
    {
        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE1_LEN";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 78 , 62 ) ;
        Size = MAP_APPFONT ( 42 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Unit = FUNIT_MM ;
        DecimalDigits = 2 ;
        Minimum = -10000 ;
        First = -10000 ;
        Maximum = 10000 ;
        Last = 10000 ;
        SpinSize = 10 ;
    };
    FixedText FT_HELPLINE2_LEN
    {
        Pos = MAP_APPFONT ( 12 , 80 ) ;
        Size = MAP_APPFONT ( 65 , 8 ) ;
        Text [ en-US ] = "~Right guide" ;
    };
    MetricField MTR_FLD_HELPLINE2_LEN
    {
        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE2_LEN";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 78 , 78 ) ;
        Size = MAP_APPFONT ( 42 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Unit = FUNIT_MM ;
        DecimalDigits = 2 ;
        Minimum = -10000 ;
        First = -10000 ;
        Maximum = 10000 ;
        Last = 10000 ;
        SpinSize = 10 ;
    };
    TriStateBox TSB_BELOW_REF_EDGE
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_BELOW_REF_EDGE";
        Pos = MAP_APPFONT ( 12 , 96  ) ;
        Size = MAP_APPFONT ( 108 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Measure ~below object";
    };
    FixedText FT_DECIMALPLACES
    {
        Pos = MAP_APPFONT ( 12 , 112 ) ;
        Size = MAP_APPFONT ( 65 , 8 ) ;

        Text [ en-US ] = "Decimal places" ;
    };
    MetricField MTR_FLD_DECIMALPLACES
    {
        HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_DECIMALPLACES";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 78 , 110 ) ;
        Size = MAP_APPFONT ( 42 , 12 ) ;
        TabStop = TRUE ;
        Right = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Maximum = 99 ;
        StrictFormat = TRUE ;
        Last = 99 ;
        SpinSize = 1 ;
    };
    FixedLine FL_VERT
    {
        Pos = MAP_APPFONT ( 127 , 14 ) ;
        Size = MAP_APPFONT ( 4 , 108 ) ;
        Vert = TRUE ;
    };
    FixedLine FL_LABEL
    {
        Pos = MAP_APPFONT ( 132 , 3 ) ;
        Size = MAP_APPFONT ( 122 , 8 ) ;
        Text [ en-US ] = "Legend";
    };
    FixedText FT_POSITION
    {
        Pos = MAP_APPFONT ( 138 , 14  ) ;
        Size = MAP_APPFONT ( 110 , 8 ) ;
        Text [ en-US ] = "~Text position" ;
    };
    Control CTL_POSITION
    {
        HelpId = HID_MEASURE_CTL_POSITION ;
        Border = TRUE ;
        Pos = MAP_APPFONT ( 154 , 25  ) ;
        Size = MAP_APPFONT ( 60 , 24 ) ;
        TabStop = TRUE ;
    };
    TriStateBox TSB_AUTOPOSV
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSV";
        Pos = MAP_APPFONT ( 154 , 54 ) ;
        Size = MAP_APPFONT ( 101 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "~AutoVertical" ;
    };
    TriStateBox TSB_AUTOPOSH
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSH";
        Pos = MAP_APPFONT ( 154 , 68  ) ;
        Size = MAP_APPFONT ( 101 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "A~utoHorizontal" ;
    };
    TriStateBox TSB_PARALLEL
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_PARALLEL";
        Pos = MAP_APPFONT ( 138 , 82 ) ;
        Size = MAP_APPFONT ( 110 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "~Parallel to line";
    };
    TriStateBox TSB_SHOW_UNIT
    {
        HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_SHOW_UNIT";
        Pos = MAP_APPFONT ( 138 , 96  ) ;
        Size = MAP_APPFONT ( 64+40 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Show ~meas. units" ;
    };
    ListBox LB_UNIT
    {
        HelpID = "cui:ListBox:RID_SVXPAGE_MEASURE:LB_UNIT";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 154 , 110 ) ;
        Size = MAP_APPFONT ( 60 , 80+35 ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        DDExtraWidth = TRUE ;
    };
    Control CTL_PREVIEW
    {
        HelpId = HID_MEASURE_CTL_PREVIEW ;
        Border = TRUE ;
        Pos = MAP_APPFONT ( 6 , 132 ) ;
        Size = MAP_APPFONT ( 248 , 47 ) ;
    };
    String STR_MEASURE_AUTOMATIC
    {
        Text [ en-US ] = "Automatic" ;
    };
};
 // ********************************************************************** EOF