/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include #include #include "printopt.hrc" #include "dialog.hrc" #include "helpid.hrc" //**************************************************************************** // TabPage //**************************************************************************** TabPage TP_COMMONPRINTOPTIONS { HelpID = HID_TP_COMMONPRINTOPTIONS; SVLook = TRUE ; Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine GB_REDUCE { Pos = MAP_APPFONT ( 6, 3 ) ; Size = MAP_APPFONT ( 248 , 8 ) ; Text [ en-US ] = "Reduce print data"; }; FixedText FT_OUTPUTTYPE { TabStop = TRUE; Pos = MAP_APPFONT ( 12, 14 ) ; Size = MAP_APPFONT ( 60, 10 ) ; Text [ en-US ] = "Settings for"; }; RadioButton RB_PRINTEROUTPUT { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_PRINTEROUTPUT"; TabStop = TRUE; Pos = MAP_APPFONT ( 81, 14 ) ; Size = MAP_APPFONT ( 60, 10 ) ; Text [ en-US ] = "~Printer"; }; RadioButton RB_PRINTFILEOUTPUT { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_PRINTFILEOUTPUT"; TabStop = TRUE; Pos = MAP_APPFONT ( 142, 14 ) ; Size = MAP_APPFONT ( 100, 10 ) ; Text [ en-US ] = "Print to ~file"; }; // ----------- FixedLine GB_OUTPUT { Pos = MAP_APPFONT ( 12, 27 ) ; Size = MAP_APPFONT ( 242 , 8 ) ; }; CheckBox CB_REDUCETRANSPARENCY { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCETRANSPARENCY"; TabStop = TRUE; Pos = MAP_APPFONT ( 18, 38 ) ; Size = MAP_APPFONT ( 115, 10 ) ; Text [ en-US ] = "~Reduce transparency"; }; RadioButton RB_REDUCETRANSPARENCY_AUTO { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCETRANSPARENCY_AUTO"; TabStop = TRUE; Pos = MAP_APPFONT ( 28, 51 ) ; Size = MAP_APPFONT ( 105, 10 ) ; Text [ en-US ] = "Auto~matically"; }; RadioButton RB_REDUCETRANSPARENCY_NONE { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCETRANSPARENCY_NONE"; TabStop = TRUE; Pos = MAP_APPFONT ( 28, 64 ) ; Size = MAP_APPFONT ( 105, 10 ) ; Text [ en-US ] = "~No transparency"; }; // ----------- CheckBox CB_REDUCEGRADIENTS { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEGRADIENTS"; TabStop = TRUE; Pos = MAP_APPFONT ( 136, 38 ) ; Size = MAP_APPFONT ( 121, 10 ) ; Text [ en-US ] = "Reduce ~gradients"; }; RadioButton RB_REDUCEGRADIENTS_STRIPES { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEGRADIENTS_STRIPES"; TabStop = TRUE; Pos = MAP_APPFONT ( 146, 51 ) ; Size = MAP_APPFONT ( 77, 10 ) ; Text [ en-US ] = "Gradient ~stripes"; }; NumericField NF_REDUCEGRADIENTS_STEPCOUNT { HelpID = "sfx2:NumericField:TP_COMMONPRINTOPTIONS:NF_REDUCEGRADIENTS_STEPCOUNT"; TabStop = TRUE; Border = TRUE ; Pos = MAP_APPFONT ( 224, 49 ) ; Size = MAP_APPFONT ( 24, 12 ) ; Minimum = 2; Maximum = 256; Spin = TRUE ; Repeat = TRUE ; }; RadioButton RB_REDUCEGRADIENTS_COLOR { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEGRADIENTS_COLOR"; TabStop = TRUE; Pos = MAP_APPFONT ( 146, 64 ) ; Size = MAP_APPFONT ( 108, 10 ) ; Text [ en-US ] = "Intermediate ~color"; }; // ----------- CheckBox CB_REDUCEBITMAPS { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEBITMAPS"; TabStop = TRUE; Pos = MAP_APPFONT ( 18, 80 ) ; Size = MAP_APPFONT ( 115, 10 ) ; Text [ en-US ] = "Reduce ~bitmaps"; }; RadioButton RB_REDUCEBITMAPS_OPTIMAL { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_OPTIMAL"; TabStop = TRUE; Pos = MAP_APPFONT ( 28, 93 ) ; Size = MAP_APPFONT ( 226, 10 ) ; Text [ en-US ] = "~High print quality"; }; RadioButton RB_REDUCEBITMAPS_NORMAL { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_NORMAL"; TabStop = TRUE; Pos = MAP_APPFONT ( 28, 106 ) ; Size = MAP_APPFONT ( 226, 10 ) ; Text [ en-US ] = "N~ormal print quality"; }; RadioButton RB_REDUCEBITMAPS_RESOLUTION { HelpID = "sfx2:RadioButton:TP_COMMONPRINTOPTIONS:RB_REDUCEBITMAPS_RESOLUTION"; TabStop = TRUE; Pos = MAP_APPFONT ( 28, 119 ) ; Size = MAP_APPFONT ( 52, 10 ) ; Text [ en-US ] = "Reso~lution"; }; ListBox LB_REDUCEBITMAPS_RESOLUTION { HelpID = "sfx2:ListBox:TP_COMMONPRINTOPTIONS:LB_REDUCEBITMAPS_RESOLUTION"; TabStop = TRUE; Border = TRUE ; Pos = MAP_APPFONT ( 81, 117 ) ; Size = MAP_APPFONT ( 60, 100 ) ; DropDown = TRUE; StringList [ en-US ] = { < "72 DPI"; 0; > ; < "96 DPI"; 0; > ; < "150 DPI (Fax)"; 0; > ; < "200 DPI (default)"; 0; > ; < "300 DPI"; 0; > ; < "600 DPI"; 0; > ; }; }; CheckBox CB_REDUCEBITMAPS_TRANSPARENCY { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEBITMAPS_TRANSPARENCY"; TabStop = TRUE; Pos = MAP_APPFONT ( 28, 132 ) ; Size = MAP_APPFONT ( 226, 10 ) ; Text [ en-US ] = "Include transparent ob~jects"; }; // ----------- CheckBox CB_CONVERTTOGREYSCALES { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_CONVERTTOGREYSCALES"; TabStop = TRUE; Pos = MAP_APPFONT ( 136, 80 ) ; Size = MAP_APPFONT ( 123, 10 ) ; Text [ en-US ] = "Con~vert colors to grayscale"; }; // ----------- CheckBox CB_PDF { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_REDUCEBITMAPS"; TabStop = TRUE; Pos = MAP_APPFONT ( 18, 146 ) ; Size = MAP_APPFONT ( 115, 10 ) ; Text [ en-US ] = "PDF as Standard Print Job Format"; }; // ----------- FixedLine GB_PRINT_WARN { Pos = MAP_APPFONT ( 6, 162 ) ; Size = MAP_APPFONT ( 248 , 8 ) ; Text [ en-US ] = "Printer warnings" ; }; CheckBox CB_PAPERSIZE { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_PAPERSIZE"; TabStop = TRUE; Pos = MAP_APPFONT ( 12, 173 ) ; Size = MAP_APPFONT ( 123, 10 ) ; Text [ en-US ] = "P~aper size" ; }; CheckBox CB_PAPERORIENTATION { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_PAPERORIENTATION"; TabStop = TRUE; Pos = MAP_APPFONT ( 12, 186 ) ; Size = MAP_APPFONT ( 123 , 10 ) ; Text [ en-US ] = "Pap~er orientation" ; }; CheckBox CB_TRANSPARENCY { HelpID = "sfx2:CheckBox:TP_COMMONPRINTOPTIONS:CB_TRANSPARENCY"; TabStop = TRUE; Pos = MAP_APPFONT ( 136, 173 ) ; Size = MAP_APPFONT ( 123, 10 ) ; Text [ en-US ] = "~Transparency"; }; };