/aoo42x/main/sfx2/source/view/ |
H A D | printer.cxx | 178 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 D | viewprn.cxx | 493 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 D | ViewShellBase.cxx | 594 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 D | docshel4.cxx | 164 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 D | confuno.cxx | 194 … 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 D | viewuno.cxx | 1035 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 D | docsh3.cxx | 483 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 D | prnsetup.hxx | 91 void SetPrinter( Printer* pNewPrinter ) { mpPrinter = pNewPrinter; } in SetPrinter() argument
|
/aoo42x/main/sw/source/ui/uno/ |
H A D | SwXDocumentSettings.cxx | 377 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 D | DrawDocShell.hxx | 103 virtual void OnDocumentPrinterChanged(Printer* pNewPrinter); 123 void SetPrinter(SfxPrinter *pNewPrinter);
|
H A D | ViewShellBase.hxx | 139 SfxPrinter* pNewPrinter,
|
/aoo42x/main/starmath/source/ |
H A D | unomodel.cxx | 673 … 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 D | view.cxx | 1224 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 D | basides2.cxx | 153 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 D | viewsh.hxx | 240 …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 D | docsh.cxx | 961 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 D | documen8.cxx | 157 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 D | prevwsh.hxx | 114 …virtual sal_uInt16 SetPrinter( SfxPrinter* pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINT…
|
H A D | printfun.hxx | 231 ScPrintFunc( ScDocShell* pShell, SfxPrinter* pNewPrinter, SCTAB nTab,
|
/aoo42x/main/sw/source/ui/inc/ |
H A D | pview.hxx | 219 …SW_DLLPRIVATE virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFla…
|
/aoo42x/main/sc/source/ui/view/ |
H A D | prevwsh.cxx | 477 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 D | view.hxx | 245 virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter,
|
/aoo42x/main/basctl/source/inc/ |
H A D | basidesh.hxx | 203 …virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL,…
|
/aoo42x/main/sd/source/ui/unoidl/ |
H A D | UnoDocumentSettings.cxx | 676 … SfxPrinter *pNewPrinter = new SfxPrinter( pTempPrinter->GetOptions().Clone(), aPrinterName ); in _setPropertyValues() local 677 pDocSh->SetPrinter( pNewPrinter ); in _setPropertyValues()
|
/aoo42x/main/sw/inc/ |
H A D | docsh.hxx | 188 virtual void OnDocumentPrinterChanged( Printer * pNewPrinter );
|