xref: /aoo4110/main/sfx2/source/dialog/printopt.src (revision b1cdbd2c)
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
24// include ---------------------------------------------------------------
25
26#include <sfx2/sfx.hrc>
27#include "printopt.hrc"
28#include "dialog.hrc"
29#include "helpid.hrc"
30
31//****************************************************************************
32//
33// TabPage
34//
35//****************************************************************************
36
37TabPage TP_COMMONPRINTOPTIONS
38{
39	HelpID = HID_TP_COMMONPRINTOPTIONS;
40	SVLook = TRUE ;
41	Size = MAP_APPFONT ( 260 , 185 ) ;
42	Hide = TRUE ;
43
44    FixedLine GB_REDUCE
45	{
46        Pos = MAP_APPFONT ( 6, 3 ) ;
47        Size = MAP_APPFONT ( 248 , 8 ) ;
48		Text [ en-US ] = "Reduce print data";
49	};
50	FixedText FT_OUTPUTTYPE
51	{
52		TabStop = TRUE;
53        Pos = MAP_APPFONT ( 12, 14 ) ;
54		Size = MAP_APPFONT ( 60, 10 ) ;
55		Text [ en-US ] = "Settings for";
56	};
57	RadioButton RB_PRINTEROUTPUT
58	{
59	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_PRINTEROUTPUT";
60		TabStop = TRUE;
61        Pos = MAP_APPFONT ( 81, 14 ) ;
62		Size = MAP_APPFONT ( 60, 10 ) ;
63		Text [ en-US ] = "~Printer";
64	};
65	RadioButton RB_PRINTFILEOUTPUT
66	{
67	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_PRINTFILEOUTPUT";
68		TabStop = TRUE;
69        Pos = MAP_APPFONT ( 142, 14 ) ;
70		Size = MAP_APPFONT ( 100, 10 ) ;
71		Text [ en-US ] = "Print to ~file";
72	};
73
74	// -----------
75
76    FixedLine GB_OUTPUT
77	{
78        Pos = MAP_APPFONT ( 12, 27 ) ;
79        Size = MAP_APPFONT ( 242 , 8 ) ;
80	};
81
82	CheckBox CB_REDUCETRANSPARENCY
83	{
84	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCETRANSPARENCY";
85		TabStop = TRUE;
86        Pos = MAP_APPFONT ( 18, 38 ) ;
87		Size = MAP_APPFONT ( 115, 10 ) ;
88		Text [ en-US ] = "~Reduce transparency";
89	};
90	RadioButton RB_REDUCETRANSPARENCY_AUTO
91	{
92	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCETRANSPARENCY_AUTO";
93		TabStop = TRUE;
94        Pos = MAP_APPFONT ( 28, 51 ) ;
95        Size = MAP_APPFONT ( 105, 10 ) ;
96		Text [ en-US ] = "Auto~matically";
97	};
98	RadioButton RB_REDUCETRANSPARENCY_NONE
99	{
100	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCETRANSPARENCY_NONE";
101		TabStop = TRUE;
102        Pos = MAP_APPFONT ( 28, 64 ) ;
103        Size = MAP_APPFONT ( 105, 10 ) ;
104		Text [ en-US ] = "~No transparency";
105	};
106
107	// -----------
108
109	CheckBox CB_REDUCEGRADIENTS
110	{
111	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEGRADIENTS";
112		TabStop = TRUE;
113        Pos = MAP_APPFONT ( 136, 38 ) ;
114		Size = MAP_APPFONT ( 121, 10 ) ;
115		Text [ en-US ] = "Reduce ~gradients";
116	};
117	RadioButton RB_REDUCEGRADIENTS_STRIPES
118	{
119	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEGRADIENTS_STRIPES";
120		TabStop = TRUE;
121        Pos = MAP_APPFONT ( 146, 51 ) ;
122        Size = MAP_APPFONT ( 77, 10 ) ;
123		Text [ en-US ] = "Gradient ~stripes";
124	};
125	NumericField NF_REDUCEGRADIENTS_STEPCOUNT
126	{
127	    HelpID = "sfx2:NumericField:TP_COMMONPRINTOPTIONS:NF_REDUCEGRADIENTS_STEPCOUNT";
128		TabStop = TRUE;
129		Border = TRUE ;
130        Pos = MAP_APPFONT ( 224, 49 ) ;
131		Size = MAP_APPFONT ( 24, 12 ) ;
132		Minimum = 2;
133		Maximum = 256;
134		Spin = TRUE ;
135		Repeat = TRUE ;
136	};
137	RadioButton RB_REDUCEGRADIENTS_COLOR
138	{
139	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEGRADIENTS_COLOR";
140		TabStop = TRUE;
141        Pos = MAP_APPFONT ( 146, 64 ) ;
142        Size = MAP_APPFONT ( 108, 10 ) ;
143		Text [ en-US ] = "Intermediate ~color";
144	};
145
146	// -----------
147
148	CheckBox CB_REDUCEBITMAPS
149	{
150	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEBITMAPS";
151		TabStop = TRUE;
152        Pos = MAP_APPFONT ( 18, 80 ) ;
153		Size = MAP_APPFONT ( 115, 10 ) ;
154		Text [ en-US ] = "Reduce ~bitmaps";
155	};
156	RadioButton RB_REDUCEBITMAPS_OPTIMAL
157	{
158	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_OPTIMAL";
159		TabStop = TRUE;
160        Pos = MAP_APPFONT ( 28, 93 ) ;
161        Size = MAP_APPFONT ( 226, 10 ) ;
162		Text [ en-US ] = "~High print quality";
163	};
164	RadioButton RB_REDUCEBITMAPS_NORMAL
165	{
166	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_NORMAL";
167		TabStop = TRUE;
168        Pos = MAP_APPFONT ( 28, 106 ) ;
169        Size = MAP_APPFONT ( 226, 10 ) ;
170		Text [ en-US ] = "N~ormal print quality";
171	};
172	RadioButton RB_REDUCEBITMAPS_RESOLUTION
173	{
174	    HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_RESOLUTION";
175		TabStop = TRUE;
176        Pos = MAP_APPFONT ( 28, 119 ) ;
177        Size = MAP_APPFONT ( 52, 10 ) ;
178		Text [ en-US ] = "Reso~lution";
179	};
180	ListBox LB_REDUCEBITMAPS_RESOLUTION
181	{
182	    HelpID = "sfx2:ListBox:TP_COMMONPRINTOPTIONS:LB_REDUCEBITMAPS_RESOLUTION";
183		TabStop = TRUE;
184		Border = TRUE ;
185        Pos = MAP_APPFONT ( 81, 117 ) ;
186        Size = MAP_APPFONT ( 60, 100 ) ;
187		DropDown = TRUE;
188
189	StringList [ en-US ] =
190	{
191			< "72 DPI"; 0; > ;
192		< "96 DPI"; 0;  > ;
193		< "150 DPI (Fax)"; 0; > ;
194		< "200 DPI (default)"; 0; > ;
195		< "300 DPI"; 0; > ;
196		< "600 DPI"; 0; > ;
197	};
198	};
199	CheckBox CB_REDUCEBITMAPS_TRANSPARENCY
200	{
201	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEBITMAPS_TRANSPARENCY";
202		TabStop = TRUE;
203        Pos = MAP_APPFONT ( 28, 132 ) ;
204        Size = MAP_APPFONT ( 226, 10 ) ;
205		Text [ en-US ] = "Include transparent ob~jects";
206	};
207
208	// -----------
209
210	CheckBox CB_CONVERTTOGREYSCALES
211	{
212	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_CONVERTTOGREYSCALES";
213		TabStop = TRUE;
214        Pos = MAP_APPFONT ( 136, 80 ) ;
215		Size = MAP_APPFONT ( 123, 10 ) ;
216		Text [ en-US ] = "Con~vert colors to grayscale";
217	};
218
219	// -----------
220
221    FixedLine GB_PRINT_WARN
222	{
223        Pos = MAP_APPFONT ( 6, 148 ) ;
224        Size = MAP_APPFONT ( 248 , 8 ) ;
225		Text [ en-US ] = "Printer warnings" ;
226	};
227	CheckBox CB_PAPERSIZE
228	{
229	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_PAPERSIZE";
230		TabStop = TRUE;
231        Pos = MAP_APPFONT ( 12, 159 ) ;
232		Size = MAP_APPFONT ( 123, 10 ) ;
233		Text [ en-US ] = "P~aper size" ;
234	};
235	CheckBox CB_PAPERORIENTATION
236	{
237	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_PAPERORIENTATION";
238		TabStop = TRUE;
239        Pos = MAP_APPFONT ( 12, 172 ) ;
240		Size = MAP_APPFONT ( 123 , 10 ) ;
241		Text [ en-US ] = "Pap~er orientation" ;
242	};
243	CheckBox CB_TRANSPARENCY
244	{
245	    HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_TRANSPARENCY";
246		TabStop = TRUE;
247        Pos = MAP_APPFONT ( 136, 159 ) ;
248		Size = MAP_APPFONT ( 123, 10 ) ;
249		Text [ en-US ] = "~Transparency";
250	};
251};
252
253// --------------
254// - WarningBox -
255// --------------
256
257ModalDialog RID_WARN_PRINTTRANSPARENCY
258{
259    HelpID = "sfx2:ModalDialog:RID_WARN_PRINTTRANSPARENCY";
260	OutputSize = TRUE ;
261	Size = MAP_APPFONT ( 195 , 85 ) ;
262	Text [ en-US ] = "Warning" ;
263	Moveable = TRUE ;
264	FixedImage FI_PRINTTRANSWARN
265	{
266		Pos = MAP_APPFONT ( 6 , 6 ) ;
267		Size = MAP_APPFONT ( 20 , 20 ) ;
268	};
269	FixedText FT_PRINTTRANSWARN
270	{
271		Pos = MAP_APPFONT ( 29 , 6 ) ;
272		Size = MAP_APPFONT ( 163 , 36 ) ;
273		WordBreak = TRUE ;
274		Text [ en-US ] = "Your document contains transparent objects.\nThis may lead to longer printing time on certain\nprinters. Should the aspect of transparency\nbe reduced?";
275	};
276	OKButton BTN_PRINTTRANS_YES
277	{
278		Pos = MAP_APPFONT ( 12 , 48 ) ;
279		Size = MAP_APPFONT ( 50 , 14 ) ;
280		DefButton = TRUE;
281		Text [ en-US ] = "~Yes" ;
282	};
283	PushButton BTN_PRINTTRANS_NO
284	{
285	    HelpID = "sfx2:PushButton:RID_WARN_PRINTTRANSPARENCY:BTN_PRINTTRANS_NO";
286		Pos = MAP_APPFONT ( 68 , 48 ) ;
287		Size = MAP_APPFONT ( 50 , 14 ) ;
288		Text [ en-US ] = "~No" ;
289	};
290	CancelButton BTN_PRINTTRANS_CANCEL
291	{
292		Pos = MAP_APPFONT ( 124 , 48 ) ;
293		Size = MAP_APPFONT ( 50 , 14 ) ;
294		Text [ en-US ] = "~Cancel" ;
295	};
296	CheckBox CBX_NOPRINTTRANSWARN
297	{
298	    HelpID = "sfx2:CheckBox:RID_WARN_PRINTTRANSPARENCY:CBX_NOPRINTTRANSWARN";
299		Pos = MAP_APPFONT ( 6 , 68 ) ;
300		Size = MAP_APPFONT ( 183 , 10 ) ;
301		Text [ en-US ] = "~Do not show warning again" ;
302	};
303};
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
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
372
373
374