Lines Matching refs:mpPrinter
152 boost::shared_ptr<Printer> mpPrinter; member in vcl::ImplPrinterControllerData
209 mpImplData->mpPrinter = i_pPrinter; in PrinterController()
559 mpPrinter = pSVData->mpDefInst->CreatePrinter( mpInfoPrinter ); in StartJob()
561 if ( !mpPrinter ) in StartJob()
600 if( mpPrinter->StartJob( pPrintFile, in StartJob()
610 mnError = ImplSalPrinterErrorCodeToVCL( mpPrinter->GetErrorCode() ); in StartJob()
613 pSVData->mpDefInst->DestroyPrinter( mpPrinter ); in StartJob()
617 mpPrinter = NULL; in StartJob()
649 if( mpPrinter->StartJob( pPrintFile, in StartJob()
693 mpPrinter = pSVData->mpDefInst->CreatePrinter( mpInfoPrinter ); in StartJob()
695 if ( mpPrinter ) in StartJob()
711 mnError = ImplSalPrinterErrorCodeToVCL( mpPrinter->GetErrorCode() ); in StartJob()
717 if( mpPrinter ) in StartJob()
718 pSVData->mpDefInst->DestroyPrinter( mpPrinter ); in StartJob()
722 mpPrinter = NULL; in StartJob()
762 return mpImplData->mpPrinter; in getPrinter()
767 mpImplData->mpPrinter = i_rPrinter; in setPrinter()
770 mpImplData->mnDefaultPaperBin = mpImplData->mpPrinter->GetPaperBin(); in setPrinter()
778 mpImplData->mpPrinter->SetPrinterOptions( aOpt ); in resetPrinterOptions()
784 if( mpImplData->mpPrinter.get() ) in setupPrinter()
787 Size aPaperSize( mpImplData->mpPrinter->PixelToLogic( in setupPrinter()
788 mpImplData->mpPrinter->GetPaperSizePixel(), MapMode( MAP_100TH_MM ) ) ); in setupPrinter()
789 sal_uInt16 nPaperBin = mpImplData->mpPrinter->GetPaperBin(); in setupPrinter()
792 bRet = mpImplData->mpPrinter->Setup( i_pParent ); in setupPrinter()
796 Size aNewPaperSize( mpImplData->mpPrinter->PixelToLogic( in setupPrinter()
797 mpImplData->mpPrinter->GetPaperSizePixel(), MapMode( MAP_100TH_MM ) ) ); in setupPrinter()
798 sal_uInt16 nNewPaperBin = mpImplData->mpPrinter->GetPaperBin(); in setupPrinter()
818 aPageSize.aSize = mpPrinter->GetPaperSize(); in modifyJobSetup()
841 if( nBin >= 0 && nBin < mpPrinter->GetPaperBinCount() ) in modifyJobSetup()
846 Size aCurSize( mpPrinter->GetPaperSize() ); in modifyJobSetup()
862 mpPrinter->SetPaperSizeUser( aRealPaperSize, ! isFixedPageSize() ); in modifyJobSetup()
865 if( nPaperBin != -1 && nPaperBin != mpPrinter->GetPaperBin() ) in modifyJobSetup()
866 mpPrinter->SetPaperBin( nPaperBin ); in modifyJobSetup()
875 mpImplData->mpPrinter->Push(); in getPageCountProtected()
876 mpImplData->mpPrinter->SetMapMode( aMapMode ); in getPageCountProtected()
878 mpImplData->mpPrinter->Pop(); in getPageCountProtected()
886 mpImplData->mpPrinter->Push(); in getPageParametersProtected()
887 mpImplData->mpPrinter->SetMapMode( aMapMode ); in getPageParametersProtected()
889 mpImplData->mpPrinter->Pop(); in getPageParametersProtected()
922 mpImplData->mpPrinter->Push(); in getPageFile()
923 mpImplData->mpPrinter->SetMapMode( aMapMode ); in getPageFile()
931 mpImplData->mpPrinter->EnableOutput( sal_False ); in getPageFile()
933 o_rMtf.Record( mpImplData->mpPrinter.get() ); in getPageFile()
939 mpImplData->mpPrinter->Pop(); in getPageFile()
1009 mpImplData->mpPrinter->SetMapMode( MapMode( MAP_100TH_MM ) ); in getFilteredPageFile()
1010 mpImplData->mpPrinter->SetPaperSizeUser( aPaperSize, ! mpImplData->isFixedPageSize() ); in getFilteredPageFile()
1017 …o_rMtf.Move( nDX, nDY, mpImplData->mpPrinter->ImplGetDPIX(), mpImplData->mpPrinter->ImplGetDPIY() … in getFilteredPageFile()
1100 …aPageFile.Move( nX, nY, mpImplData->mpPrinter->ImplGetDPIX(), mpImplData->mpPrinter->ImplGetDPIY()… in getFilteredPageFile()
1115 mpImplData->mpPrinter->SetMapMode( MapMode( MAP_100TH_MM ) ); in getFilteredPageFile()
1116 mpImplData->mpPrinter->SetPaperSizeUser( aPaperSize, ! mpImplData->isFixedPageSize() ); in getFilteredPageFile()
1131 sal_uLong nRestoreDrawMode = mpImplData->mpPrinter->GetDrawMode(); in removeTransparencies()
1132 sal_Int32 nMaxBmpDPIX = mpImplData->mpPrinter->ImplGetDPIX(); in removeTransparencies()
1133 sal_Int32 nMaxBmpDPIY = mpImplData->mpPrinter->ImplGetDPIY(); in removeTransparencies()
1135 const PrinterOptions& rPrinterOptions = mpImplData->mpPrinter->GetPrinterOptions(); in removeTransparencies()
1164 mpImplData->mpPrinter->SetDrawMode( mpImplData->mpPrinter->GetDrawMode() | in removeTransparencies()
1172 …mpImplData->mpPrinter->SetDrawMode( mpImplData->mpPrinter->GetDrawMode() | DRAWMODE_NOTRANSPARENCY… in removeTransparencies()
1183 … mpImplData->mpPrinter->RemoveTransparenciesFromMetaFile( i_rIn, o_rOut, nMaxBmpDPIX, nMaxBmpDPIY, in removeTransparencies()
1211 mpImplData->mpPrinter->SetMapMode( MAP_100TH_MM ); in printFilteredPage()
1213 mpImplData->mpPrinter->SetPaperSizeUser( aPageSize.aSize, ! mpImplData->isFixedPageSize() ); in printFilteredPage()
1215 mpImplData->mpPrinter->GetPaperBin() != mpImplData->mnFixedPaperBin ) in printFilteredPage()
1217 mpImplData->mpPrinter->SetPaperBin( mpImplData->mnFixedPaperBin ); in printFilteredPage()
1223 Point aPageOffset( mpImplData->mpPrinter->GetPageOffset() ); in printFilteredPage()
1225 …ove( -aPageOffset.X(), -aPageOffset.Y(), mpImplData->mpPrinter->ImplGetDPIX(), mpImplData->mpPrint… in printFilteredPage()
1231 mpImplData->mpPrinter->EnableOutput( sal_True ); in printFilteredPage()
1234 mpImplData->mpPrinter->ImplStartPage(); in printFilteredPage()
1236 mpImplData->mpPrinter->Push(); in printFilteredPage()
1238 aCleanedFile.Play( mpImplData->mpPrinter.get() ); in printFilteredPage()
1239 mpImplData->mpPrinter->Pop(); in printFilteredPage()
1241 mpImplData->mpPrinter->ImplEndPage(); in printFilteredPage()
1243 mpImplData->mpPrinter->SetDrawMode( nRestoreDrawMode ); in printFilteredPage()
1650 mpImplData->mpPrinter->SetCopyCount( static_cast<sal_uInt16>(nCopyCount), bCollate ); in pushPropertiesToPrinter()
1660 case view::DuplexMode::OFF: mpImplData->mpPrinter->SetDuplexMode( DUPLEX_OFF ); break; in pushPropertiesToPrinter()
1661 … case view::DuplexMode::LONGEDGE: mpImplData->mpPrinter->SetDuplexMode( DUPLEX_LONGEDGE ); break; in pushPropertiesToPrinter()
1662 …case view::DuplexMode::SHORTEDGE: mpImplData->mpPrinter->SetDuplexMode( DUPLEX_SHORTEDGE ); break;… in pushPropertiesToPrinter()