diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-10-15 08:48:39 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-10-15 08:48:39 +0000 |
commit | 01f44090621c50cbb2f2ccdee06d33413ca98aba (patch) | |
tree | 03265e46fcd116999d5c8dce2c918bfae684fb89 /svx/source/svdraw/svdmodel.cxx | |
parent | 2c9b0a4a65e70a0593ffe2bf48c8a57031be3782 (diff) |
INTEGRATION: CWS extleading (1.48.122); FILE MERGED
2003/07/08 11:27:38 fme 1.48.122.1: #110641# Feature - External Leading
Diffstat (limited to 'svx/source/svdraw/svdmodel.cxx')
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index b7970a5720f9..eb651a7eea37 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdmodel.cxx,v $ * - * $Revision: 1.48 $ + * $Revision: 1.49 $ * - * last change: $Author: rt $ $Date: 2003-04-24 16:42:29 $ + * last change: $Author: kz $ $Date: 2003-10-15 09:48:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -398,6 +398,7 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, SvPersist* pPers, mbModelLocked = FALSE; mpOutlinerCache = NULL; mbKernAsianPunctuation = sal_False; + mbAddExtLeading = sal_False; #ifndef SVX_LIGHT SvxAsianConfig aAsian; @@ -1033,6 +1034,7 @@ void SdrModel::ImpSetOutlinerDefaults( SdrOutliner* pOutliner, BOOL bInit ) pOutliner->SetForbiddenCharsTable(GetForbiddenCharsTable()); pOutliner->SetAsianCompressionMode( mnCharCompressType ); pOutliner->SetKernAsianPunctuation( IsKernAsianPunctuation() ); + pOutliner->SetAddExtLeading( IsAddExtLeading() ); if ( !GetRefDevice() ) { @@ -2855,6 +2857,16 @@ void SdrModel::SetKernAsianPunctuation( sal_Bool bEnabled ) } } +void SdrModel::SetAddExtLeading( sal_Bool bEnabled ) +{ + if( mbAddExtLeading != bEnabled ) + { + mbAddExtLeading = bEnabled; + ImpSetOutlinerDefaults( pDrawOutliner ); + ImpSetOutlinerDefaults( pHitTestOutliner ); + } +} + void SdrModel::ReformatAllTextObjects() { ImpReformatAllTextObjects(); |