LibreOffice Module formula (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
formula::FuncPage Class Referencefinal

#include <funcpage.hxx>

Collaboration diagram for formula::FuncPage:
[legend]

Public Member Functions

 FuncPage (weld::Container *pContainer, const IFunctionManager *_pFunctionManager)
 
 ~FuncPage ()
 
void SetCategory (sal_Int32 nCat)
 
void SetFunction (sal_Int32 nFunc)
 
void SetFocus ()
 
sal_Int32 GetCategory () const
 
sal_Int32 GetCategoryEntryCount () const
 
sal_Int32 GetFunction () const
 
sal_Int32 GetFunctionEntryCount () const
 
sal_Int32 GetFuncPos (const IFunctionDescription *_pDesc)
 
const IFunctionDescriptionGetFuncDesc (sal_Int32 nPos) const
 
OUString GetSelFunctionName () const
 
void SetDoubleClickHdl (const Link< FuncPage &, void > &rLink)
 
void SetSelectHdl (const Link< FuncPage &, void > &rLink)
 
bool IsVisible () const
 

Static Public Member Functions

static sal_Int32 GetRememeberdFunctionCategory ()
 

Private Member Functions

void impl_addFunctions (const IFunctionCategory *_pCategory)
 
 DECL_LINK (SelComboBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelTreeViewHdl, weld::TreeView &, void)
 
 DECL_LINK (DblClkHdl, weld::TreeView &, bool)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
void UpdateFunctionList (const OUString &)
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< weld::ComboBoxm_xLbCategory
 
std::unique_ptr< weld::TreeViewm_xLbFunction
 
std::unique_ptr< weld::Entrym_xLbFunctionSearchString
 
Link< FuncPage &, void > aDoubleClickLink
 
Link< FuncPage &, void > aSelectionLink
 
const IFunctionManagerm_pFunctionManager
 
::std::vector< TFunctionDescaLRUList
 
OUString m_aHelpId
 

Static Private Attributes

static sal_Int32 m_nRememberedFunctionCategory = 1
 

Detailed Description

Definition at line 34 of file funcpage.hxx.

Constructor & Destructor Documentation

◆ FuncPage()

formula::FuncPage::FuncPage ( weld::Container pContainer,
const IFunctionManager _pFunctionManager 
)

◆ ~FuncPage()

formula::FuncPage::~FuncPage ( )

Definition at line 80 of file funcpage.cxx.

Member Function Documentation

◆ DECL_LINK() [1/5]

formula::FuncPage::DECL_LINK ( DblClkHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/5]

formula::FuncPage::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [3/5]

formula::FuncPage::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/5]

formula::FuncPage::DECL_LINK ( SelComboBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/5]

formula::FuncPage::DECL_LINK ( SelTreeViewHdl  ,
weld::TreeView ,
void   
)
private

◆ GetCategory()

sal_Int32 formula::FuncPage::GetCategory ( ) const

Definition at line 247 of file funcpage.cxx.

References m_xLbCategory.

◆ GetCategoryEntryCount()

sal_Int32 formula::FuncPage::GetCategoryEntryCount ( ) const

Definition at line 249 of file funcpage.cxx.

References m_xLbCategory.

◆ GetFuncDesc()

const IFunctionDescription * formula::FuncPage::GetFuncDesc ( sal_Int32  nPos) const

Definition at line 257 of file funcpage.cxx.

References m_xLbFunction, and nPos.

◆ GetFuncPos()

sal_Int32 formula::FuncPage::GetFuncPos ( const IFunctionDescription _pDesc)

Definition at line 232 of file funcpage.cxx.

References m_xLbFunction, and weld::toId().

◆ GetFunction()

sal_Int32 formula::FuncPage::GetFunction ( ) const

Definition at line 251 of file funcpage.cxx.

References m_xLbFunction.

◆ GetFunctionEntryCount()

sal_Int32 formula::FuncPage::GetFunctionEntryCount ( ) const

Definition at line 253 of file funcpage.cxx.

