Lines Matching refs:pCurrentOptions
225 void SfxCommonPrintOptionsTabPage::ImplUpdateControls( const PrinterOptions* pCurrentOptions ) in ImplUpdateControls() argument
227 aReduceTransparencyCB.Check( pCurrentOptions->IsReduceTransparency() ); in ImplUpdateControls()
229 if( pCurrentOptions->GetReducedTransparencyMode() == PRINTER_TRANSPARENCY_AUTO ) in ImplUpdateControls()
234 aReduceGradientsCB.Check( pCurrentOptions->IsReduceGradients() ); in ImplUpdateControls()
236 if( pCurrentOptions->GetReducedGradientMode() == PRINTER_GRADIENT_STRIPES ) in ImplUpdateControls()
241 aReduceGradientsStepCountNF.SetValue( pCurrentOptions->GetReducedGradientStepCount() ); in ImplUpdateControls()
243 aReduceBitmapsCB.Check( pCurrentOptions->IsReduceBitmaps() ); in ImplUpdateControls()
245 if( pCurrentOptions->GetReducedBitmapMode() == PRINTER_BITMAP_OPTIMAL ) in ImplUpdateControls()
247 else if( pCurrentOptions->GetReducedBitmapMode() == PRINTER_BITMAP_NORMAL ) in ImplUpdateControls()
252 const sal_uInt16 nDPI = pCurrentOptions->GetReducedBitmapResolution(); in ImplUpdateControls()
270 aReduceBitmapsTransparencyCB.Check( pCurrentOptions->IsReducedBitmapIncludesTransparency() ); in ImplUpdateControls()
271 aConvertToGreyscalesCB.Check( pCurrentOptions->IsConvertToGreyscales() ); in ImplUpdateControls()
380 void SfxCommonPrintOptionsTabPage::ImplSaveControls( PrinterOptions* pCurrentOptions ) in ImplSaveControls() argument
382 pCurrentOptions->SetReduceTransparency( aReduceTransparencyCB.IsChecked() ); in ImplSaveControls()
383 …pCurrentOptions->SetReducedTransparencyMode( aReduceTransparencyAutoRB.IsChecked() ? PRINTER_TRANS… in ImplSaveControls()
384 pCurrentOptions->SetReduceGradients( aReduceGradientsCB.IsChecked() ); in ImplSaveControls()
385 …pCurrentOptions->SetReducedGradientMode( aReduceGradientsStripesRB.IsChecked() ? PRINTER_GRADIENT_… in ImplSaveControls()
386 …pCurrentOptions->SetReducedGradientStepCount( (sal_uInt16) aReduceGradientsStepCountNF.GetValue() … in ImplSaveControls()
387 pCurrentOptions->SetReduceBitmaps( aReduceBitmapsCB.IsChecked() ); in ImplSaveControls()
388 …pCurrentOptions->SetReducedBitmapMode( aReduceBitmapsOptimalRB.IsChecked() ? PRINTER_BITMAP_OPTIMA… in ImplSaveControls()
390 …pCurrentOptions->SetReducedBitmapResolution( aDPIArray[ Min( (sal_uInt16) aReduceBitmapsResolution… in ImplSaveControls()
392 … pCurrentOptions->SetReducedBitmapIncludesTransparency( aReduceBitmapsTransparencyCB.IsChecked() ); in ImplSaveControls()
393 pCurrentOptions->SetConvertToGreyscales( aConvertToGreyscalesCB.IsChecked() ); in ImplSaveControls()