Home
last modified time | relevance | path

Searched refs:pNewPrinter (Results 1 – 25 of 32) sorted by relevance

12

/aoo42x/main/sfx2/source/view/
H A Dprinter.cxx178 SfxPrinter *pNewPrinter; in Clone() local
179 pNewPrinter = new SfxPrinter( GetOptions().Clone() ); in Clone()
180 pNewPrinter->SetJobSetup( GetJobSetup() ); in Clone()
181 pNewPrinter->SetPrinterProps( this ); in Clone()
182 pNewPrinter->SetMapMode( GetMapMode() ); in Clone()
183 pNewPrinter->pImpl->mbAll = pImpl->mbAll; in Clone()
184 pNewPrinter->pImpl->mbSelection =pImpl->mbSelection; in Clone()
185 pNewPrinter->pImpl->mbFromTo = pImpl->mbFromTo; in Clone()
186 pNewPrinter->pImpl->mbRange =pImpl->mbRange; in Clone()
187 return pNewPrinter; in Clone()
H A Dviewprn.cxx493 SfxPrinter* SfxViewShell::SetPrinter_Impl( SfxPrinter *pNewPrinter ) in SetPrinter_Impl() argument
520 Orientation eNewOri = pNewPrinter->GetOrientation(); in SetPrinter_Impl()
521 Size aNewPgSz = pNewPrinter->GetPaperSizePixel(); in SetPrinter_Impl()
560 String aTempPrtName = pNewPrinter->GetName(); in SetPrinter_Impl()
565 …if ( (aTempPrtName != aDocPrtName) || (pDocPrinter->IsDefPrinter() != pNewPrinter->IsDefPrinter())… in SetPrinter_Impl()
570 pDocPrinter = pNewPrinter; in SetPrinter_Impl()
575 if ( ! (pNewPrinter->GetOptions() == pDocPrinter->GetOptions()) ) in SetPrinter_Impl()
578 pDocPrinter->SetOptions( pNewPrinter->GetOptions() ); in SetPrinter_Impl()
583 JobSetup aNewJobSetup = pNewPrinter->GetJobSetup(); in SetPrinter_Impl()
593 pDocPrinter->SetPrinterProps( pNewPrinter ); in SetPrinter_Impl()
[all …]
/aoo42x/main/sd/source/ui/view/
H A DViewShellBase.cxx594 SfxPrinter* pNewPrinter, in SetPrinter() argument
600 GetDocShell()->SetPrinter(pNewPrinter); in SetPrinter()
603 nDiffFlags & SFX_PRINTER_CHG_SIZE) && pNewPrinter ) in SetPrinter()
605 MapMode aMap = pNewPrinter->GetMapMode(); in SetPrinter()
607 MapMode aOldMap = pNewPrinter->GetMapMode(); in SetPrinter()
608 pNewPrinter->SetMapMode(aMap); in SetPrinter()
609 Size aNewSize = pNewPrinter->GetOutputSize(); in SetPrinter()
632 pNewPrinter->GetOrientation(), in SetPrinter()
637 pNewPrinter->SetMapMode(aOldMap); in SetPrinter()
/aoo42x/main/sd/source/ui/docshell/
H A Ddocshel4.cxx164 void DrawDocShell::SetPrinter(SfxPrinter *pNewPrinter) in SetPrinter() argument
173 if ( mpPrinter && mbOwnPrinter && (mpPrinter != pNewPrinter) ) in SetPrinter()
178 mpPrinter = pNewPrinter; in SetPrinter()
213 void DrawDocShell::OnDocumentPrinterChanged(Printer* pNewPrinter) in OnDocumentPrinterChanged() argument
219 if( mpPrinter == pNewPrinter ) in OnDocumentPrinterChanged()
223 if( (mpPrinter->GetName() == pNewPrinter->GetName()) && in OnDocumentPrinterChanged()
224 (mpPrinter->GetJobSetup() == pNewPrinter->GetJobSetup())) in OnDocumentPrinterChanged()
231 SetPrinter((SfxPrinter*) pNewPrinter); in OnDocumentPrinterChanged()
/aoo42x/main/sc/source/ui/unoobj/
H A Dconfuno.cxx194 … SfxPrinter* pNewPrinter = new SfxPrinter( pPrinter->GetOptions().Clone(), aString ); in setPropertyValue() local
195 if (pNewPrinter->IsKnown()) in setPropertyValue()
196 pDocShell->SetPrinter( pNewPrinter, SFX_PRINTER_PRINTER ); in setPropertyValue()
198 delete pNewPrinter; in setPropertyValue()
H A Dviewuno.cxx1035 SfxPrinter* pNewPrinter = new SfxPrinter( pPrinter->GetOptions().Clone(), aString );
1036 if (pNewPrinter->IsKnown())
1037 pViewSh->SetPrinter( pNewPrinter, SFX_PRINTER_PRINTER );
1039 delete pNewPrinter;
/aoo42x/main/sc/source/ui/docshell/
H A Ddocsh3.cxx483 sal_uInt16 ScDocShell::SetPrinter( SfxPrinter* pNewPrinter, sal_uInt16 nDiffFlags ) in SetPrinter() argument
491 if ( aDocument.GetPrinter() != pNewPrinter ) in SetPrinter()
493 aDocument.SetPrinter( pNewPrinter ); in SetPrinter()
529 pOldPrinter->SetJobSetup( pNewPrinter->GetJobSetup() ); in SetPrinter()
557 sal_Bool bNewLand = ( pNewPrinter->GetOrientation() == ORIENTATION_LANDSCAPE ); in SetPrinter()
573 SvxSizeItem aPaperSizeItem( ATTR_PAGE_SIZE, SvxPaperInfo::GetPaperSize(pNewPrinter) ); in SetPrinter()
/aoo42x/main/svtools/inc/svtools/
H A Dprnsetup.hxx91 void SetPrinter( Printer* pNewPrinter ) { mpPrinter = pNewPrinter; } in SetPrinter() argument
/aoo42x/main/sw/source/ui/uno/
H A DSwXDocumentSettings.cxx377 SfxPrinter *pNewPrinter = new SfxPrinter ( pPrinter->GetOptions().Clone(), sPrinterName ); in _setSingleValue() local
378 if( pNewPrinter->IsKnown() ) in _setSingleValue()
381 mpPrinter = pNewPrinter; in _setSingleValue()
385 delete pNewPrinter; in _setSingleValue()
/aoo42x/main/sd/source/ui/inc/
H A DDrawDocShell.hxx103 virtual void OnDocumentPrinterChanged(Printer* pNewPrinter);
123 void SetPrinter(SfxPrinter *pNewPrinter);
H A DViewShellBase.hxx139 SfxPrinter* pNewPrinter,
/aoo42x/main/starmath/source/
H A Dunomodel.cxx673 … SfxPrinter *pNewPrinter = new SfxPrinter ( pPrinter->GetOptions().Clone(), sPrinterName ); in _setPropertyValues() local
674 if (pNewPrinter->IsKnown()) in _setPropertyValues()
675 pDocSh->SetPrinter ( pNewPrinter ); in _setPropertyValues()
677 delete pNewPrinter; in _setPropertyValues()
H A Dview.cxx1224 sal_uInt16 SmViewShell::SetPrinter(SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags, bool ) in SetPrinter() argument
1232 GetDoc()->SetPrinter( pNewPrinter ); in SetPrinter()
1237 pp->GetConfig()->ItemSetToConfig(pNewPrinter->GetOptions()); in SetPrinter()
/aoo42x/main/basctl/source/basicide/
H A Dbasides2.cxx153 sal_uInt16 __EXPORT BasicIDEShell::SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags, bool… in SetPrinter() argument
158 pDocShell->SetPrinter( pNewPrinter ); in SetPrinter()
/aoo42x/main/sfx2/inc/sfx2/
H A Dviewsh.hxx240 …virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_P…
307 SAL_DLLPRIVATE SfxPrinter* SetPrinter_Impl( SfxPrinter *pNewPrinter );
/aoo42x/main/sw/source/ui/app/
H A Ddocsh.cxx961 void SwDocShell::OnDocumentPrinterChanged( Printer * pNewPrinter ) in OnDocumentPrinterChanged() argument
963 if ( pNewPrinter ) in OnDocumentPrinterChanged()
964 GetDoc()->setJobsetup( pNewPrinter->GetJobSetup() ); in OnDocumentPrinterChanged()
/aoo42x/main/sc/source/core/data/
H A Ddocumen8.cxx157 void ScDocument::SetPrinter( SfxPrinter* pNewPrinter ) in SetPrinter() argument
159 if ( pNewPrinter == pPrinter ) in SetPrinter()
169 pPrinter = pNewPrinter; in SetPrinter()
/aoo42x/main/sc/source/ui/inc/
H A Dprevwsh.hxx114 …virtual sal_uInt16 SetPrinter( SfxPrinter* pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINT…
H A Dprintfun.hxx231 ScPrintFunc( ScDocShell* pShell, SfxPrinter* pNewPrinter, SCTAB nTab,
/aoo42x/main/sw/source/ui/inc/
H A Dpview.hxx219 …SW_DLLPRIVATE virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFla…
/aoo42x/main/sc/source/ui/view/
H A Dprevwsh.cxx477 sal_uInt16 __EXPORT ScPreviewShell::SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags, boo… in SetPrinter() argument
479 return pDocShell->SetPrinter( pNewPrinter, nDiffFlags ); in SetPrinter()
/aoo42x/main/starmath/inc/
H A Dview.hxx245 virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter,
/aoo42x/main/basctl/source/inc/
H A Dbasidesh.hxx203 …virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL,…
/aoo42x/main/sd/source/ui/unoidl/
H A DUnoDocumentSettings.cxx676 … SfxPrinter *pNewPrinter = new SfxPrinter( pTempPrinter->GetOptions().Clone(), aPrinterName ); in _setPropertyValues() local
677 pDocSh->SetPrinter( pNewPrinter ); in _setPropertyValues()
/aoo42x/main/sw/inc/
H A Ddocsh.hxx188 virtual void OnDocumentPrinterChanged( Printer * pNewPrinter );

Completed in 148 milliseconds

12