References m_xLbFunction.

◆ GetRememeberdFunctionCategory()

static sal_Int32 formula::FuncPage::GetRememeberdFunctionCategory ( )
inlinestatic

Definition at line 78 of file funcpage.hxx.

References m_nRememberedFunctionCategory.

Referenced by formula::FormulaDlg_Impl::FillListboxes().

◆ GetSelFunctionName()

OUString formula::FuncPage::GetSelFunctionName ( ) const

Definition at line 255 of file funcpage.cxx.

References m_xLbFunction.

◆ impl_addFunctions()

void formula::FuncPage::impl_addFunctions ( const IFunctionCategory _pCategory)
private

◆ IsVisible()

bool formula::FuncPage::IsVisible ( ) const
inline

Definition at line 88 of file funcpage.hxx.

References m_xContainer.

Referenced by UpdateFunctionList().

◆ SetCategory()

void formula::FuncPage::SetCategory ( sal_Int32  nCat)

Definition at line 224 of file funcpage.cxx.

References m_nRememberedFunctionCategory, m_xLbCategory, and UpdateFunctionList().

◆ SetDoubleClickHdl()

void formula::FuncPage::SetDoubleClickHdl ( const Link< FuncPage &, void > &  rLink)
inline

Definition at line 84 of file funcpage.hxx.

References aDoubleClickLink.

◆ SetFocus()

void formula::FuncPage::SetFocus ( )

Definition at line 245 of file funcpage.cxx.

References m_xLbFunction.

◆ SetFunction()

void formula::FuncPage::SetFunction ( sal_Int32  nFunc)

Definition at line 237 of file funcpage.cxx.

References m_xLbFunction.

◆ SetSelectHdl()

void formula::FuncPage::SetSelectHdl ( const Link< FuncPage &, void > &  rLink)
inline

Definition at line 86 of file funcpage.hxx.

References aSelectionLink.

◆ UpdateFunctionList()

void formula::FuncPage::UpdateFunctionList ( const OUString &  aStr)
private

Member Data Documentation

◆ aDoubleClickLink

Link<FuncPage&,void> formula::FuncPage::aDoubleClickLink
private

Definition at line 44 of file funcpage.hxx.

Referenced by SetDoubleClickHdl().

◆ aLRUList

::std::vector< TFunctionDesc > formula::FuncPage::aLRUList
private

Definition at line 48 of file funcpage.hxx.

Referenced by FuncPage(), and UpdateFunctionList().

◆ aSelectionLink

Link<FuncPage&,void> formula::FuncPage::aSelectionLink
private

Definition at line 45 of file funcpage.hxx.

Referenced by SetSelectHdl().

◆ m_aHelpId

OUString formula::FuncPage::m_aHelpId
private

Definition at line 49 of file funcpage.hxx.

Referenced by FuncPage().

◆ m_nRememberedFunctionCategory

sal_Int32 formula::FuncPage::m_nRememberedFunctionCategory = 1
staticprivate

◆ m_pFunctionManager

const IFunctionManager* formula::FuncPage::m_pFunctionManager
private

Definition at line 46 of file funcpage.hxx.

Referenced by FuncPage(), and UpdateFunctionList().

◆ m_xBuilder

std::unique_ptr<weld::Builder> formula::FuncPage::m_xBuilder
private

Definition at line 37 of file funcpage.hxx.

◆ m_xContainer

std::unique_ptr<weld::Container> formula::FuncPage::m_xContainer
private

Definition at line 38 of file funcpage.hxx.

Referenced by IsVisible().

◆ m_xLbCategory

std::unique_ptr<weld::ComboBox> formula::FuncPage::m_xLbCategory
private

◆ m_xLbFunction

std::unique_ptr<weld::TreeView> formula::FuncPage::m_xLbFunction
private

◆ m_xLbFunctionSearchString

std::unique_ptr<weld::Entry> formula::FuncPage::m_xLbFunctionSearchString
private

Definition at line 42 of file funcpage.hxx.

Referenced by FuncPage().


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