Lines Matching refs:pPrinter
251 SfxPrinter* pPrinter = pDocSh->GetPrinter( sal_False ); in _setPropertyValues() local
252 if( pPrinter ) in _setPropertyValues()
255 …if(pPrinter->GetOptions().GetItemState( ATTR_OPTIONS_PRINT, sal_False, (const SfxPoolItem**) &pPri… in _setPropertyValues()
696 if( pPrinter ) in _setPropertyValues()
698 pItemSet = pPrinter->GetOptions().Clone(); in _setPropertyValues()
709 pPrinter = SfxPrinter::Create ( aStream, pItemSet ); in _setPropertyValues()
711 MapMode aMM (pPrinter->GetMapMode()); in _setPropertyValues()
713 pPrinter->SetMapMode(aMM); in _setPropertyValues()
715 pDocSh->SetPrinter( pPrinter ); in _setPropertyValues()
717 pPrinter = NULL; in _setPropertyValues()
872 if( !pPrinter ) in _setPropertyValues()
873 pPrinter = pDocSh->GetPrinter( sal_True ); in _setPropertyValues()
874 SfxItemSet aNewOptions( pPrinter->GetOptions() ); in _setPropertyValues()
876 pPrinter->SetOptions( aNewOptions ); in _setPropertyValues()
894 SfxPrinter* pPrinter = pDocSh->GetPrinter( sal_False ); in _getPropertyValues() local
895 if( pPrinter ) in _getPropertyValues()
898 …if(pPrinter->GetOptions().GetItemState( ATTR_OPTIONS_PRINT, sal_False, (const SfxPoolItem**) &pPri… in _getPropertyValues()