1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 // include ---------------------------------------------------------------
30 #include <sfx2/sfx.hrc>
31 #include <sfx2/tabpage.hrc>
32 #include "printopt.hrc"
36 //****************************************************************************
38 //****************************************************************************
40 TabPage TP_COMMONPRINTOPTIONS
42 HelpID = HID_TP_COMMONPRINTOPTIONS;
44 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
49 Pos = MAP_APPFONT ( 6, 3 ) ;
50 Size = MAP_APPFONT ( 248 , 8 ) ;
51 Text [ en-US ] = "Reduce print data";
53 FixedText FT_OUTPUTTYPE
56 Pos = MAP_APPFONT ( 12, 14 ) ;
57 Size = MAP_APPFONT ( 60, 10 ) ;
58 Text [ en-US ] = "Settings for";
60 RadioButton RB_PRINTEROUTPUT
62 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_PRINTEROUTPUT";
64 Pos = MAP_APPFONT ( 81, 14 ) ;
65 Size = MAP_APPFONT ( 60, 10 ) ;
66 Text [ en-US ] = "~Printer";
68 RadioButton RB_PRINTFILEOUTPUT
70 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_PRINTFILEOUTPUT";
72 Pos = MAP_APPFONT ( 142, 14 ) ;
73 Size = MAP_APPFONT ( 100, 10 ) ;
74 Text [ en-US ] = "Print to ~file";
81 Pos = MAP_APPFONT ( 12, 27 ) ;
82 Size = MAP_APPFONT ( 242 , 8 ) ;
85 CheckBox CB_REDUCETRANSPARENCY
87 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCETRANSPARENCY";
89 Pos = MAP_APPFONT ( 18, 38 ) ;
90 Size = MAP_APPFONT ( 115, 10 ) ;
91 Text [ en-US ] = "~Reduce transparency";
93 RadioButton RB_REDUCETRANSPARENCY_AUTO
95 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCETRANSPARENCY_AUTO";
97 Pos = MAP_APPFONT ( 28, 51 ) ;
98 Size = MAP_APPFONT ( 105, 10 ) ;
99 Text [ en-US ] = "Auto~matically";
101 RadioButton RB_REDUCETRANSPARENCY_NONE
103 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCETRANSPARENCY_NONE";
105 Pos = MAP_APPFONT ( 28, 64 ) ;
106 Size = MAP_APPFONT ( 105, 10 ) ;
107 Text [ en-US ] = "~No transparency";
112 CheckBox CB_REDUCEGRADIENTS
114 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEGRADIENTS";
116 Pos = MAP_APPFONT ( 136, 38 ) ;
117 Size = MAP_APPFONT ( 121, 10 ) ;
118 Text [ en-US ] = "Reduce ~gradients";
120 RadioButton RB_REDUCEGRADIENTS_STRIPES
122 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEGRADIENTS_STRIPES";
124 Pos = MAP_APPFONT ( 146, 51 ) ;
125 Size = MAP_APPFONT ( 77, 10 ) ;
126 Text [ en-US ] = "Gradient ~stripes";
128 NumericField NF_REDUCEGRADIENTS_STEPCOUNT
130 HelpID = "sfx2:NumericField:TP_COMMONPRINTOPTIONS:NF_REDUCEGRADIENTS_STEPCOUNT";
133 Pos = MAP_APPFONT ( 224, 49 ) ;
134 Size = MAP_APPFONT ( 24, 12 ) ;
140 RadioButton RB_REDUCEGRADIENTS_COLOR
142 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEGRADIENTS_COLOR";
144 Pos = MAP_APPFONT ( 146, 64 ) ;
145 Size = MAP_APPFONT ( 108, 10 ) ;
146 Text [ en-US ] = "Intermediate ~color";
151 CheckBox CB_REDUCEBITMAPS
153 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEBITMAPS";
155 Pos = MAP_APPFONT ( 18, 80 ) ;
156 Size = MAP_APPFONT ( 115, 10 ) ;
157 Text [ en-US ] = "Reduce ~bitmaps";
159 RadioButton RB_REDUCEBITMAPS_OPTIMAL
161 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_OPTIMAL";
163 Pos = MAP_APPFONT ( 28, 93 ) ;
164 Size = MAP_APPFONT ( 226, 10 ) ;
165 Text [ en-US ] = "~High print quality";
167 RadioButton RB_REDUCEBITMAPS_NORMAL
169 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_NORMAL";
171 Pos = MAP_APPFONT ( 28, 106 ) ;
172 Size = MAP_APPFONT ( 226, 10 ) ;
173 Text [ en-US ] = "N~ormal print quality";
175 RadioButton RB_REDUCEBITMAPS_RESOLUTION
177 HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_RESOLUTION";
179 Pos = MAP_APPFONT ( 28, 119 ) ;
180 Size = MAP_APPFONT ( 52, 10 ) ;
181 Text [ en-US ] = "Reso~lution";
183 ListBox LB_REDUCEBITMAPS_RESOLUTION
185 HelpID = "sfx2:ListBox:TP_COMMONPRINTOPTIONS:LB_REDUCEBITMAPS_RESOLUTION";
188 Pos = MAP_APPFONT ( 81, 117 ) ;
189 Size = MAP_APPFONT ( 60, 100 ) ;
192 StringList [ en-US ] =
196 < "150 DPI (Fax)"; 0; > ;
197 < "200 DPI (default)"; 0; > ;
202 CheckBox CB_REDUCEBITMAPS_TRANSPARENCY
204 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEBITMAPS_TRANSPARENCY";
206 Pos = MAP_APPFONT ( 28, 132 ) ;
207 Size = MAP_APPFONT ( 226, 10 ) ;
208 Text [ en-US ] = "Include transparent ob~jects";
213 CheckBox CB_CONVERTTOGREYSCALES
215 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_CONVERTTOGREYSCALES";
217 Pos = MAP_APPFONT ( 136, 80 ) ;
218 Size = MAP_APPFONT ( 123, 10 ) ;
219 Text [ en-US ] = "Con~vert colors to grayscale";
224 FixedLine GB_PRINT_WARN
226 Pos = MAP_APPFONT ( 6, 148 ) ;
227 Size = MAP_APPFONT ( 248 , 8 ) ;
228 Text [ en-US ] = "Printer warnings" ;
230 CheckBox CB_PAPERSIZE
232 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_PAPERSIZE";
234 Pos = MAP_APPFONT ( 12, 159 ) ;
235 Size = MAP_APPFONT ( 123, 10 ) ;
236 Text [ en-US ] = "P~aper size" ;
238 CheckBox CB_PAPERORIENTATION
240 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_PAPERORIENTATION";
242 Pos = MAP_APPFONT ( 12, 172 ) ;
243 Size = MAP_APPFONT ( 123 , 10 ) ;
244 Text [ en-US ] = "Pap~er orientation" ;
246 CheckBox CB_TRANSPARENCY
248 HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_TRANSPARENCY";
250 Pos = MAP_APPFONT ( 136, 159 ) ;
251 Size = MAP_APPFONT ( 123, 10 ) ;
252 Text [ en-US ] = "~Transparency";