xref: /aoo41x/main/sw/source/ui/envelp/labfmt.src (revision 8660f102)
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 , 35 ) ;
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 , 33 ) ;
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 , 51 ) ;
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 , 49 ) ;
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 , 67 ) ;
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 , 65 ) ;
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 , 83 ) ;
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 , 81 ) ;
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 , 99 ) ;
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 , 97 ) ;
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 , 115 ) ;
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 , 113 ) ;
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 , 131 ) ;
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 , 129 ) ;
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	PushButton	PB_SAVE
222	{
223	    HelpID = "sw:PushButton:TP_LAB_FMT:PB_SAVE";
224        Pos = MAP_APPFONT ( 50 , 148 ) ;
225		Size = MAP_APPFONT ( 50 , 14 ) ;
226		Text [ en-US ] = "~Save...";
227	};
228};
229 // String *******************************************************************
230String STR_HDIST
231{
232	Text [ en-US ] = "H. Pitch" ;
233};
234String STR_VDIST
235{
236	Text [ en-US ] = "V. Pitch" ;
237};
238String STR_WIDTH
239{
240	Text [ en-US ] = "Width" ;
241};
242String STR_HEIGHT
243{
244	Text [ en-US ] = "Height" ;
245};
246String STR_LEFT
247{
248	Text [ en-US ] = "Left margin" ;
249};
250String STR_UPPER
251{
252	Text [ en-US ] = "Top margin" ;
253};
254String STR_COLS
255{
256	Text [ en-US ] = "Columns" ;
257};
258String STR_ROWS
259{
260	Text [ en-US ] = "Rows" ;
261};
262ModalDialog DLG_SAVE_LABEL
263{
264	HelpID = HID_SAVE_LABEL_DLG ;
265	OutputSize = TRUE ;
266	SVLook = TRUE ;
267	Size = MAP_APPFONT ( 230 , 60 ) ;
268	Moveable = TRUE ;
269	FixedText FT_MAKE
270	{
271		Pos = MAP_APPFONT ( 12 , 16 ) ;
272		Size = MAP_APPFONT ( 50 , 10 ) ;
273		Text [ en-US ] = "Brand" ;
274		Left = TRUE ;
275	};
276	ComboBox CB_MAKE
277	{
278	    HelpID = "sw:ComboBox:DLG_SAVE_LABEL:CB_MAKE";
279		Pos = MAP_APPFONT ( 65 , 15 ) ;
280		Size = MAP_APPFONT ( 100 , 50 ) ;
281		Border = TRUE;
282		DropDown = TRUE;
283	};
284	FixedText FT_TYPE
285	{
286		Pos = MAP_APPFONT ( 12 , 31 ) ;
287		Size = MAP_APPFONT ( 50 , 10 ) ;
288		Text [ en-US ] = "T~ype" ;
289		Left = TRUE ;
290	};
291	Edit ED_TYPE
292	{
293	    HelpID = "sw:Edit:DLG_SAVE_LABEL:ED_TYPE";
294		Pos = MAP_APPFONT ( 65 , 30 ) ;
295		Size = MAP_APPFONT ( 100 , 12 ) ;
296		Border = TRUE;
297	};
298    FixedLine FL_OPTIONS
299	{
300		Pos = MAP_APPFONT ( 6 , 3 ) ;
301        Size = MAP_APPFONT ( 165 , 8 ) ;
302		Text [ en-US ] = "Options";
303	};
304	OKButton PB_OK
305	{
306		Pos = MAP_APPFONT ( 174 , 6 ) ;
307		Size = MAP_APPFONT ( 50 , 14 ) ;
308		TabStop = TRUE ;
309		Group = TRUE ;
310		DefButton = TRUE ;
311	};
312	CancelButton PB_CANCEL
313	{
314		Pos = MAP_APPFONT ( 174 , 23 ) ;
315		Size = MAP_APPFONT ( 50 , 14 ) ;
316		TabStop = TRUE ;
317		Group = TRUE ;
318	};
319	HelpButton PB_HELP
320	{
321		Pos = MAP_APPFONT ( 174 , 43 ) ;
322		Size = MAP_APPFONT ( 50 , 14 ) ;
323		TabStop = TRUE ;
324		Group = TRUE ;
325	};
326	QueryBox MB_QUERY
327	{
328		Buttons = WB_YES_NO ;
329		DefButton = WB_DEF_CANCEL ;
330		Message [ en-US ] = "The label \"%1 / %2\" already exists.\nDo you want to overwrite it?";
331	};
332	Text [ en-US ] = "Save Label Format";
333};
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367