bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / envelp / labfmt.src
blob96efd2839d57da53d79670093d5c91da2e3641f7
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #include "labfmt.hrc"
21 #include "helpid.h"
22  // TP_LAB_FMT ---------------------------------------------------------------
23 TabPage TP_LAB_FMT
25     HelpID = HID_LAB_FMT ;
26     Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
27     Hide = TRUE ;
28     FixedText FI_MAKE
29     {
30         Pos = MAP_APPFONT ( 108 , 6 ) ;
31         Size = MAP_APPFONT ( 50 , 8 ) ;
32     };
33     FixedText FI_TYPE
34     {
35         Pos = MAP_APPFONT ( 162 , 6 ) ;
36         Size = MAP_APPFONT ( 92 , 8 ) ;
37     };
38     Window WIN_PREVIEW
39     {
40         Border = TRUE ;
41         Pos = MAP_APPFONT ( 108 , 17 ) ;
42         Size = MAP_APPFONT ( 146 , 161 ) ;
43     };
44     FixedText TXT_HDIST
45     {
46         Pos = MAP_APPFONT ( 6 , 6 ) ;
47         Size = MAP_APPFONT ( 50 , 8 ) ;
48         Text [ en-US ] = "Hori~zontal pitch" ;
49         Group = TRUE ;
50         Left = TRUE ;
51     };
52     MetricField FLD_HDIST
53     {
54         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HDIST";
55         Border = TRUE ;
56         Pos = MAP_APPFONT ( 60 , 4 ) ;
57         Size = MAP_APPFONT ( 40 , 12 ) ;
58         TabStop = TRUE ;
59         Left = TRUE ;
60         Spin = TRUE ;
61         DecimalDigits = 2 ;
62         Unit = FUNIT_CM ;
63         Repeat = TRUE ;
64         SpinSize = 10 ;
65     };
66     FixedText TXT_VDIST
67     {
68         Pos = MAP_APPFONT ( 6 , 22 ) ;
69         Size = MAP_APPFONT ( 50 , 8 ) ;
70         Text [ en-US ] = "~Vertical pitch" ;
71         Left = TRUE ;
72     };
73     MetricField FLD_VDIST
74     {
75         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_VDIST";
76         Border = TRUE ;
77         Pos = MAP_APPFONT ( 60 , 20 ) ;
78         Size = MAP_APPFONT ( 40 , 12 ) ;
79         TabStop = TRUE ;
80         Left = TRUE ;
81         Spin = TRUE ;
82         DecimalDigits = 2 ;
83         Unit = FUNIT_CM ;
84         Repeat = TRUE ;
85         SpinSize = 10 ;
86     };
87     FixedText TXT_WIDTH
88     {
89         Pos = MAP_APPFONT ( 6 , 38 ) ;
90         Size = MAP_APPFONT ( 50 , 8 ) ;
91         Text [ en-US ] = "~Width" ;
92         Left = TRUE ;
93     };
94     MetricField FLD_WIDTH
95     {
96         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_WIDTH";
97         Border = TRUE ;
98         Pos = MAP_APPFONT ( 60 , 36 ) ;
99         Size = MAP_APPFONT ( 40 , 12 ) ;
100         TabStop = TRUE ;
101         Left = TRUE ;
102         Spin = TRUE ;
103         DecimalDigits = 2 ;
104         Unit = FUNIT_CM ;
105         Repeat = TRUE ;
106         SpinSize = 10 ;
107     };
108     FixedText TXT_HEIGHT
109     {
110         Pos = MAP_APPFONT ( 6 , 54 ) ;
111         Size = MAP_APPFONT ( 50 , 8 ) ;
112         Text [ en-US ] = "~Height" ;
113         Left = TRUE ;
114     };
115     MetricField FLD_HEIGHT
116     {
117         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_HEIGHT";
118         Border = TRUE ;
119         Pos = MAP_APPFONT ( 60 , 52 ) ;
120         Size = MAP_APPFONT ( 40 , 12 ) ;
121         TabStop = TRUE ;
122         Left = TRUE ;
123         Spin = TRUE ;
124         DecimalDigits = 2 ;
125         Unit = FUNIT_CM ;
126         Repeat = TRUE ;
127         SpinSize = 10 ;
128     };
129     FixedText TXT_LEFT
130     {
131         Pos = MAP_APPFONT ( 6 , 70 ) ;
132         Size = MAP_APPFONT ( 50 , 8 ) ;
133         Text [ en-US ] = "~Left margin" ;
134         Left = TRUE ;
135     };
136     MetricField FLD_LEFT
137     {
138         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_LEFT";
139         Border = TRUE ;
140         Pos = MAP_APPFONT ( 60 , 68 ) ;
141         Size = MAP_APPFONT ( 40 , 12 ) ;
142         TabStop = TRUE ;
143         Left = TRUE ;
144         Spin = TRUE ;
145         DecimalDigits = 2 ;
146         Unit = FUNIT_CM ;
147         Repeat = TRUE ;
148         Minimum = 0 ;
149         First = 0 ;
150         SpinSize = 10 ;
151     };
152     FixedText TXT_UPPER
153     {
154         Pos = MAP_APPFONT ( 6 , 86 ) ;
155         Size = MAP_APPFONT ( 50 , 8 ) ;
156         Text [ en-US ] = "~Top margin" ;
157         Left = TRUE ;
158     };
159     MetricField FLD_UPPER
160     {
161         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_UPPER";
162         Border = TRUE ;
163         Pos = MAP_APPFONT ( 60 , 84 ) ;
164         Size = MAP_APPFONT ( 40 , 12 ) ;
165         TabStop = TRUE ;
166         Left = TRUE ;
167         Spin = TRUE ;
168         DecimalDigits = 2 ;
169         Unit = FUNIT_CM ;
170         Repeat = TRUE ;
171         Minimum = 0 ;
172         First = 0 ;
173         SpinSize = 10 ;
174     };
175     FixedText TXT_COLUMNS
176     {
177         Pos = MAP_APPFONT ( 6 , 102 ) ;
178         Size = MAP_APPFONT ( 50 , 8 ) ;
179         Text [ en-US ] = "~Columns" ;
180         Left = TRUE ;
181     };
182     NumericField FLD_COLUMNS
183     {
184         HelpID = "sw:NumericField:TP_LAB_FMT:FLD_COLUMNS";
185         Border = TRUE ;
186         Pos = MAP_APPFONT ( 60 , 100 ) ;
187         Size = MAP_APPFONT ( 40 , 12 ) ;
188         TabStop = TRUE ;
189         Left = TRUE ;
190         Repeat = TRUE ;
191         Spin = TRUE ;
192         Minimum = 1 ;
193         First = 1 ;
194     };
195     FixedText TXT_ROWS
196     {
197         Pos = MAP_APPFONT ( 6 , 118 ) ;
198         Size = MAP_APPFONT ( 50 , 8 ) ;
199         Text [ en-US ] = "R~ows" ;
200         Left = TRUE ;
201     };
202     NumericField FLD_ROWS
203     {
204         HelpID = "sw:NumericField:TP_LAB_FMT:FLD_ROWS";
205         Border = TRUE ;
206         Pos = MAP_APPFONT ( 60 , 116 ) ;
207         Size = MAP_APPFONT ( 40 , 12 ) ;
208         TabStop = TRUE ;
209         Left = TRUE ;
210         Repeat = TRUE ;
211         Spin = TRUE ;
212         Minimum = 1 ;
213         First = 1 ;
214     };
215     FixedText TXT_PWIDTH
216     {
217         Pos = MAP_APPFONT ( 6 , 134 ) ;
218         Size = MAP_APPFONT ( 50 , 8 ) ;
219         Text [ en-US ] = "P~age Width" ;
220         Left = TRUE ;
221     };
222     MetricField FLD_PWIDTH
223     {
224         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_PWIDTH";
225         Border = TRUE ;
226         Pos = MAP_APPFONT ( 60 , 132 ) ;
227         Size = MAP_APPFONT ( 40 , 12 ) ;
228         TabStop = TRUE ;
229         Left = TRUE ;
230         Spin = TRUE ;
231         DecimalDigits = 2 ;
232         Unit = FUNIT_CM ;
233         Repeat = TRUE ;
234         SpinSize = 10 ;
235     };
236     FixedText TXT_PHEIGHT
237     {
238         Pos = MAP_APPFONT ( 6 , 150 ) ;
239         Size = MAP_APPFONT ( 50 , 8 ) ;
240         Text [ en-US ] = "Pa~ge Height" ;
241         Left = TRUE ;
242     };
243     MetricField FLD_PHEIGHT
244     {
245         HelpID = "sw:MetricField:TP_LAB_FMT:FLD_PHEIGHT";
246         Border = TRUE ;
247         Pos = MAP_APPFONT ( 60 , 148 ) ;
248         Size = MAP_APPFONT ( 40 , 12 ) ;
249         TabStop = TRUE ;
250         Left = TRUE ;
251         Spin = TRUE ;
252         DecimalDigits = 2 ;
253         Unit = FUNIT_CM ;
254         Repeat = TRUE ;
255         SpinSize = 10 ;
256     };
257     PushButton  PB_SAVE
258     {
259         HelpID = "sw:PushButton:TP_LAB_FMT:PB_SAVE";
260         Pos = MAP_APPFONT ( 50 , 167 ) ;
261         Size = MAP_APPFONT ( 50 , 14 ) ;
262         Text [ en-US ] = "~Save...";
263     };
265  // String *******************************************************************
266 String STR_HDIST
268     Text [ en-US ] = "H. Pitch" ;
270 String STR_VDIST
272     Text [ en-US ] = "V. Pitch" ;
274 String STR_WIDTH
276     Text [ en-US ] = "Width" ;
278 String STR_HEIGHT
280     Text [ en-US ] = "Height" ;
282 String STR_LEFT
284     Text [ en-US ] = "Left margin" ;
286 String STR_UPPER
288     Text [ en-US ] = "Top margin" ;
290 String STR_COLS
292     Text [ en-US ] = "Columns" ;
294 String STR_ROWS
296     Text [ en-US ] = "Rows" ;
298 String STR_PWIDTH
300     Text [ en-US ] = "Page Width" ;
302 String STR_PHEIGHT
304     Text [ en-US ] = "Page Height" ;
306 WarningBox WB_PREDEFINED_LABEL
308     BUTTONS = WB_OK;
309     DEFBUTTON = WB_DEF_OK;
310     Message [ en-US ] = "Predefined labels cannot be overwritten, use another name." ;
312 ModalDialog DLG_SAVE_LABEL
314     HelpID = HID_SAVE_LABEL_DLG ;
315     OutputSize = TRUE ;
316     SVLook = TRUE ;
317     Size = MAP_APPFONT ( 230 , 60 ) ;
318     Moveable = TRUE ;
319     FixedText FT_MAKE
320     {
321         Pos = MAP_APPFONT ( 12 , 16 ) ;
322         Size = MAP_APPFONT ( 50 , 10 ) ;
323         Text [ en-US ] = "Brand" ;
324         Left = TRUE ;
325     };
326     ComboBox CB_MAKE
327     {
328         HelpID = "sw:ComboBox:DLG_SAVE_LABEL:CB_MAKE";
329         Pos = MAP_APPFONT ( 65 , 15 ) ;
330         Size = MAP_APPFONT ( 100 , 50 ) ;
331         Border = TRUE;
332         DropDown = TRUE;
333     };
334     FixedText FT_TYPE
335     {
336         Pos = MAP_APPFONT ( 12 , 31 ) ;
337         Size = MAP_APPFONT ( 50 , 10 ) ;
338         Text [ en-US ] = "T~ype" ;
339         Left = TRUE ;
340     };
341     Edit ED_TYPE
342     {
343         HelpID = "sw:Edit:DLG_SAVE_LABEL:ED_TYPE";
344         Pos = MAP_APPFONT ( 65 , 30 ) ;
345         Size = MAP_APPFONT ( 100 , 12 ) ;
346         Border = TRUE;
347     };
348     FixedLine FL_OPTIONS
349     {
350         Pos = MAP_APPFONT ( 6 , 3 ) ;
351         Size = MAP_APPFONT ( 165 , 8 ) ;
352         Text [ en-US ] = "Options";
353     };
354     OKButton PB_OK
355     {
356         Pos = MAP_APPFONT ( 174 , 6 ) ;
357         Size = MAP_APPFONT ( 50 , 14 ) ;
358         TabStop = TRUE ;
359         Group = TRUE ;
360         DefButton = TRUE ;
361     };
362     CancelButton PB_CANCEL
363     {
364         Pos = MAP_APPFONT ( 174 , 23 ) ;
365         Size = MAP_APPFONT ( 50 , 14 ) ;
366         TabStop = TRUE ;
367         Group = TRUE ;
368     };
369     HelpButton PB_HELP
370     {
371         Pos = MAP_APPFONT ( 174 , 43 ) ;
372         Size = MAP_APPFONT ( 50 , 14 ) ;
373         TabStop = TRUE ;
374         Group = TRUE ;
375     };
376     QueryBox MB_QUERY
377     {
378         Buttons = WB_YES_NO ;
379         DefButton = WB_DEF_CANCEL ;
380         Message [ en-US ] = "The label \"%1 / %2\" already exists.\nDo you want to overwrite it?";
381     };
382     Text [ en-US ] = "Save Label Format";
385 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */