diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-07-05 15:19:54 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-07-05 15:19:54 +0000 |
commit | 90fd07320af47d321ee2e630a49cdd543f352ac1 (patch) | |
tree | 145a236471b901f687dd90e2d840fa3e2897a762 /forms/source/richtext/richtextimplcontrol.cxx | |
parent | e4028488a57131ddc58180ae675a4060e98bb60b (diff) |
INTEGRATION: CWS frmcontrols04 (1.2.18); FILE MERGED
2004/06/23 09:03:44 fs 1.2.18.1: #i24694# #i24686# HideInactiveSelection and BorderColor also for the rich text model
Diffstat (limited to 'forms/source/richtext/richtextimplcontrol.cxx')
-rw-r--r-- | forms/source/richtext/richtextimplcontrol.cxx | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx index 7000be64360e..af7e3baaa044 100644 --- a/forms/source/richtext/richtextimplcontrol.cxx +++ b/forms/source/richtext/richtextimplcontrol.cxx @@ -2,9 +2,9 @@ * * $RCSfile: richtextimplcontrol.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-05-07 16:13:04 $ + * last change: $Author: obo $ $Date: 2004-07-05 16:19:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -700,11 +700,23 @@ namespace frm //-------------------------------------------------------------------- void RichTextControlImpl::SetBackgroundColor( const Color& _rColor ) { - Wallpaper aWallpaper( _rColor ); + Wallpaper aWallpaper( _rColor ); m_pAntiImpl->SetBackground( aWallpaper ); m_pViewport->SetBackground( aWallpaper ); } + //-------------------------------------------------------------------- + void RichTextControlImpl::SetHideInactiveSelection( bool _bHide ) + { + m_pViewport->SetHideInactiveSelection( _bHide ); + } + + //-------------------------------------------------------------------- + bool RichTextControlImpl::GetHideInactiveSelection() const + { + return m_pViewport->GetHideInactiveSelection( ); + } + //........................................................................ } // namespace frm //........................................................................ |