xref: /aoo42x/main/sd/source/ui/dlg/copydlg.src (revision 66220049)
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 "app.hrc"
25#include "res_bmp.hrc"
26#include "copydlg.hrc"
27#include "helpids.h"
28
29ModalDialog DLG_COPY
30{
31	HelpID = CMD_SID_COPYOBJECTS ;
32	OutputSize = TRUE ;
33	SVLook = TRUE ;
34    Size = MAP_APPFONT ( 204 , 177 ) ;
35	Text [ en-US ] = "Duplicate" ;
36	Moveable = TRUE ;
37	OKButton BTN_OK
38	{
39		Pos = MAP_APPFONT ( 148 , 6  ) ;
40		Size = MAP_APPFONT ( 50 , 14 ) ;
41		TabStop = TRUE ;
42		DefButton = TRUE ;
43	};
44	CancelButton BTN_CANCEL
45	{
46		Pos = MAP_APPFONT ( 148 , 23  ) ;
47		Size = MAP_APPFONT ( 50 , 14 ) ;
48		TabStop = TRUE ;
49	};
50	HelpButton BTN_HELP
51	{
52		Pos = MAP_APPFONT ( 148 , 43  ) ;
53		Size = MAP_APPFONT ( 50 , 14 ) ;
54		TabStop = TRUE ;
55	};
56	FixedText FT_COPIES
57	{
58        Pos = MAP_APPFONT ( 6 , 9 ) ;
59        Size = MAP_APPFONT ( 60 , 8 ) ;
60		Text [ en-US ] = "Number of ~copies" ;
61	};
62	NumericField NUM_FLD_COPIES
63	{
64	    HelpID = "sd:NumericField:DLG_COPY:NUM_FLD_COPIES";
65		Border = TRUE ;
66        Pos = MAP_APPFONT ( 76 , 7 ) ;
67        Size = MAP_APPFONT ( 35 , 12 ) ;
68		TabStop = TRUE ;
69		Repeat = TRUE ;
70		Spin = TRUE ;
71		Minimum = 1 ;
72		Maximum = 999 ;
73		StrictFormat = TRUE ;
74		First = 1 ;
75		Last = 999 ;
76		SpinSize = 1 ;
77	};
78	ImageButton BTN_SET_VIEWDATA
79	{
80	    HelpID = "sd:ImageButton:DLG_COPY:BTN_SET_VIEWDATA";
81        Pos = MAP_APPFONT ( 122 , 6 ) ;
82		Size = MAP_APPFONT ( 14 , 14 ) ;
83		ButtonImage = Image
84		{
85			ImageBitmap = Bitmap { File = "pipette.bmp" ; };
86			MaskColor = IMAGE_MASK_STDCOLOR;
87		};
88		TabStop = TRUE ;
89		QuickHelpText [ en-US ] = "Values from Selection" ;
90	};
91	PushButton BTN_SET_DEFAULT
92	{
93	    HelpID = "sd:PushButton:DLG_COPY:BTN_SET_DEFAULT";
94		Pos = MAP_APPFONT ( 148 , 63  ) ;
95		Size = MAP_APPFONT ( 50 , 14 ) ;
96		TabStop = TRUE ;
97		Text [ en-US ] = "~Default";
98	};
99	MetricField MTR_FLD_ANGLE
100	{
101	    HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_ANGLE";
102		Border = TRUE ;
103        Pos = MAP_APPFONT ( 76 , 69 ) ;
104        Size = MAP_APPFONT ( 45 , 12 ) ;
105		TabStop = TRUE ;
106		Repeat = TRUE ;
107		Spin = TRUE ;
108		Maximum = 359 ;
109		StrictFormat = TRUE ;
110		Unit = FUNIT_CUSTOM ;
111		Last = 359 ;
112		SpinSize = 5 ;
113		CustomUnitText [ en-US ] = " degrees" ;
114	};
115	FixedText FT_ANGLE
116	{
117        Pos = MAP_APPFONT ( 12 , 71 ) ;
118        Size = MAP_APPFONT ( 60 , 8 ) ;
119		Text [ en-US ] = "~Angle" ;
120	};
121	FixedText FT_MOVE_X
122	{
123        Pos = MAP_APPFONT ( 12 , 39 ) ;
124        Size = MAP_APPFONT ( 60 , 8 ) ;
125		Text [ en-US ] = "~X axis" ;
126	};
127	MetricField MTR_FLD_MOVE_X
128	{
129	    HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_MOVE_X";
130		Border = TRUE ;
131        Pos = MAP_APPFONT ( 76 , 37 ) ;
132        Size = MAP_APPFONT ( 45 , 12 ) ;
133		TabStop = TRUE ;
134		Repeat = TRUE ;
135		Spin = TRUE ;
136		Minimum = -120000 ;
137		Maximum = 120000 ;
138		StrictFormat = TRUE ;
139		DecimalDigits = 2 ;
140		Unit = FUNIT_MM ;
141		First = -120000 ;
142		Last = 120000 ;
143		SpinSize = 100 ;
144	};
145	MetricField MTR_FLD_MOVE_Y
146	{
147	    HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_MOVE_Y";
148		Border = TRUE ;
149        Pos = MAP_APPFONT ( 76 , 53 ) ;
150        Size = MAP_APPFONT ( 45 , 12 ) ;
151		TabStop = TRUE ;
152		Repeat = TRUE ;
153		Spin = TRUE ;
154		Minimum = -120000 ;
155		Maximum = 120000 ;
156		StrictFormat = TRUE ;
157		DecimalDigits = 2 ;
158		Unit = FUNIT_MM ;
159		First = -120000 ;
160		Last = 120000 ;
161		SpinSize = 100 ;
162	};
163	MetricField MTR_FLD_WIDTH
164	{
165	    HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_WIDTH";
166		Border = TRUE ;
167        Pos = MAP_APPFONT ( 76 , 98 ) ;
168        Size = MAP_APPFONT ( 45 , 12 ) ;
169		TabStop = TRUE ;
170		Repeat = TRUE ;
171		Spin = TRUE ;
172		Minimum = -120000 ;
173		Maximum = 120000 ;
174		StrictFormat = TRUE ;
175		DecimalDigits = 2 ;
176		Unit = FUNIT_MM ;
177		First = -120000 ;
178		Last = 120000 ;
179		SpinSize = 100 ;
180	};
181	MetricField MTR_FLD_HEIGHT
182	{
183	    HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_HEIGHT";
184		Border = TRUE ;
185        Pos = MAP_APPFONT ( 76 , 114 ) ;
186        Size = MAP_APPFONT ( 45 , 12 ) ;
187		TabStop = TRUE ;
188		Repeat = TRUE ;
189		Spin = TRUE ;
190		Minimum = -120000 ;
191		Maximum = 120000 ;
192		StrictFormat = TRUE ;
193		DecimalDigits = 2 ;
194		Unit = FUNIT_MM ;
195		First = -120000 ;
196		Last = 120000 ;
197		SpinSize = 100 ;
198	};
199	FixedText FT_MOVE_Y
200	{
201        Pos = MAP_APPFONT ( 12 , 55 ) ;
202        Size = MAP_APPFONT ( 60 , 8 ) ;
203		Text [ en-US ] = "~Y axis" ;
204	};
205	FixedText FT_WIDTH
206	{
207        Pos = MAP_APPFONT ( 12 , 100 ) ;
208        Size = MAP_APPFONT ( 60 , 8 ) ;
209		Text [ en-US ] = "~Width" ;
210	};
211	FixedText FT_HEIGHT
212	{
213        Pos = MAP_APPFONT ( 12 , 116 ) ;
214        Size = MAP_APPFONT ( 60 , 8 ) ;
215		Text [ en-US ] = "~Height" ;
216	};
217	FixedLine GRP_MOVEMENT
218	{
219        Pos = MAP_APPFONT ( 6 , 26 ) ;
220		Size = MAP_APPFONT ( 136 , 8 ) ;
221		Text [ en-US ] = "Placement" ;
222	};
223	FixedLine GRP_ENLARGEMENT
224	{
225        Pos = MAP_APPFONT ( 6 , 87 ) ;
226		Size = MAP_APPFONT ( 136 , 8 ) ;
227		Text [ en-US ] = "Enlargement" ;
228	};
229	FixedLine GRP_COLOR
230	{
231        Pos = MAP_APPFONT ( 6 , 132 ) ;
232		Size = MAP_APPFONT ( 136 , 8 ) ;
233		Text [ en-US ] = "Colors" ;
234	};
235	ListBox LB_START_COLOR
236	{
237	    HelpID = "sd:ListBox:DLG_COPY:LB_START_COLOR";
238		Border = TRUE ;
239        Pos = MAP_APPFONT ( 76 , 143 ) ;
240        Size = MAP_APPFONT ( 60 , 90 ) ;
241		TabStop = TRUE ;
242		DropDown = TRUE ;
243		DDExtraWidth = TRUE ;
244	};
245	FixedText FT_START_COLOR
246	{
247        Pos = MAP_APPFONT ( 12 , 145 ) ;
248        Size = MAP_APPFONT ( 60 , 8 ) ;
249		Text [ en-US ] = "~Start" ;
250	};
251	ListBox LB_END_COLOR
252	{
253	    HelpID = "sd:ListBox:DLG_COPY:LB_END_COLOR";
254		Border = TRUE ;
255        Pos = MAP_APPFONT ( 76 , 159 ) ;
256        Size = MAP_APPFONT ( 60 , 90 ) ;
257		TabStop = TRUE ;
258		DropDown = TRUE ;
259		DDExtraWidth = TRUE ;
260	};
261	FixedText FT_END_COLOR
262	{
263        Pos = MAP_APPFONT ( 12 , 161 ) ;
264        Size = MAP_APPFONT ( 60 , 8 ) ;
265		Text [ en-US ] = "~End" ;
266	};
267};
268
269
270
271
272
273
274
275
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