diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-17 15:13:03 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-17 15:13:03 +0000 |
commit | 536b0b59374e4203d23959e62f6c69531cdde348 (patch) | |
tree | 1058dae708e98d2db009f5c34ef35fd2623a124b /extensions/source | |
parent | 6532bfa2ccb76f30c9ff159dbce1a45da1fbd590 (diff) |
INTEGRATION: CWS os8 (1.5.70); FILE MERGED
2003/04/03 06:39:23 cd 1.5.70.1: #108520# Support automatic toolbar button size depending on menu text height
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/bibliography/toolbar.hxx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index a227f2a455ed..8c343dd3c4ae 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -2,9 +2,9 @@ * * $RCSfile: toolbar.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: os $ $Date: 2002-05-07 13:49:06 $ + * last change: $Author: vg $ $Date: 2003-04-17 16:13:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -184,6 +184,8 @@ class BibToolBar: public ToolBox Timer aMenuTimer; ImageList aImgLst; ImageList aImgLstHC; + ImageList aBigImgLst; + ImageList aBigImgLstHC; FixedText aFtSource; ListBox aLBSource; FixedText aFtQuery; @@ -192,13 +194,20 @@ class BibToolBar: public ToolBox sal_uInt16 nMenuId; sal_uInt16 nSelMenuItem; rtl::OUString aQueryField; + Link aLayoutManager; + sal_Int16 nSymbolSet; + sal_Int16 nOutStyle; BibDataManager* pDatMan; DECL_LINK( SelHdl, ListBox* ); DECL_LINK( SendSelHdl, Timer* ); DECL_LINK( MenuHdl, Timer* ); + DECL_LINK( OptionsChanged_Impl, void* ); + DECL_LINK( SettingsChanged_Impl, void* ); void ApplyImageList(); + void RebuildToolbar(); + protected: void DataChanged( const DataChangedEvent& rDCEvt ); @@ -207,11 +216,12 @@ class BibToolBar: public ToolBox virtual void Click(); void SendDispatch(sal_uInt16 nId, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rArgs); long PreNotify( NotifyEvent& rNEvt ); + sal_Int16 GetCurrentSymbolSet(); public: - BibToolBar(Window* pParent, WinBits nStyle = WB_3DLOOK ); + BibToolBar(Window* pParent, Link aLink, WinBits nStyle = WB_3DLOOK ); ~BibToolBar(); void SetXController(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > &); @@ -224,6 +234,7 @@ class BibToolBar: public ToolBox void EnableQuery(sal_Bool bFlag=sal_True); void SetQueryString(const XubString& ); + void AdjustToolBox(); void ClearFilterMenu(); sal_uInt16 InsertFilterItem(const XubString& ); |