xref: /aoo41x/main/sw/source/ui/envelp/envprt.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 "envprt.hrc"
27#include "helpid.h"
28 // TP_ENV_PRT ---------------------------------------------------------------
29TabPage TP_ENV_PRT
30{
31	HelpID = HID_ENV_PRT ;
32	Size = MAP_APPFONT ( 260 , 185 ) ;
33	Hide = TRUE ;
34    FixedLine FL_NONAME
35	{
36		Pos = MAP_APPFONT ( 6 , 3 ) ;
37        Size = MAP_APPFONT ( 248 , 8 ) ;
38		Text [ en-US ] = "Envelope orientation";
39	};
40	ToolBox BOX_ALIGN
41	{
42        Pos = MAP_APPFONT ( 12 , 14 ) ;
43		ItemList =
44		{
45			ToolBoxItem
46			{
47				Identifier = ITM_HOR_LEFT ;
48				HelpID = HID_ITM_HOR_LEFT ;
49			};
50			ToolBoxItem
51			{
52				Identifier = ITM_HOR_CNTR ;
53				HelpID = HID_ITM_HOR_CNTR ;
54			};
55			ToolBoxItem
56			{
57				Identifier = ITM_HOR_RGHT ;
58				HelpID = HID_ITM_HOR_RGHT ;
59			};
60			ToolBoxItem
61			{
62				Identifier = ITM_VER_LEFT ;
63				HelpID = HID_ITM_VER_LEFT ;
64			};
65			ToolBoxItem
66			{
67				Identifier = ITM_VER_CNTR ;
68				HelpID = HID_ITM_VER_CNTR ;
69			};
70			ToolBoxItem
71			{
72				Identifier = ITM_VER_RGHT ;
73				HelpID = HID_ITM_VER_RGHT ;
74			};
75		};
76	};
77	RadioButton BTN_TOP
78	{
79	    HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_TOP";
80        Pos = MAP_APPFONT ( 18 , 42 ) ;
81		Size = MAP_APPFONT ( 179 , 10 ) ;
82		Text [ en-US ] = "~Print from top" ;
83		TabStop = TRUE ;
84		Group = TRUE ;
85		Check = TRUE ;
86	};
87	RadioButton BTN_BOTTOM
88	{
89	    HelpID = "sw:RadioButton:TP_ENV_PRT:BTN_BOTTOM";
90        Pos = MAP_APPFONT ( 18 , 56 ) ;
91		Size = MAP_APPFONT ( 179 , 10 ) ;
92		Text [ en-US ] = "Print from ~bottom" ;
93		TabStop = TRUE ;
94	};
95	FixedText TXT_RIGHT
96	{
97        Pos = MAP_APPFONT ( 12 , 74 ) ;
98        Size = MAP_APPFONT ( 72 , 8 ) ;
99		Text [ en-US ] = "~Shift right" ;
100		Left = TRUE ;
101	};
102	MetricField FLD_RIGHT
103	{
104	    HelpID = "sw:MetricField:TP_ENV_PRT:FLD_RIGHT";
105		Border = TRUE ;
106        Pos = MAP_APPFONT ( 86 , 72 ) ;
107		Size = MAP_APPFONT ( 40 , 12 ) ;
108		TabStop = TRUE ;
109		Left = TRUE ;
110		Repeat = TRUE ;
111		Spin = TRUE ;
112		Minimum = 0 ;
113		Maximum = 10000 ;
114		DecimalDigits = 2 ;
115		Unit = FUNIT_CM ;
116		First = 0 ;
117		Last = 10000 ;
118		SpinSize = 10 ;
119	};
120	FixedText TXT_DOWN
121	{
122        Pos = MAP_APPFONT ( 12 , 90 ) ;
123        Size = MAP_APPFONT ( 72 , 8 ) ;
124		Text [ en-US ] = "Shift ~down" ;
125		Left = TRUE ;
126	};
127	MetricField FLD_DOWN
128	{
129	    HelpID = "sw:MetricField:TP_ENV_PRT:FLD_DOWN";
130		Border = TRUE ;
131        Pos = MAP_APPFONT ( 86 , 88 ) ;
132		Size = MAP_APPFONT ( 40 , 12 ) ;
133		TabStop = TRUE ;
134		Left = TRUE ;
135		Repeat = TRUE ;
136		Spin = TRUE ;
137		Minimum = 0 ;
138		Maximum = 10000 ;
139		DecimalDigits = 2 ;
140		Unit = FUNIT_CM ;
141		First = 0 ;
142		Last = 10000 ;
143		SpinSize = 10 ;
144	};
145    FixedLine FL_PRINTER
146    {
147        Pos = MAP_APPFONT ( 3 , 103 ) ;
148        Size = MAP_APPFONT ( 248 , 8 ) ;
149    	Text [ en-US ] = "Current printer";
150	};
151	FixedText TXT_PRINTER
152	{
153        Pos = MAP_APPFONT ( 12 , 116 ) ;
154		Size = MAP_APPFONT ( 179 , 8 ) ;
155		Text [ en-US ] = "- No printer installed -" ;
156		Left = TRUE ;
157	};
158	PushButton BTN_PRTSETUP
159	{
160	    HelpID = "sw:PushButton:TP_ENV_PRT:BTN_PRTSETUP";
161        Pos = MAP_APPFONT ( 198 , 114 ) ;
162		Size = MAP_APPFONT ( 50 , 14 ) ;
163		TabStop = TRUE ;
164		Text [ en-US ] = "Setup..." ;
165	};
166};
167 // Bitmaps ******************************************************************
168Bitmap BMP_HOR_LEFT_LOWER
169{
170	File = "envhl_l.bmp" ;
171};
172Bitmap BMP_HOR_LEFT_UPPER
173{
174	File = "envhl_u.bmp" ;
175};
176Bitmap BMP_HOR_CNTR_LOWER
177{
178	File = "envhc_l.bmp" ;
179};
180Bitmap BMP_HOR_CNTR_UPPER
181{
182	File = "envhc_u.bmp" ;
183};
184Bitmap BMP_HOR_RGHT_LOWER
185{
186	File = "envhr_l.bmp" ;
187};
188Bitmap BMP_HOR_RGHT_UPPER
189{
190	File = "envhr_u.bmp" ;
191};
192Bitmap BMP_VER_LEFT_LOWER
193{
194	File = "envvl_l.bmp" ;
195};
196Bitmap BMP_VER_LEFT_UPPER
197{
198	File = "envvl_u.bmp" ;
199};
200Bitmap BMP_VER_CNTR_LOWER
201{
202	File = "envvc_l.bmp" ;
203};
204Bitmap BMP_VER_CNTR_UPPER
205{
206	File = "envvc_u.bmp" ;
207};
208Bitmap BMP_VER_RGHT_LOWER
209{
210	File = "envvr_l.bmp" ;
211};
212Bitmap BMP_VER_RGHT_UPPER
213{
214	File = "envvr_u.bmp" ;
215};
216// HighContrast Bitmaps
217Bitmap BMP_HOR_LEFT_LOWER_H
218{
219	File = "envhl_l_h.bmp" ;
220};
221Bitmap BMP_HOR_LEFT_UPPER_H
222{
223	File = "envhl_u_h.bmp" ;
224};
225Bitmap BMP_HOR_CNTR_LOWER_H
226{
227	File = "envhc_l_h.bmp" ;
228};
229Bitmap BMP_HOR_CNTR_UPPER_H
230{
231	File = "envhc_u_h.bmp" ;
232};
233Bitmap BMP_HOR_RGHT_LOWER_H
234{
235	File = "envhr_l_h.bmp" ;
236};
237Bitmap BMP_HOR_RGHT_UPPER_H
238{
239	File = "envhr_u_h.bmp" ;
240};
241Bitmap BMP_VER_LEFT_LOWER_H
242{
243	File = "envvl_l_h.bmp" ;
244};
245Bitmap BMP_VER_LEFT_UPPER_H
246{
247	File = "envvl_u_h.bmp" ;
248};
249Bitmap BMP_VER_CNTR_LOWER_H
250{
251	File = "envvc_l_h.bmp" ;
252};
253Bitmap BMP_VER_CNTR_UPPER_H
254{
255	File = "envvc_u_h.bmp" ;
256};
257Bitmap BMP_VER_RGHT_LOWER_H
258{
259	File = "envvr_l_h.bmp" ;
260};
261Bitmap BMP_VER_RGHT_UPPER_H
262{
263	File = "envvr_u_h.bmp" ;
264};
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294