/************************************************************** * * 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 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ // include --------------------------------------------------------------- #include #include "printopt.hrc" #include "dialog.hrc" #include "helpid.hrc" //**************************************************************************** // TabPage //**************************************************************************** TabPage TP_COMMONPRINTOPTIONS { HelpID = HID_TP_COMMONPRINTOPTIONS ; SVLook = TRUE ; Size = MAP_APPFONT ( 260, 185 ) ; 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" ; }; // ----------- FixedLine GB_PRINT_WARN { Pos = MAP_APPFONT ( 6, 148 ) ; 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, 159 ) ; 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, 172 ) ; 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, 159 ) ; Size = MAP_APPFONT ( 123, 10 ) ; Text [ en-US ] = "~Transparency" ; }; }; // -------------- // - WarningBox - // -------------- ModalDialog RID_WARN_PRINTTRANSPARENCY { HelpID = "sfx2:ModalDialog:RID_WARN_PRINTTRANSPARENCY" ; OutputSize = TRUE ; Size = MAP_APPFONT ( 195, 85 ) ; Text [ en-US ] = "Warning" ; Moveable = TRUE ; FixedImage FI_PRINTTRANSWARN { Pos = MAP_APPFONT ( 6, 6 ) ; Size = MAP_APPFONT ( 20, 20 ) ; }; FixedText FT_PRINTTRANSWARN { Pos = MAP_APPFONT ( 29, 6 ) ; Size = MAP_APPFONT ( 163, 36 ) ; WordBreak = TRUE ; 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?" ; }; OKButton BTN_PRINTTRANS_YES { Pos = MAP_APPFONT ( 12, 48 ) ; Size = MAP_APPFONT ( 50, 14 ) ; DefButton = TRUE ; Text [ en-US ] = "~Yes" ; }; PushButton BTN_PRINTTRANS_NO { HelpID = "sfx2:PushButton:RID_WARN_PRINTTRANSPARENCY:BTN_PRINTTRANS_NO" ; Pos = MAP_APPFONT ( 68, 48 ) ; Size = MAP_APPFONT ( 50, 14 ) ; Text [ en-US ] = "~No" ; }; CancelButton BTN_PRINTTRANS_CANCEL { Pos = MAP_APPFONT ( 124, 48 ) ; Size = MAP_APPFONT ( 50, 14 ) ; Text [ en-US ] = "~Cancel" ; }; CheckBox CBX_NOPRINTTRANSWARN { HelpID = "sfx2:CheckBox:RID_WARN_PRINTTRANSPARENCY:CBX_NOPRINTTRANSWARN" ; Pos = MAP_APPFONT ( 6, 68 ) ; Size = MAP_APPFONT ( 183, 10 ) ; Text [ en-US ] = "~Do not show warning again" ; }; }; // ******************************************************************* EOF