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