Lines Matching refs:pPrinter
214 boost::shared_ptr<Printer> pPrinter( getPrinter() ); in getMergedOptions() local
215 if( pPrinter.get() != mpLastPrinter ) in getMergedOptions()
217 mpLastPrinter = pPrinter.get(); in getMergedOptions()
234 boost::shared_ptr<Printer> pPrinter( getPrinter() ); in getPageCount() local
235 if( mxRenderable.is() && pPrinter ) in getPageCount()
245 boost::shared_ptr<Printer> pPrinter( getPrinter() ); in getPageParameters() local
248 if( mxRenderable.is() && pPrinter ) in getPageParameters()
264 boost::shared_ptr<Printer> pPrinter( getPrinter() ); in printPage() local
265 if( mxRenderable.is() && pPrinter ) in printPage()
677 SfxPrinter* pPrinter = 0; in ExecPrint_Impl() local
789 …pPrinter = new SfxPrinter( pDocPrinter->GetOptions().Clone(), ((const SfxStringItem*) pPrinterItem… in ExecPrint_Impl()
792 if ( !pPrinter->IsOriginal() ) in ExecPrint_Impl()
793 DELETEZ(pPrinter); in ExecPrint_Impl()
799 if ( pPrinter ) in ExecPrint_Impl()
800 SetPrinter( pPrinter, SFX_PRINTER_PRINTER ); in ExecPrint_Impl()
805 if ( !pPrinter ) in ExecPrint_Impl()
807 pPrinter = pDocPrinter; in ExecPrint_Impl()
809 if( !pPrinter || !pPrinter->IsValid() ) in ExecPrint_Impl()
821 … if ( !pPrinter->IsOriginal() && rReq.GetArgs() && !UseStandardPrinter_Impl( NULL, pPrinter ) ) in ExecPrint_Impl()
829 if( pPrinter->IsPrinting() ) in ExecPrint_Impl()
842 SfxPrinter* pDlgPrinter = pPrinter->Clone(); in ExecPrint_Impl()
867 pPrinter->SetOptions( *pExecutor->GetOptions() ); in ExecPrint_Impl()
868 SetPrinter( pPrinter, SFX_PRINTER_OPTIONS ); in ExecPrint_Impl()
879 if ( pPrinter->GetName() != pDlgPrinter->GetName() ) in ExecPrint_Impl()
888 pPrinter = SetPrinter_Impl( pDlgPrinter ); in ExecPrint_Impl()