xref: /aoo42x/main/sw/source/ui/envelp/labfmt.src (revision 737f4475)
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 // #pragma ******************************************************************
24
25 // #include *****************************************************************
26#include "labfmt.hrc"
27#include "helpid.h"
28 // TP_LAB_FMT ---------------------------------------------------------------
29TabPage TP_LAB_FMT
30{
31	HelpID = HID_LAB_FMT ;
32	Size = MAP_APPFONT ( 260 , 185 ) ;
33	Hide = TRUE ;
34	FixedText FI_MAKE
35	{
36		Pos = MAP_APPFONT ( 108 , 6 ) ;
37		Size = MAP_APPFONT ( 50 , 8 ) ;
38	};
39	FixedText FI_TYPE
40	{
41		Pos = MAP_APPFONT ( 162 , 6 ) ;
42		Size = MAP_APPFONT ( 92 , 8 ) ;
43	};
44	Window WIN_PREVIEW
45	{
46		Border = TRUE ;
47        Pos = MAP_APPFONT ( 108 , 17 ) ;
48		Size = MAP_APPFONT ( 146 , 161 ) ;
49	};
50	FixedText TXT_HDIST
51	{
52        Pos = MAP_APPFONT ( 6 , 19 ) ;
53		Size = MAP_APPFONT ( 50 , 8 ) ;
54		Text [ en-US ] = "Hori~zontal pitch" ;
55		Group = TRUE ;
56		Left = TRUE ;
57	};
58	MetricField FLD_HDIST
59	{
60	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HDIST";
61		Border = TRUE ;
62        Pos = MAP_APPFONT ( 60 , 17 ) ;
63		Size = MAP_APPFONT ( 40 , 12 ) ;
64		TabStop = TRUE ;
65		Left = TRUE ;
66		Spin = TRUE ;
67		DecimalDigits = 2 ;
68		Unit = FUNIT_CM ;
69		Repeat = TRUE ;
70		SpinSize = 10 ;
71	};
72	FixedText TXT_VDIST
73	{
74        Pos = MAP_APPFONT ( 6 , 33 ) ;
75		Size = MAP_APPFONT ( 50 , 8 ) ;
76		Text [ en-US ] = "~Vertical pitch" ;
77		Left = TRUE ;
78	};
79	MetricField FLD_VDIST
80	{
81	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_VDIST";
82		Border = TRUE ;
83        Pos = MAP_APPFONT ( 60 , 31 ) ;
84		Size = MAP_APPFONT ( 40 , 12 ) ;
85		TabStop = TRUE ;
86		Left = TRUE ;
87		Spin = TRUE ;
88		DecimalDigits = 2 ;
89		Unit = FUNIT_CM ;
90		Repeat = TRUE ;
91		SpinSize = 10 ;
92	};
93	FixedText TXT_WIDTH
94	{
95        Pos = MAP_APPFONT ( 6 , 47 ) ;
96		Size = MAP_APPFONT ( 50 , 8 ) ;
97		Text [ en-US ] = "~Width" ;
98		Left = TRUE ;
99	};
100	MetricField FLD_WIDTH
101	{
102	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_WIDTH";
103		Border = TRUE ;
104        Pos = MAP_APPFONT ( 60 , 45 ) ;
105		Size = MAP_APPFONT ( 40 , 12 ) ;
106		TabStop = TRUE ;
107		Left = TRUE ;
108		Spin = TRUE ;
109		DecimalDigits = 2 ;
110		Unit = FUNIT_CM ;
111		Repeat = TRUE ;
112		SpinSize = 10 ;
113	};
114	FixedText TXT_HEIGHT
115	{
116        Pos = MAP_APPFONT ( 6 , 61 ) ;
117		Size = MAP_APPFONT ( 50 , 8 ) ;
118		Text [ en-US ] = "~Height" ;
119		Left = TRUE ;
120	};
121	MetricField FLD_HEIGHT
122	{
123	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HEIGHT";
124		Border = TRUE ;
125        Pos = MAP_APPFONT ( 60 , 59 ) ;
126		Size = MAP_APPFONT ( 40 , 12 ) ;
127		TabStop = TRUE ;
128		Left = TRUE ;
129		Spin = TRUE ;
130		DecimalDigits = 2 ;
131		Unit = FUNIT_CM ;
132		Repeat = TRUE ;
133		SpinSize = 10 ;
134	};
135	FixedText TXT_LEFT
136	{
137        Pos = MAP_APPFONT ( 6 , 75 ) ;
138		Size = MAP_APPFONT ( 50 , 8 ) ;
139		Text [ en-US ] = "~Left margin" ;
140		Left = TRUE ;
141	};
142	MetricField FLD_LEFT
143	{
144	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_LEFT";
145		Border = TRUE ;
146        Pos = MAP_APPFONT ( 60 , 73 ) ;
147		Size = MAP_APPFONT ( 40 , 12 ) ;
148		TabStop = TRUE ;
149		Left = TRUE ;
150		Spin = TRUE ;
151		DecimalDigits = 2 ;
152		Unit = FUNIT_CM ;
153		Repeat = TRUE ;
154		Minimum = 0 ;
155		First = 0 ;
156		SpinSize = 10 ;
157	};
158	FixedText TXT_UPPER
159	{
160        Pos = MAP_APPFONT ( 6 , 89 ) ;
161		Size = MAP_APPFONT ( 50 , 8 ) ;
162		Text [ en-US ] = "~Top margin" ;
163		Left = TRUE ;
164	};
165	MetricField FLD_UPPER
166	{
167	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_UPPER";
168		Border = TRUE ;
169        Pos = MAP_APPFONT ( 60 , 87 ) ;
170		Size = MAP_APPFONT ( 40 , 12 ) ;
171		TabStop = TRUE ;
172		Left = TRUE ;
173		Spin = TRUE ;
174		DecimalDigits = 2 ;
175		Unit = FUNIT_CM ;
176		Repeat = TRUE ;
177		Minimum = 0 ;
178		First = 0 ;
179		SpinSize = 10 ;
180	};
181	FixedText TXT_COLUMNS
182	{
183        Pos = MAP_APPFONT ( 6 , 103 ) ;
184		Size = MAP_APPFONT ( 50 , 8 ) ;
185		Text [ en-US ] = "~Columns" ;
186		Left = TRUE ;
187	};
188	NumericField FLD_COLUMNS
189	{
190	    HelpID = "sw:NumericField:TP_LAB_FMT:FLD_COLUMNS";
191		Border = TRUE ;
192        Pos = MAP_APPFONT ( 60 , 101 ) ;
193		Size = MAP_APPFONT ( 40 , 12 ) ;
194		TabStop = TRUE ;
195		Left = TRUE ;
196		Repeat = TRUE ;
197		Spin = TRUE ;
198		Minimum = 1 ;
199		First = 1 ;
200	};
201	FixedText TXT_ROWS
202	{
203        Pos = MAP_APPFONT ( 6 , 117 ) ;
204		Size = MAP_APPFONT ( 50 , 8 ) ;
205		Text [ en-US ] = "R~ows" ;
206		Left = TRUE ;
207	};
208	NumericField FLD_ROWS
209	{
210	    HelpID = "sw:NumericField:TP_LAB_FMT:FLD_ROWS";
211		Border = TRUE ;
212        Pos = MAP_APPFONT ( 60 , 115 ) ;
213		Size = MAP_APPFONT ( 40 , 12 ) ;
214		TabStop = TRUE ;
215		Left = TRUE ;
216		Repeat = TRUE ;
217		Spin = TRUE ;
218		Minimum = 1 ;
219		First = 1 ;
220	};
221	FixedText TXT_PAPER_WIDTH
222	{
223        Pos = MAP_APPFONT ( 6 , 131 ) ;
224		Size = MAP_APPFONT ( 50 , 8 ) ;
225		Text [ en-US ] = "~Paper Width" ;
226		Left = TRUE ;
227	};
228	MetricField FLD_PAPER_WIDTH
229	{
230	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_PAPER_WIDTH";
231		Border = TRUE ;
232        Pos = MAP_APPFONT ( 60 , 129 ) ;
233		Size = MAP_APPFONT ( 40 , 12 ) ;
234		TabStop = TRUE ;
235		Left = TRUE ;
236		Spin = TRUE ;
237		DecimalDigits = 2 ;
238		Unit = FUNIT_CM ;
239		Repeat = TRUE ;
240		SpinSize = 10 ;
241	};
242	FixedText TXT_PAPER_HEIGHT
243	{
244        Pos = MAP_APPFONT ( 6 , 145 ) ;
245		Size = MAP_APPFONT ( 50 , 8 ) ;
246		Text [ en-US ] = "Pape~r Height" ;
247		Left = TRUE ;
248	};
249	MetricField FLD_PAPER_HEIGHT
250	{
251	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_PAPER_HEIGHT";
252		Border = TRUE ;
253        Pos = MAP_APPFONT ( 60 , 143 ) ;
254		Size = MAP_APPFONT ( 40 , 12 ) ;
255		TabStop = TRUE ;
256		Left = TRUE ;
257		Spin = TRUE ;
258		DecimalDigits = 2 ;
259		Unit = FUNIT_CM ;
260		Repeat = TRUE ;
261		SpinSize = 10 ;
262	};
263	PushButton	PB_SAVE
264	{
265	    HelpID = "sw:PushButton:TP_LAB_FMT:PB_SAVE";
266        Pos = MAP_APPFONT ( 50 , 164 ) ;
267		Size = MAP_APPFONT ( 50 , 14 ) ;
268		Text [ en-US ] = "~Save...";
269	};
270};
271 // String *******************************************************************
272String STR_HDIST
273{
274	Text [ en-US ] = "H. Pitch" ;
275};
276String STR_VDIST
277{
278	Text [ en-US ] = "V. Pitch" ;
279};
280String STR_WIDTH
281{
282	Text [ en-US ] = "Width" ;
283};
284String STR_HEIGHT
285{
286	Text [ en-US ] = "Height" ;
287};
288String STR_LEFT
289{
290	Text [ en-US ] = "Left margin" ;
291};
292String STR_UPPER
293{
294	Text [ en-US ] = "Top margin" ;
295};
296String STR_COLS
297{
298	Text [ en-US ] = "Columns" ;
299};
300String STR_ROWS
301{
302	Text [ en-US ] = "Rows" ;
303};
304ModalDialog DLG_SAVE_LABEL
305{
306	HelpID = HID_SAVE_LABEL_DLG ;
307	OutputSize = TRUE ;
308	SVLook = TRUE ;
309	Size = MAP_APPFONT ( 230 , 60 ) ;
310	Moveable = TRUE ;
311	FixedText FT_MAKE
312	{
313		Pos = MAP_APPFONT ( 12 , 16 ) ;
314		Size = MAP_APPFONT ( 50 , 10 ) ;
315		Text [ en-US ] = "Brand" ;
316		Left = TRUE ;
317	};
318	ComboBox CB_MAKE
319	{
320	    HelpID = "sw:ComboBox:DLG_SAVE_LABEL:CB_MAKE";
321		Pos = MAP_APPFONT ( 65 , 15 ) ;
322		Size = MAP_APPFONT ( 100 , 50 ) ;
323		Border = TRUE;
324		DropDown = TRUE;
325	};
326	FixedText FT_TYPE
327	{
328		Pos = MAP_APPFONT ( 12 , 31 ) ;
329		Size = MAP_APPFONT ( 50 , 10 ) ;
330		Text [ en-US ] = "T~ype" ;
331		Left = TRUE ;
332	};
333	Edit ED_TYPE
334	{
335	    HelpID = "sw:Edit:DLG_SAVE_LABEL:ED_TYPE";
336		Pos = MAP_APPFONT ( 65 , 30 ) ;
337		Size = MAP_APPFONT ( 100 , 12 ) ;
338		Border = TRUE;
339	};
340    FixedLine FL_OPTIONS
341	{
342		Pos = MAP_APPFONT ( 6 , 3 ) ;
343        Size = MAP_APPFONT ( 165 , 8 ) ;
344		Text [ en-US ] = "Options";
345	};
346	OKButton PB_OK
347	{
348		Pos = MAP_APPFONT ( 174 , 6 ) ;
349		Size = MAP_APPFONT ( 50 , 14 ) ;
350		TabStop = TRUE ;
351		Group = TRUE ;
352		DefButton = TRUE ;
353	};
354	CancelButton PB_CANCEL
355	{
356		Pos = MAP_APPFONT ( 174 , 23 ) ;
357		Size = MAP_APPFONT ( 50 , 14 ) ;
358		TabStop = TRUE ;
359		Group = TRUE ;
360	};
361	HelpButton PB_HELP
362	{
363		Pos = MAP_APPFONT ( 174 , 43 ) ;
364		Size = MAP_APPFONT ( 50 , 14 ) ;
365		TabStop = TRUE ;
366		Group = TRUE ;
367	};
368	QueryBox MB_QUERY
369	{
370		Buttons = WB_YES_NO ;
371		DefButton = WB_DEF_CANCEL ;
372		Message [ en-US ] = "The label \"%1 / %2\" already exists.\nDo you want to overwrite it?";
373	};
374	Text [ en-US ] = "Save Label Format";
375};
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409