LibreOffice Module sc (master) 1
|
#include <dwfunctr.hxx>
Public Member Functions | |
ScFunctionWin (weld::Widget *pParent) | |
virtual | ~ScFunctionWin () override |
void | InitLRUList () |
void | UpdateFunctionList () |
Public Member Functions inherited from PanelLayout | |
PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription) | |
void | SetPanel (sfx2::sidebar::Panel *pPanel) |
virtual | ~PanelLayout () |
Size | get_preferred_size () const |
void | queue_resize () |
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::ComboBox > | xCatBox |
std::unique_ptr< weld::TreeView > | xFuncList |
std::unique_ptr< weld::Button > | xInsertButton |
std::unique_ptr< weld::TextView > | xFiFuncDesc |
rtl::Reference< comphelper::ConfigurationListener > | xConfigListener |
std::unique_ptr< EnglishFunctionNameChange > | xConfigChange |
const ScFuncDesc * | pFuncDesc |
sal_uInt16 | nArgs |
OUString | m_aHelpId |
::std::vector< const formula::IFunctionDescription * > | aLRUList |
Additional Inherited Members | |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 42 of file dwfunctr.hxx.
ScFunctionWin::ScFunctionWin | ( | weld::Widget * | pParent | ) |
Definition at line 47 of file dwfunctr.cxx.
References InitLRUList(), LINK, m_aHelpId, nArgs, xCatBox, xFiFuncDesc, xFuncList, and xInsertButton.
|
overridevirtual |
Definition at line 90 of file dwfunctr.cxx.
References xCatBox, xConfigChange, xConfigListener, xFiFuncDesc, xFuncList, and xInsertButton.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 263 of file dwfunctr.cxx.
References ScFuncDesc::ParameterFlags::bOptional, ScInputHandler::ClearText(), SfxViewShell::Current(), ScInputHandler::DataChanged(), ScInputHandler::GetActiveView(), ScInputHandler::GetEditString(), ScModule::GetInputHdl(), EditView::GetSelection(), SfxViewShell::GetWindow(), vcl::Window::GrabFocus(), InitLRUList(), ScInputHandler::InsertFunction(), EditView::InsertText(), ScModule::IsEditMode(), ScFuncDesc::maDefArgNames, ScFuncDesc::nArgCount, nArgs, ESelection::nEndPos, ESelection::nStartPos, PAIRED_VAR_ARGS, ScFuncDesc::pDefArgFlags, pFuncDesc, SC_INPUT_TABLE, SC_MOD, ScModule::SetInputMode(), EditView::SetSelection(), comphelper::string::strip(), UpdateLRUList(), VAR_ARGS, xConfigListener, and xFuncList.
void ScFunctionWin::InitLRUList | ( | ) |
Definition at line 116 of file dwfunctr.cxx.
References aLRUList, ScFunctionMgr::fillLastRecentlyUsedFunctions(), ScGlobal::GetStarCalcFunctionMgr(), UpdateFunctionList(), and xCatBox.
Referenced by DoEnter(), ScFunctionWin(), and EnglishFunctionNameChange::setProperty().
|
private |
Definition at line 164 of file dwfunctr.cxx.
References aBuf, ScFuncDesc::getHelpId(), ScFuncDesc::GetParamList(), ScFuncDesc::initArgumentInfo(), m_aHelpId, ScFuncDesc::mxFuncDesc, xFiFuncDesc, and xFuncList.
void ScFunctionWin::UpdateFunctionList | ( | ) |
Definition at line 204 of file dwfunctr.cxx.
References aLRUList, ScFunctionMgr::First(), ScGlobal::GetStarCalcFunctionMgr(), ScFuncDesc::mxFuncName, ScFunctionMgr::Next(), weld::toId(), xCatBox, and xFuncList.
Referenced by InitLRUList(), and EnglishFunctionNameChange::setProperty().
|
private |
Definition at line 141 of file dwfunctr.cxx.
References ScModule::InsertEntryToLRUList(), ScFuncDesc::nFIndex, pFuncDesc, and SC_MOD.
Referenced by DoEnter().
|
private |
Definition at line 57 of file dwfunctr.hxx.
Referenced by InitLRUList(), and UpdateFunctionList().
|
private |
Definition at line 55 of file dwfunctr.hxx.
Referenced by ScFunctionWin(), and SetDescription().
|
private |
Definition at line 54 of file dwfunctr.hxx.
Referenced by DoEnter(), and ScFunctionWin().
|
private |
Definition at line 53 of file dwfunctr.hxx.
Referenced by DoEnter(), and UpdateLRUList().
|
private |
Definition at line 46 of file dwfunctr.hxx.
Referenced by InitLRUList(), ScFunctionWin(), UpdateFunctionList(), and ~ScFunctionWin().
|
private |
Definition at line 52 of file dwfunctr.hxx.
Referenced by ~ScFunctionWin().
|
private |
Definition at line 51 of file dwfunctr.hxx.
Referenced by DoEnter(), and ~ScFunctionWin().
|
private |
Definition at line 49 of file dwfunctr.hxx.
Referenced by ScFunctionWin(), SetDescription(), and ~ScFunctionWin().
|
private |
Definition at line 47 of file dwfunctr.hxx.
Referenced by DoEnter(), ScFunctionWin(), SetDescription(), UpdateFunctionList(), and ~ScFunctionWin().
|
private |
Definition at line 48 of file dwfunctr.hxx.
Referenced by ScFunctionWin(), and ~ScFunctionWin().