Home
last modified time | relevance | path

Searched refs:pPrinter (Results 1 – 25 of 94) sorted by relevance

1234

/aoo42x/main/vcl/win/source/gdi/
H A Dsalprn.cxx1498 delete pPrinter; in CreateInfoPrinter()
1509 return pPrinter; in CreateInfoPrinter()
1516 delete pPrinter; in DestroyInfoPrinter()
1769 return pPrinter; in CreatePrinter()
1776 delete pPrinter; in DestroyPrinter()
1807 while ( pPrinter ) in SalPrintAbortProc()
1812 pPrinter = pPrinter->mpNextPrinter; in SalPrintAbortProc()
1815 if ( !pPrinter || pPrinter->mbAbort ) in SalPrintAbortProc()
2243 while ( pPrinter ) in ImplSalPrinterAbortJobAsync()
2248 pPrinter = pPrinter->mpNextPrinter; in ImplSalPrinterAbortJobAsync()
[all …]
/aoo42x/main/sfx2/source/doc/
H A Dprinthelper.cxx267 const Printer *pPrinter = NULL; in getPrinter() local
270 while ( pViewFrm && !pPrinter ) in getPrinter()
277 if ( !pPrinter && pFirst ) in getPrinter()
280 if ( !pPrinter ) in getPrinter()
330 pPrinter = pViewSh->GetPrinter(sal_True); in impl_setPrinter()
331 if ( !pPrinter ) in impl_setPrinter()
352 pPrinter = new SfxPrinter( pPrinter->GetOptions().Clone(), aPrinterName ); in impl_setPrinter()
446 pPrinter->SetPaperSizeUser( pPrinter->PixelToLogic( aSetPaperSize ) ); in impl_setPrinter()
464 SfxPrinter* pPrinter = NULL; in setPrinter() local
468 if ( pViewSh && pPrinter ) in setPrinter()
[all …]
H A Dobjcont.cxx778 pPrinter->SetFont(aFont); in Print()
779 const Size aPageSize(pPrinter->GetOutputSize()); in Print()
789 pPrinter->DrawText(aOutPos, aHeader); in Print()
799 pPrinter->SetFont(aFont); in Print()
800 nTextHeight = pPrinter->GetTextHeight(); in Print()
809 pPrinter->DrawText(aOutPos, aStr); in Print()
814 pPrinter->SetFont(aFont); in Print()
819 nTextHeight = pPrinter->GetTextHeight(); in Print()
847 aOutPos.X() + pPrinter->GetTextWidth( in Print()
862 pPrinter->DrawText(aOutPos, aTmp); in Print()
[all …]
/aoo42x/main/sfx2/source/view/
H A Dviewprn.cxx217 mpLastPrinter = pPrinter.get(); in getMergedOptions()
235 if( mxRenderable.is() && pPrinter ) in getPageCount()
248 if( mxRenderable.is() && pPrinter ) in getPageParameters()
792 if ( !pPrinter->IsOriginal() ) in ExecPrint_Impl()
793 DELETEZ(pPrinter); in ExecPrint_Impl()
799 if ( pPrinter ) 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()
[all …]
/aoo42x/main/padmin/source/
H A Dpadialog.cxx419 pPrinter->SetMapMode( aMapMode ); in printPage()
427 Size aPaperSize=pPrinter->GetOutputSize(); in printPage()
433 pPrinter->DrawRect( Rectangle( Point( 100,100 ), in printPage()
436 pPrinter->DrawRect( Rectangle( Point( 200,200 ), in printPage()
446 pPrinter->SetFont( aFont ); in printPage()
488 aPrintText.append( pPrinter->GetName() ); in printPage()
514 pPrinter->SetFillColor(); in printPage()
561 pPrinter->SetLineColor( aLineColor ); in printPage()
574 pPrinter->DrawLine( project( aP1 ) + aCenter, in printPage()
603 if( pPrinter->GetName() != sPrinter ) in PrintTestPage()
[all …]
/aoo42x/main/basctl/source/basicide/
H A Dbasicrenderable.cxx89 Printer* pPrinter = NULL; in getPrinter() local
97 pPrinter = dynamic_cast<Printer*>(pOut); in getPrinter()
99 return pPrinter; in getPrinter()
111 Printer* pPrinter = getPrinter(); in getRendererCount() local
112 if( pPrinter ) in getRendererCount()
114 nCount = mpWindow->countPages( pPrinter ); in getRendererCount()
140 Printer* pPrinter = getPrinter(); in getRenderer() local
142 if( pPrinter ) in getRenderer()
144 …Size aPageSize( pPrinter->PixelToLogic( pPrinter->GetPaperSizePixel(), MapMode( MAP_100TH_MM ) ) ); in getRenderer()
168 Printer* pPrinter = getPrinter(); in render() local
[all …]
H A Dbaside2.cxx110 Size aSz = pPrinter->GetOutputSize(); in lcl_PrintHeader()
118 pPrinter->SetFillColor(); in lcl_PrintHeader()
123 pPrinter->SetFont( aFont ); in lcl_PrintHeader()
134 pPrinter->DrawRect( Rectangle( in lcl_PrintHeader()
146 pPrinter->SetFont( aFont ); in lcl_PrintHeader()
163 pPrinter->SetFont( aOldFont ); in lcl_PrintHeader()
164 pPrinter->SetFillColor( aOldFillColor ); in lcl_PrintHeader()
165 pPrinter->SetLineColor( aOldLineColor ); in lcl_PrintHeader()
974 pPrinter->SetFont( aFont ); in FormatAndPrint()
1018 pPrinter->SetFont( aOldFont ); in FormatAndPrint()
[all …]
H A Dbasdoc.cxx60 pPrinter = 0; in BasicDocShell()
67 delete pPrinter; in ~BasicDocShell()
72 if ( !pPrinter && bCreate ) in GetPrinter()
73pPrinter = new SfxPrinter( new SfxItemSet( GetPool(), SID_PRINTER_NOTFOUND_WARN , SID_PRINTER_NOTF… in GetPrinter()
75 return pPrinter; in GetPrinter()
80 if ( pPr != pPrinter ) in SetPrinter()
82 delete pPrinter; in SetPrinter()
83 pPrinter = pPr; in SetPrinter()
/aoo42x/main/vcl/os2/source/gdi/
H A Dsalprn.cxx1072 Ft2DestroyPS( pPrinter->mhPS ); in ImplSalDestroyInfoPrn()
1073 DevCloseDC( pPrinter->mhDC ); in ImplSalDestroyInfoPrn()
1110 pPrinter->mhDC, in CreateInfoPrinter()
1111 pPrinter->mhPS ) ) in CreateInfoPrinter()
1113 delete pPrinter; in CreateInfoPrinter()
1131 pPrinter->mbDJPSupported = ImplIsDriverDJPEnabled( pPrinter->mhDC ); in CreateInfoPrinter()
1143 if ( pPrinter->mbDJPSupported ) in CreateInfoPrinter()
1147 return pPrinter; in CreateInfoPrinter()
1154 delete pPrinter; in DestroyInfoPrinter()
1612 return pPrinter; in CreatePrinter()
[all …]
/aoo42x/main/vcl/source/gdi/
H A Doldprintadaptor.cxx72 boost::shared_ptr<Printer> pPrinter( getPrinter() ); in StartPage() local
73 pPrinter->SetMapMode( pPrinter->GetMapMode() ); in StartPage()
74 pPrinter->SetFont( pPrinter->GetFont() ); in StartPage()
75 pPrinter->SetDrawMode( pPrinter->GetDrawMode() ); in StartPage()
76 pPrinter->SetLineColor( pPrinter->GetLineColor() ); in StartPage()
77 pPrinter->SetFillColor( pPrinter->GetFillColor() ); in StartPage()
H A Dprint.cxx890 mbDefPrinter = pPrinter->mbDefPrinter; in SetPrinterProps()
891 maPrintFile = pPrinter->maPrintFile; in SetPrinterProps()
892 mbPrintFile = pPrinter->mbPrintFile; in SetPrinterProps()
893 mnCopyCount = pPrinter->mnCopyCount; in SetPrinterProps()
894 mbCollateCopy = pPrinter->mbCollateCopy; in SetPrinterProps()
898 if ( pPrinter->IsDisplayPrinter() ) in SetPrinterProps()
937 if ( GetName() != pPrinter->GetName() ) in SetPrinterProps()
974 XubString aDriver = pPrinter->GetDriverName(); in SetPrinterProps()
979 SetJobSetup( pPrinter->GetJobSetup() ); in SetPrinterProps()
985 SetJobSetup( pPrinter->GetJobSetup() ); in SetPrinterProps()
[all …]
/aoo42x/main/sw/source/core/txtnode/
H A Dfntcache.cxx136 pPrinter( NULL ), in SwFntObj()
464 pPrinter = pPrt; in CreateScrFont()
630 if( pPrinter && ( !pPrtFont->IsSameInstance( pPrinter->GetFont() ) ) ) in SetDevFont()
975 if ( pPrinter ) in DrawText()
1022 if ( pPrinter ) in DrawText()
1118 if ( pPrinter ) in DrawText()
1488 if ( pPrinter ) in DrawText()
1913 if ( pPrinter ) in GetTextSize()
1930 if ( pPrinter ) in GetTextSize()
2008 if ( pPrinter && pPrinter != rInf.GetpOut() ) in GetTextSize()
[all …]
/aoo42x/main/basctl/source/dlged/
H A Ddlged.cxx1242 pPrinter->Push(); in lcl_PrintHeader()
1249 pPrinter->SetFillColor(); in lcl_PrintHeader()
1251 Font aFont( pPrinter->GetFont() ); in lcl_PrintHeader()
1254 pPrinter->SetFont( aFont ); in lcl_PrintHeader()
1264 pPrinter->DrawRect( Rectangle( in lcl_PrintHeader()
1276 pPrinter->Pop(); in lcl_PrintHeader()
1289 Print( pPrinter, rTitle ); in printPage()
1302 pPrinter->SetMapMode( aMap ); in Print()
1306 pPrinter->SetFont( aFont ); in Print()
1344 pPrinter->SetMapMode( aOldMap ); in Print()
[all …]
/aoo42x/main/sw/source/core/view/
H A Dviewpg.cxx98 Printer *pPrinter = dynamic_cast< Printer * >(pOutDev); in PrintProspect() local
99 if (!pPrinter || nMaxRenderer < 0 || nRenderer < 0 || nRenderer > nMaxRenderer) in PrintProspect()
104 pPrinter->Push(); in PrintProspect()
116 ViewShell aShell( *this, 0, pPrinter ); in PrintProspect()
125 Size aPrtSize( pPrinter->PixelToLogic( pPrinter->GetPaperSizePixel(), aMapMode ) ); in PrintProspect()
218 Size aTmpPrtSize( pPrinter->PixelToLogic( pPrinter->GetPaperSizePixel(), aMapMode ) ); in PrintProspect()
234 pPrinter->SetMapMode( aMapMode ); in PrintProspect()
250 pPrinter->Pop(); in PrintProspect()
/aoo42x/main/vcl/unx/generic/gdi/
H A Dsalprnpsp.cxx379 PspSalInfoPrinter* pPrinter = new PspSalInfoPrinter; in CreateInfoPrinter() local
385 pPrinter->m_aJobData = aInfo; in CreateInfoPrinter()
386 pPrinter->m_aPrinterGfx.Init( pPrinter->m_aJobData ); in CreateInfoPrinter()
410 return pPrinter; in CreateInfoPrinter()
417 delete pPrinter; in DestroyInfoPrinter()
429 return pPrinter; in CreatePrinter()
434 void X11SalInstance::DestroyPrinter( SalPrinter* pPrinter ) in DestroyPrinter() argument
436 delete pPrinter; in DestroyPrinter()
1206 aContext.DPIx = pPrinter->ImplGetDPIX(); in StartJob()
1207 aContext.DPIy = pPrinter->ImplGetDPIY(); in StartJob()
[all …]
/aoo42x/main/svx/source/dialog/
H A Dfntctrl.cxx112 Printer* pPrinter; member in FontPrevWin_Impl
146 pPrinter( NULL ), bDelPrinter( sal_False ), in FontPrevWin_Impl()
162 delete pPrinter; in ~FontPrevWin_Impl()
465 pImpl->pPrinter = pSh->GetPrinter(); in SvxFontPrevWindow()
467 if ( !pImpl->pPrinter ) in SvxFontPrevWindow()
469 pImpl->pPrinter = new Printer; in SvxFontPrevWindow()
648 Printer* pPrinter = pImpl->pPrinter; in Paint() local
699 Size aTxtSize = pImpl->CalcTextSize( this, pPrinter, rFont ); in Paint()
776 pImpl->DrawPrev( this, pPrinter, aTmpPoint1, aSmallFont ); in Paint()
784 rFont.DrawPrev( this, pPrinter, aTmpPoint, sBracket ); in Paint()
[all …]
/aoo42x/main/sw/source/ui/envelp/
H A Dlabprt.cxx59 pPrinter( 0 ), in SwLabPrtPage()
100 if (pPrinter) in ~SwLabPrtPage()
101 delete pPrinter; in ~SwLabPrtPage()
113 if (!pPrinter) in IMPL_LINK()
114 pPrinter = new Printer; in IMPL_LINK()
117 pDlg->SetPrinter(pPrinter); in IMPL_LINK()
121 aPrinterInfo.SetText(pPrinter->GetName()); in IMPL_LINK()
219 if (pPrinter) in Reset()
222 aPrinterInfo.SetText(pPrinter->GetName()); in Reset()
/aoo42x/main/starmath/source/
H A Ddocument.cxx539 pPrinter->Push( PUSH_MAPMODE ); in SmPrinterAccess()
558 pPrinter->SetMapMode( aMap ); in SmPrinterAccess()
591 if ( pPrinter ) in ~SmPrinterAccess()
592 pPrinter->Pop(); in ~SmPrinterAccess()
615 else if ( !pPrinter ) in GetPrt()
630 pPrinter = new SfxPrinter(pOptions); in GetPrt()
633 return pPrinter; in GetPrt()
655 delete pPrinter; in SetPrinter()
656 pPrinter = pNew; //Eigentumsuebergang! in SetPrinter()
701 pPrinter ( 0 ), in SmDocShell()
[all …]
H A Dunomodel.cxx665 SfxPrinter *pPrinter = pDocSh->GetPrinter ( ); in _setPropertyValues() local
666 if (pPrinter) in _setPropertyValues()
710 pDocSh->SetPrinter( pPrinter ); in _setPropertyValues()
889 SfxPrinter *pPrinter = pDocSh->GetPrinter ( ); in _getPropertyValues() local
890 *pValue <<= pPrinter ? OUString ( pPrinter->GetName()) : OUString(); in _getPropertyValues()
895 SfxPrinter *pPrinter = pDocSh->GetPrinter (); in _getPropertyValues() local
896 if (pPrinter) in _getPropertyValues()
899 pPrinter->Store( aStream ); in _getPropertyValues()
1040 Printer *pPrinter = aPrinterAccess.GetPrinter(); in getRenderer() local
1042 Size aPrtPaperSize ( pPrinter->GetPaperSize() ); in getRenderer()
[all …]
/aoo42x/main/editeng/source/items/
H A Dpaperinf.cxx66 Size SvxPaperInfo::GetPaperSize( const Printer* pPrinter ) in GetPaperSize() argument
68 if ( !IsValidPrinter(pPrinter) ) in GetPaperSize()
70 const Paper ePaper = pPrinter->GetPaper(); in GetPaperSize()
76 Size aPaperSize = pPrinter->GetPaperSize(); in GetPaperSize()
81 MapMode aMap1 = pPrinter->GetMapMode(); in GetPaperSize()
86 pPrinter->PixelToLogic( aPaperSize, MapMode( MAP_TWIP ) ); in GetPaperSize()
90 const Orientation eOrient = pPrinter->GetOrientation(); in GetPaperSize()
/aoo42x/main/svtools/source/dialogs/
H A Dprnsetup.cxx40 void ImplFillPrnDlgListBox( const Printer* pPrinter, in ImplFillPrnDlgListBox() argument
51 pBox->SelectEntry( pPrinter->GetName() ); in ImplFillPrnDlgListBox()
55 pPropBtn->Show( pPrinter->HasSupport( SUPPORT_SETUPDIALOG ) ); in ImplFillPrnDlgListBox()
69 Printer* pPrinter, Printer* pTempPrinter ) in ImplPrnDlgListBoxSelect() argument
78 if ( (pPrinter->GetName() == pInfo->GetPrinterName()) && in ImplPrnDlgListBoxSelect()
79 (pPrinter->GetDriverName() == pInfo->GetDriver()) ) in ImplPrnDlgListBoxSelect()
80 pTempPrinter = new Printer( pPrinter->GetJobSetup() ); in ImplPrnDlgListBoxSelect()
107 Printer* ImplPrnDlgUpdatePrinter( Printer* pPrinter, Printer* pTempPrinter ) in ImplPrnDlgUpdatePrinter() argument
113 aPrnName = pPrinter->GetName(); in ImplPrnDlgUpdatePrinter()
/aoo42x/main/sd/source/ui/unoidl/
H A DUnoDocumentSettings.cxx252 if( pPrinter ) in _setPropertyValues()
696 if( pPrinter ) in _setPropertyValues()
698 pItemSet = pPrinter->GetOptions().Clone(); 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()
876 pPrinter->SetOptions( aNewOptions ); in _setPropertyValues()
[all …]
/aoo42x/main/sc/source/ui/unoobj/
H A Dconfuno.cxx188 SfxPrinter* pPrinter = pDocShell->GetPrinter(); in setPropertyValue() local
189 if (pPrinter) in setPropertyValue()
192 if (pPrinter->GetName() != aString) in setPropertyValue()
194 … SfxPrinter* pNewPrinter = new SfxPrinter( pPrinter->GetOptions().Clone(), aString ); in setPropertyValue()
378 SfxPrinter* pPrinter = pDoc->GetPrinter( sal_False ); in getPropertyValue() local
379 if (pPrinter) in getPropertyValue()
380 aRet <<= rtl::OUString ( pPrinter->GetName()); in getPropertyValue()
388 SfxPrinter* pPrinter = pDoc->GetPrinter( sal_False ); in getPropertyValue() local
389 if (pPrinter) in getPropertyValue()
392 pPrinter->Store( aStream ); in getPropertyValue()
/aoo42x/main/vcl/unx/headless/
H A Dsvpprn.cxx316 PspSalInfoPrinter* pPrinter = new PspSalInfoPrinter; in CreateInfoPrinter() local
322 pPrinter->m_aJobData = aInfo; in CreateInfoPrinter()
323 pPrinter->m_aPrinterGfx.Init( pPrinter->m_aJobData ); in CreateInfoPrinter()
346 return pPrinter; in CreateInfoPrinter()
351 void SvpSalInstance::DestroyInfoPrinter( SalInfoPrinter* pPrinter ) in DestroyInfoPrinter() argument
353 delete pPrinter; in DestroyInfoPrinter()
361 PspSalPrinter* pPrinter = new PspSalPrinter( pInfoPrinter ); in CreatePrinter() local
362 pPrinter->m_aJobData = static_cast<PspSalInfoPrinter*>(pInfoPrinter)->m_aJobData; in CreatePrinter()
364 return pPrinter; in CreatePrinter()
369 void SvpSalInstance::DestroyPrinter( SalPrinter* pPrinter ) in DestroyPrinter() argument
[all …]
/aoo42x/main/sw/source/ui/uno/
H A DSwXDocumentSettings.cxx374 SfxPrinter* pPrinter = mpDoc->getPrinter( true ); in _setSingleValue() local
375 if ( OUString ( pPrinter->GetName()) != sPrinterName ) in _setSingleValue()
377 SfxPrinter *pNewPrinter = new SfxPrinter ( pPrinter->GetOptions().Clone(), sPrinterName ); in _setSingleValue()
414 SfxPrinter *pPrinter = SfxPrinter::Create ( aStream, pItemSet ); in _setSingleValue() local
418 mpPrinter = pPrinter; in _setSingleValue()
779 SfxPrinter *pPrinter = mpDoc->getPrinter( sal_False ); in _getSingleValue() local
780 rValue <<= pPrinter ? OUString ( pPrinter->GetName()) : OUString(); in _getSingleValue()
785 SfxPrinter *pPrinter = mpDocSh->GetDoc()->getPrinter( sal_False ); in _getSingleValue() local
786 if (pPrinter) in _getSingleValue()
789 pPrinter->Store( aStream ); in _getSingleValue()

Completed in 137 milliseconds

1234