From 2ce004ed72bcd9fe81b310186536b56f33eedb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Fri, 7 May 2004 15:09:05 +0000 Subject: [PATCH] INTEGRATION: CWS frmcontrols03 (1.1.2); FILE MERGED 2004/03/01 16:51:17 fs 1.1.2.1: helper class for font handling (copied hereing from CWS frmcontrols02) --- forms/source/inc/formcontrolfont.hxx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/forms/source/inc/formcontrolfont.hxx b/forms/source/inc/formcontrolfont.hxx index 6f39fa512f09..c814bfb4c409 100644 --- a/forms/source/inc/formcontrolfont.hxx +++ b/forms/source/inc/formcontrolfont.hxx @@ -2,9 +2,9 @@ * * $RCSfile: formcontrolfont.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2004-04-13 11:17:08 $ + * last change: $Author: rt $ $Date: 2004-05-07 16:09:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -86,11 +86,15 @@ namespace frm class FontControlModel { private: + // ::com::sun::star::awt::FontDescriptor m_aFont; sal_Int16 m_nFontRelief; sal_Int16 m_nFontEmphasis; ::com::sun::star::uno::Any m_aTextLineColor; ::com::sun::star::uno::Any m_aTextColor; + // + + bool m_bToolkitCompatibleDefaults; protected: const ::com::sun::star::awt::FontDescriptor& getFont() const { return m_aFont; } @@ -107,7 +111,7 @@ namespace frm sal_Int32 getTextLineColor( ) const; protected: - FontControlModel( ); + FontControlModel( bool _bToolkitCompatibleDefaults ); FontControlModel( const FontControlModel* _pOriginal ); protected: @@ -123,6 +127,13 @@ namespace frm void setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue ) throw ( ::com::sun::star::uno::Exception ); ::com::sun::star::uno::Any getPropertyDefaultByHandle ( sal_Int32 _nHandle ) const; + + private: + + private: + FontControlModel(); // never implemented + FontControlModel( const FontControlModel& ); // never implemented + FontControlModel& operator=( const FontControlModel& ); // never implemented }; //.........................................................................