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)
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: formcontrolfont.hxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -86,11 +86,15 @@ namespace frm
|
|||||||
class FontControlModel
|
class FontControlModel
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
// <properties>
|
||||||
::com::sun::star::awt::FontDescriptor m_aFont;
|
::com::sun::star::awt::FontDescriptor m_aFont;
|
||||||
sal_Int16 m_nFontRelief;
|
sal_Int16 m_nFontRelief;
|
||||||
sal_Int16 m_nFontEmphasis;
|
sal_Int16 m_nFontEmphasis;
|
||||||
::com::sun::star::uno::Any m_aTextLineColor;
|
::com::sun::star::uno::Any m_aTextLineColor;
|
||||||
::com::sun::star::uno::Any m_aTextColor;
|
::com::sun::star::uno::Any m_aTextColor;
|
||||||
|
// </properties>
|
||||||
|
|
||||||
|
bool m_bToolkitCompatibleDefaults;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const ::com::sun::star::awt::FontDescriptor& getFont() const { return m_aFont; }
|
const ::com::sun::star::awt::FontDescriptor& getFont() const { return m_aFont; }
|
||||||
@@ -107,7 +111,7 @@ namespace frm
|
|||||||
sal_Int32 getTextLineColor( ) const;
|
sal_Int32 getTextLineColor( ) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
FontControlModel( );
|
FontControlModel( bool _bToolkitCompatibleDefaults );
|
||||||
FontControlModel( const FontControlModel* _pOriginal );
|
FontControlModel( const FontControlModel* _pOriginal );
|
||||||
|
|
||||||
protected:
|
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 );
|
void setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue ) throw ( ::com::sun::star::uno::Exception );
|
||||||
::com::sun::star::uno::Any
|
::com::sun::star::uno::Any
|
||||||
getPropertyDefaultByHandle ( sal_Int32 _nHandle ) const;
|
getPropertyDefaultByHandle ( sal_Int32 _nHandle ) const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
private:
|
||||||
|
FontControlModel(); // never implemented
|
||||||
|
FontControlModel( const FontControlModel& ); // never implemented
|
||||||
|
FontControlModel& operator=( const FontControlModel& ); // never implemented
|
||||||
};
|
};
|
||||||
|
|
||||||
//.........................................................................
|
//.........................................................................
|
||||||
|
Reference in New Issue
Block a user