xref: /aoo41x/main/sw/source/ui/envelp/labfmt.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // #pragma ******************************************************************
28
29 // #include *****************************************************************
30#include "labfmt.hrc"
31#include "helpid.h"
32 // TP_LAB_FMT ---------------------------------------------------------------
33TabPage TP_LAB_FMT
34{
35	HelpID = HID_LAB_FMT ;
36	Size = MAP_APPFONT ( 260 , 185 ) ;
37	Hide = TRUE ;
38	FixedText FI_MAKE
39	{
40		Pos = MAP_APPFONT ( 108 , 6 ) ;
41		Size = MAP_APPFONT ( 50 , 8 ) ;
42	};
43	FixedText FI_TYPE
44	{
45		Pos = MAP_APPFONT ( 162 , 6 ) ;
46		Size = MAP_APPFONT ( 92 , 8 ) ;
47	};
48	Window WIN_PREVIEW
49	{
50		Border = TRUE ;
51        Pos = MAP_APPFONT ( 108 , 17 ) ;
52		Size = MAP_APPFONT ( 146 , 161 ) ;
53	};
54	FixedText TXT_HDIST
55	{
56        Pos = MAP_APPFONT ( 6 , 19 ) ;
57		Size = MAP_APPFONT ( 50 , 8 ) ;
58		Text [ en-US ] = "Hori~zontal pitch" ;
59		Group = TRUE ;
60		Left = TRUE ;
61	};
62	MetricField FLD_HDIST
63	{
64	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HDIST";
65		Border = TRUE ;
66        Pos = MAP_APPFONT ( 60 , 17 ) ;
67		Size = MAP_APPFONT ( 40 , 12 ) ;
68		TabStop = TRUE ;
69		Left = TRUE ;
70		Spin = TRUE ;
71		DecimalDigits = 2 ;
72		Unit = FUNIT_CM ;
73		Repeat = TRUE ;
74		SpinSize = 10 ;
75	};
76	FixedText TXT_VDIST
77	{
78        Pos = MAP_APPFONT ( 6 , 35 ) ;
79		Size = MAP_APPFONT ( 50 , 8 ) ;
80		Text [ en-US ] = "~Vertical pitch" ;
81		Left = TRUE ;
82	};
83	MetricField FLD_VDIST
84	{
85	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_VDIST";
86		Border = TRUE ;
87        Pos = MAP_APPFONT ( 60 , 33 ) ;
88		Size = MAP_APPFONT ( 40 , 12 ) ;
89		TabStop = TRUE ;
90		Left = TRUE ;
91		Spin = TRUE ;
92		DecimalDigits = 2 ;
93		Unit = FUNIT_CM ;
94		Repeat = TRUE ;
95		SpinSize = 10 ;
96	};
97	FixedText TXT_WIDTH
98	{
99        Pos = MAP_APPFONT ( 6 , 51 ) ;
100		Size = MAP_APPFONT ( 50 , 8 ) ;
101		Text [ en-US ] = "~Width" ;
102		Left = TRUE ;
103	};
104	MetricField FLD_WIDTH
105	{
106	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_WIDTH";
107		Border = TRUE ;
108        Pos = MAP_APPFONT ( 60 , 49 ) ;
109		Size = MAP_APPFONT ( 40 , 12 ) ;
110		TabStop = TRUE ;
111		Left = TRUE ;
112		Spin = TRUE ;
113		DecimalDigits = 2 ;
114		Unit = FUNIT_CM ;
115		Repeat = TRUE ;
116		SpinSize = 10 ;
117	};
118	FixedText TXT_HEIGHT
119	{
120        Pos = MAP_APPFONT ( 6 , 67 ) ;
121		Size = MAP_APPFONT ( 50 , 8 ) ;
122		Text [ en-US ] = "~Height" ;
123		Left = TRUE ;
124	};
125	MetricField FLD_HEIGHT
126	{
127	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HEIGHT";
128		Border = TRUE ;
129        Pos = MAP_APPFONT ( 60 , 65 ) ;
130		Size = MAP_APPFONT ( 40 , 12 ) ;
131		TabStop = TRUE ;
132		Left = TRUE ;
133		Spin = TRUE ;
134		DecimalDigits = 2 ;
135		Unit = FUNIT_CM ;
136		Repeat = TRUE ;
137		SpinSize = 10 ;
138	};
139	FixedText TXT_LEFT
140	{
141        Pos = MAP_APPFONT ( 6 , 83 ) ;
142		Size = MAP_APPFONT ( 50 , 8 ) ;
143		Text [ en-US ] = "~Left margin" ;
144		Left = TRUE ;
145	};
146	MetricField FLD_LEFT
147	{
148	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_LEFT";
149		Border = TRUE ;
150        Pos = MAP_APPFONT ( 60 , 81 ) ;
151		Size = MAP_APPFONT ( 40 , 12 ) ;
152		TabStop = TRUE ;
153		Left = TRUE ;
154		Spin = TRUE ;
155		DecimalDigits = 2 ;
156		Unit = FUNIT_CM ;
157		Repeat = TRUE ;
158		Minimum = 0 ;
159		First = 0 ;
160		SpinSize = 10 ;
161	};
162	FixedText TXT_UPPER
163	{
164        Pos = MAP_APPFONT ( 6 , 99 ) ;
165		Size = MAP_APPFONT ( 50 , 8 ) ;
166		Text [ en-US ] = "~Top margin" ;
167		Left = TRUE ;
168	};
169	MetricField FLD_UPPER
170	{
171	    HelpID = "sw:MetricField:TP_LAB_FMT:FLD_UPPER";
172		Border = TRUE ;
173        Pos = MAP_APPFONT ( 60 , 97 ) ;
174		Size = MAP_APPFONT ( 40 , 12 ) ;
175		TabStop = TRUE ;
176		Left = TRUE ;
177		Spin = TRUE ;
178		DecimalDigits = 2 ;
179		Unit = FUNIT_CM ;
180		Repeat = TRUE ;
181		Minimum = 0 ;
182		First = 0 ;
183		SpinSize = 10 ;
184	};
185	FixedText TXT_COLUMNS
186	{
187        Pos = MAP_APPFONT ( 6 , 115 ) ;
188		Size = MAP_APPFONT ( 50 , 8 ) ;
189		Text [ en-US ] = "~Columns" ;
190		Left = TRUE ;
191	};
192	NumericField FLD_COLUMNS
193	{
194	    HelpID = "sw:NumericField:TP_LAB_FMT:FLD_COLUMNS";
195		Border = TRUE ;
196        Pos = MAP_APPFONT ( 60 , 113 ) ;
197		Size = MAP_APPFONT ( 40 , 12 ) ;
198		TabStop = TRUE ;
199		Left = TRUE ;
200		Repeat = TRUE ;
201		Spin = TRUE ;
202		Minimum = 1 ;
203		First = 1 ;
204	};
205	FixedText TXT_ROWS
206	{
207        Pos = MAP_APPFONT ( 6 , 131 ) ;
208		Size = MAP_APPFONT ( 50 , 8 ) ;
209		Text [ en-US ] = "R~ows" ;
210		Left = TRUE ;
211	};
212	NumericField FLD_ROWS
213	{
214	    HelpID = "sw:NumericField:TP_LAB_FMT:FLD_ROWS";
215		Border = TRUE ;
216        Pos = MAP_APPFONT ( 60 , 129 ) ;
217		Size = MAP_APPFONT ( 40 , 12 ) ;
218		TabStop = TRUE ;
219		Left = TRUE ;
220		Repeat = TRUE ;
221		Spin = TRUE ;
222		Minimum = 1 ;
223		First = 1 ;
224	};
225	PushButton	PB_SAVE
226	{
227	    HelpID = "sw:PushButton:TP_LAB_FMT:PB_SAVE";
228        Pos = MAP_APPFONT ( 50 , 148 ) ;
229		Size = MAP_APPFONT ( 50 , 14 ) ;
230		Text [ en-US ] = "~Save...";
231	};
232};
233 // String *******************************************************************
234String STR_HDIST
235{
236	Text [ en-US ] = "H. Pitch" ;
237};
238String STR_VDIST
239{
240	Text [ en-US ] = "V. Pitch" ;
241};
242String STR_WIDTH
243{
244	Text [ en-US ] = "Width" ;
245};
246String STR_HEIGHT
247{
248	Text [ en-US ] = "Height" ;
249};
250String STR_LEFT
251{
252	Text [ en-US ] = "Left margin" ;
253};
254String STR_UPPER
255{
256	Text [ en-US ] = "Top margin" ;
257};
258String STR_COLS
259{
260	Text [ en-US ] = "Columns" ;
261};
262String STR_ROWS
263{
264	Text [ en-US ] = "Rows" ;
265};
266ModalDialog DLG_SAVE_LABEL
267{
268	HelpID = HID_SAVE_LABEL_DLG ;
269	OutputSize = TRUE ;
270	SVLook = TRUE ;
271	Size = MAP_APPFONT ( 230 , 60 ) ;
272	Moveable = TRUE ;
273	FixedText FT_MAKE
274	{
275		Pos = MAP_APPFONT ( 12 , 16 ) ;
276		Size = MAP_APPFONT ( 50 , 10 ) ;
277		Text [ en-US ] = "Brand" ;
278		Left = TRUE ;
279	};
280	ComboBox CB_MAKE
281	{
282	    HelpID = "sw:ComboBox:DLG_SAVE_LABEL:CB_MAKE";
283		Pos = MAP_APPFONT ( 65 , 15 ) ;
284		Size = MAP_APPFONT ( 100 , 50 ) ;
285		Border = TRUE;
286		DropDown = TRUE;
287	};
288	FixedText FT_TYPE
289	{
290		Pos = MAP_APPFONT ( 12 , 31 ) ;
291		Size = MAP_APPFONT ( 50 , 10 ) ;
292		Text [ en-US ] = "T~ype" ;
293		Left = TRUE ;
294	};
295	Edit ED_TYPE
296	{
297	    HelpID = "sw:Edit:DLG_SAVE_LABEL:ED_TYPE";
298		Pos = MAP_APPFONT ( 65 , 30 ) ;
299		Size = MAP_APPFONT ( 100 , 12 ) ;
300		Border = TRUE;
301	};
302    FixedLine FL_OPTIONS
303	{
304		Pos = MAP_APPFONT ( 6 , 3 ) ;
305        Size = MAP_APPFONT ( 165 , 8 ) ;
306		Text [ en-US ] = "Options";
307	};
308	OKButton PB_OK
309	{
310		Pos = MAP_APPFONT ( 174 , 6 ) ;
311		Size = MAP_APPFONT ( 50 , 14 ) ;
312		TabStop = TRUE ;
313		Group = TRUE ;
314		DefButton = TRUE ;
315	};
316	CancelButton PB_CANCEL
317	{
318		Pos = MAP_APPFONT ( 174 , 23 ) ;
319		Size = MAP_APPFONT ( 50 , 14 ) ;
320		TabStop = TRUE ;
321		Group = TRUE ;
322	};
323	HelpButton PB_HELP
324	{
325		Pos = MAP_APPFONT ( 174 , 43 ) ;
326		Size = MAP_APPFONT ( 50 , 14 ) ;
327		TabStop = TRUE ;
328		Group = TRUE ;
329	};
330	QueryBox MB_QUERY
331	{
332		Buttons = WB_YES_NO ;
333		DefButton = WB_DEF_CANCEL ;
334		Message [ en-US ] = "The label \"%1 / %2\" already exists.\nDo you want to overwrite it?";
335	};
336	Text [ en-US ] = "Save Label Format";
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
368
369
370
371