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