diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-06 21:05:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-07 09:32:12 +0000 |
commit | d1660f19d5c8c60d8549b594a36d13a5edcf15a3 (patch) | |
tree | 24e3c82332ece088bb6d23a48d39f7b6f5de2ebc /sc/source/ui/view/prevwsh.cxx | |
parent | 8dd1581a4f65eacc2a0f62b79873b533e8237a43 (diff) |
an app can have print options without a print options dialog
e.g. draw and impress have print options, but no print options dialog
(It's plausible that we should merge the print options in the print dialog with
the print options in the options... dialog of the printer settings dialog)
Change-Id: I25c029ad8ba482b1e8d8d5974cc8de99584b9a55
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r-- | sc/source/ui/view/prevwsh.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index 505544e7fba6..37e0e8678d95 100644 --- a/sc/source/ui/view/prevwsh.cxx +++ b/sc/source/ui/view/prevwsh.cxx @@ -570,6 +570,11 @@ sal_uInt16 ScPreviewShell::SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiff return pDocShell->SetPrinter( pNewPrinter, nDiffFlags ); } +bool ScPreviewShell::HasPrintOptionsPage() const +{ + return true; +} + SfxTabPage* ScPreviewShell::CreatePrintOptionsPage( Window *pParent, const SfxItemSet &rOptions ) { ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); |