diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-09-11 08:40:50 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-09-11 08:40:50 +0000 |
commit | 0503c067e75aff652e64857937ed03cbbdd59d65 (patch) | |
tree | 80cacfb38ce60efd88323cdf03e4103da4749ea8 /sw/source/core | |
parent | 00b3dc5b10412b50dc7af90d83d607db0cd5c086 (diff) |
INTEGRATION: CWS OS18 (1.38.132); FILE MERGED
2003/08/29 08:16:01 os 1.38.132.1: #i18490# set PDFExport view option separately to prevent repaint
Diffstat (limited to 'sw/source/core')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 4e91865f4cb3..818c00584fb3 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewsh.cxx,v $ * - * $Revision: 1.38 $ + * $Revision: 1.39 $ * - * last change: $Author: rt $ $Date: 2003-06-12 07:40:01 $ + * last change: $Author: kz $ $Date: 2003-09-11 09:40:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2153,6 +2153,18 @@ void ViewShell::SetReadonlyOption(BOOL bSet) Imp()->InvalidateAccessibleEditableState( sal_False ); } } +/* -----------------28.08.2003 15:45----------------- + + --------------------------------------------------*/ +void ViewShell::SetPDFExportOption(sal_Bool bSet) +{ + if( bSet != pOpt->IsPDFExport() ) + { + if(bSet && IsBrowseMode() ) + pOpt->SetPrtFormat( TRUE ); + pOpt->SetPDFExport(bSet); + } +} /* -----------------------------2002/07/31 17:06------------------------------ ---------------------------------------------------------------------------*/ |