LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScFunctionWin Class Reference

#include <dwfunctr.hxx>

Inheritance diagram for ScFunctionWin:
[legend]
Collaboration diagram for ScFunctionWin:
[legend]

Public Member Functions

 ScFunctionWin (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~ScFunctionWin () override
 
virtual void dispose () override
 
void InitLRUList ()
 
void UpdateFunctionList ()
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void setPosSizePixel (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 

Private Member Functions

void UpdateLRUList ()
 
void DoEnter ()
 
void SetDescription ()
 
 DECL_LINK (SetRowActivatedHdl, weld::TreeView &, bool)
 
 DECL_LINK (SetSelectionClickHdl, weld::Button &, void)
 
 DECL_LINK (SelComboHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelTreeHdl, weld::TreeView &, void)
 

Private Attributes

std::unique_ptr< weld::ComboBoxxCatBox
 
std::unique_ptr< weld::TreeViewxFuncList
 
std::unique_ptr< weld::ButtonxInsertButton
 
std::unique_ptr< weld::LabelxFiFuncDesc
 
rtl::Reference< comphelper::ConfigurationListenerxConfigListener
 
std::unique_ptr< EnglishFunctionNameChangexConfigChange
 
const ScFuncDescpFuncDesc
 
sal_uInt16 nArgs
 
::std::vector< const formula::IFunctionDescription * > aLRUList
 

Additional Inherited Members

- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 43 of file dwfunctr.hxx.

Constructor & Destructor Documentation

ScFunctionWin::ScFunctionWin ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rFrame 
)

Definition at line 47 of file dwfunctr.cxx.

References InitLRUList(), LINK, nArgs, xCatBox, xFiFuncDesc, xFuncList, and xInsertButton.

ScFunctionWin::~ScFunctionWin ( )
overridevirtual

Definition at line 89 of file dwfunctr.cxx.

Member Function Documentation

ScFunctionWin::DECL_LINK ( SetRowActivatedHdl  ,
weld::TreeView ,
bool   
)
private
ScFunctionWin::DECL_LINK ( SetSelectionClickHdl  ,
weld::Button ,
void   
)
private
ScFunctionWin::DECL_LINK ( SelComboHdl  ,
weld::ComboBox ,
void   
)
private
ScFunctionWin::DECL_LINK ( SelTreeHdl  ,
weld::TreeView ,
void   
)
private
void ScFunctionWin::dispose ( void  )
overridevirtual

Reimplemented from PanelLayout.

Definition at line 94 of file dwfunctr.cxx.

References PanelLayout::dispose(), xCatBox, xConfigChange, xConfigListener, xFiFuncDesc, xFuncList, and xInsertButton.

void ScFunctionWin::DoEnter ( )
private
void ScFunctionWin::InitLRUList ( )
void ScFunctionWin::SetDescription ( )
private
void ScFunctionWin::UpdateFunctionList ( )
void ScFunctionWin::UpdateLRUList ( )
private

Definition at line 148 of file dwfunctr.cxx.

References ScModule::InsertEntryToLRUList(), ScFuncDesc::nFIndex, pFuncDesc, and SC_MOD.

Referenced by DoEnter().

Member Data Documentation

::std::vector< const formula::IFunctionDescription*> ScFunctionWin::aLRUList
private

Definition at line 57 of file dwfunctr.hxx.

Referenced by InitLRUList(), and UpdateFunctionList().

sal_uInt16 ScFunctionWin::nArgs
private

Definition at line 55 of file dwfunctr.hxx.

Referenced by DoEnter(), and ScFunctionWin().

const ScFuncDesc* ScFunctionWin::pFuncDesc
private

Definition at line 54 of file dwfunctr.hxx.

Referenced by DoEnter(), and UpdateLRUList().

std::unique_ptr<weld::ComboBox> ScFunctionWin::xCatBox
private

Definition at line 47 of file dwfunctr.hxx.

Referenced by dispose(), InitLRUList(), ScFunctionWin(), and UpdateFunctionList().

std::unique_ptr<EnglishFunctionNameChange> ScFunctionWin::xConfigChange
private

Definition at line 53 of file dwfunctr.hxx.

Referenced by dispose().

rtl::Reference<comphelper::ConfigurationListener> ScFunctionWin::xConfigListener
private

Definition at line 52 of file dwfunctr.hxx.

Referenced by dispose().

std::unique_ptr<weld::Label> ScFunctionWin::xFiFuncDesc
private

Definition at line 50 of file dwfunctr.hxx.

Referenced by dispose(), ScFunctionWin(), and SetDescription().

std::unique_ptr<weld::TreeView> ScFunctionWin::xFuncList
private

Definition at line 48 of file dwfunctr.hxx.

Referenced by dispose(), DoEnter(), ScFunctionWin(), SetDescription(), and UpdateFunctionList().

std::unique_ptr<weld::Button> ScFunctionWin::xInsertButton
private

Definition at line 49 of file dwfunctr.hxx.

Referenced by dispose(), and ScFunctionWin().


The documentation for this class was generated from the following files: