LibreOffice Module formula (master) 1
|
#include <funcpage.hxx>
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 IFunctionDescription * | GetFuncDesc (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::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
std::unique_ptr< weld::ComboBox > | m_xLbCategory |
std::unique_ptr< weld::TreeView > | m_xLbFunction |
std::unique_ptr< weld::Entry > | m_xLbFunctionSearchString |
Link< FuncPage &, void > | aDoubleClickLink |
Link< FuncPage &, void > | aSelectionLink |
const IFunctionManager * | m_pFunctionManager |
::std::vector< TFunctionDesc > | aLRUList |
OUString | m_aHelpId |
Static Private Attributes | |
static sal_Int32 | m_nRememberedFunctionCategory = 1 |
Definition at line 34 of file funcpage.hxx.
formula::FuncPage::FuncPage | ( | weld::Container * | pContainer, |
const IFunctionManager * | _pFunctionManager | ||
) |
Definition at line 43 of file funcpage.cxx.
References aLRUList, formula::IFunctionManager::fillLastRecentlyUsedFunctions(), formula::IFunctionManager::getCategory(), formula::IFunctionManager::getCount(), formula::IFunctionCategory::getName(), LINK, m_aHelpId, m_nRememberedFunctionCategory, m_pFunctionManager, m_xContainer, m_xLbCategory, m_xLbFunction, m_xLbFunctionSearchString, sId, weld::toId(), and UpdateFunctionList().
formula::FuncPage::~FuncPage | ( | ) |
Definition at line 80 of file funcpage.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
sal_Int32 formula::FuncPage::GetCategory | ( | ) | const |
Definition at line 247 of file funcpage.cxx.
References m_xLbCategory.
sal_Int32 formula::FuncPage::GetCategoryEntryCount | ( | ) | const |
Definition at line 249 of file funcpage.cxx.
References m_xLbCategory.
const IFunctionDescription * formula::FuncPage::GetFuncDesc | ( | sal_Int32 | nPos | ) | const |
Definition at line 257 of file funcpage.cxx.
References m_xLbFunction, and nPos.
sal_Int32 formula::FuncPage::GetFuncPos | ( | const IFunctionDescription * | _pDesc | ) |
Definition at line 232 of file funcpage.cxx.
References m_xLbFunction, and weld::toId().
sal_Int32 formula::FuncPage::GetFunction | ( | ) | const |
Definition at line 251 of file funcpage.cxx.
References m_xLbFunction.
sal_Int32 formula::FuncPage::GetFunctionEntryCount | ( | ) | const |
Definition at line 253 of file funcpage.cxx.
References m_xLbFunction.
|
inlinestatic |
Definition at line 78 of file funcpage.hxx.
References m_nRememberedFunctionCategory.
Referenced by formula::FormulaDlg_Impl::FillListboxes().
OUString formula::FuncPage::GetSelFunctionName | ( | ) | const |
Definition at line 255 of file funcpage.cxx.
References m_xLbFunction.
|
private |
Definition at line 82 of file funcpage.cxx.
References formula::IFunctionCategory::getCount(), formula::IFunctionCategory::getFunction(), formula::IFunctionDescription::getFunctionName(), i, formula::IFunctionDescription::isHidden(), m_xLbFunction, nCount, sId, and weld::toId().
Referenced by UpdateFunctionList().
|
inline |
Definition at line 88 of file funcpage.hxx.
References m_xContainer.
Referenced by UpdateFunctionList().
void formula::FuncPage::SetCategory | ( | sal_Int32 | nCat | ) |
Definition at line 224 of file funcpage.cxx.
References m_nRememberedFunctionCategory, m_xLbCategory, and UpdateFunctionList().
Definition at line 84 of file funcpage.hxx.
References aDoubleClickLink.
void formula::FuncPage::SetFocus | ( | ) |
Definition at line 245 of file funcpage.cxx.
References m_xLbFunction.
void formula::FuncPage::SetFunction | ( | sal_Int32 | nFunc | ) |
Definition at line 237 of file funcpage.cxx.
References m_xLbFunction.
Definition at line 86 of file funcpage.hxx.
References aSelectionLink.
|
private |
Definition at line 97 of file funcpage.cxx.
References aLRUList, aStr, formula::IFunctionManager::getCategory(), SvtSysLocale::GetCharClass(), formula::IFunctionManager::getCount(), formula::IFunctionCategory::getCount(), formula::IFunctionDescription::getDescription(), formula::IFunctionCategory::getFunction(), formula::IFunctionDescription::getFunctionName(), i, impl_addFunctions(), formula::IFunctionDescription::isHidden(), IsVisible(), m_nRememberedFunctionCategory, m_pFunctionManager, m_xLbCategory, m_xLbFunction, nCount, sId, weld::toId(), and CharClass::uppercase().
Referenced by FuncPage(), and SetCategory().
Definition at line 44 of file funcpage.hxx.
Referenced by SetDoubleClickHdl().
|
private |
Definition at line 48 of file funcpage.hxx.
Referenced by FuncPage(), and UpdateFunctionList().
Definition at line 45 of file funcpage.hxx.
Referenced by SetSelectHdl().
|
private |
Definition at line 49 of file funcpage.hxx.
Referenced by FuncPage().
|
staticprivate |
Definition at line 52 of file funcpage.hxx.
Referenced by FuncPage(), GetRememeberdFunctionCategory(), SetCategory(), and UpdateFunctionList().
|
private |
Definition at line 46 of file funcpage.hxx.
Referenced by FuncPage(), and UpdateFunctionList().
|
private |
Definition at line 37 of file funcpage.hxx.
|
private |
Definition at line 38 of file funcpage.hxx.
Referenced by IsVisible().
|
private |
Definition at line 40 of file funcpage.hxx.
Referenced by FuncPage(), GetCategory(), GetCategoryEntryCount(), SetCategory(), and UpdateFunctionList().
|
private |
Definition at line 41 of file funcpage.hxx.
Referenced by FuncPage(), GetFuncDesc(), GetFuncPos(), GetFunction(), GetFunctionEntryCount(), GetSelFunctionName(), impl_addFunctions(), SetFocus(), SetFunction(), and UpdateFunctionList().
|
private |
Definition at line 42 of file funcpage.hxx.
Referenced by FuncPage().