diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-10-15 08:47:57 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-10-15 08:47:57 +0000 |
commit | d808aaa66157456761dbb4b44b28ad5d09eb5cfa (patch) | |
tree | 7053dff8d89a523ed7aec10de3332d8e070481cc /svx | |
parent | 41b15a01904cd3857ea6cf24067f9c390192a8c5 (diff) |
INTEGRATION: CWS extleading (1.47.306); FILE MERGED
2003/10/02 07:37:09 fme 1.47.306.2: RESYNC: (1.47-1.48); FILE MERGED
2003/07/08 11:26:31 fme 1.47.306.1: #110641# Feature - External Leading
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/editeng/impedit4.cxx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/svx/source/editeng/impedit4.cxx b/svx/source/editeng/impedit4.cxx index e0c97e2d6179..0bbd65760f4a 100644 --- a/svx/source/editeng/impedit4.cxx +++ b/svx/source/editeng/impedit4.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impedit4.cxx,v $ * - * $Revision: 1.48 $ + * $Revision: 1.49 $ * - * last change: $Author: rt $ $Date: 2003-09-19 10:35:25 $ + * last change: $Author: kz $ $Date: 2003-10-15 09:47:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2268,6 +2268,20 @@ void ImpEditEngine::SetKernAsianPunctuation( BOOL b ) } } +void ImpEditEngine::SetAddExtLeading( BOOL bExtLeading ) +{ + if ( IsAddExtLeading() != bExtLeading ) + { + bAddExtLeading = bExtLeading; + if ( ImplHasText() ) + { + FormatFullDoc(); + UpdateViews(); + } + } +}; + + BOOL ImpEditEngine::ImplHasText() const { |