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