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