LibreOffice Module sc (master)
1
|
#include <dwfunctr.hxx>
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 () |
![]() | |
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 | GetFocus () override |
virtual void | setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::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::ComboBox > | xCatBox |
std::unique_ptr< weld::TreeView > | xFuncList |
std::unique_ptr< weld::Button > | xInsertButton |
std::unique_ptr< weld::Label > | xFiFuncDesc |
rtl::Reference< comphelper::ConfigurationListener > | xConfigListener |
std::unique_ptr< EnglishFunctionNameChange > | xConfigChange |
const ScFuncDesc * | pFuncDesc |
sal_uInt16 | nArgs |
::std::vector< const formula::IFunctionDescription * > | aLRUList |
Additional Inherited Members | |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
VclPtr< vcl::Window > | m_xVclContentArea |
std::unique_ptr< weld::Container > | m_xContainer |
weld::Widget * | m_pInitialFocusWidget |
Definition at line 43 of file dwfunctr.hxx.
ScFunctionWin::ScFunctionWin | ( | vcl::Window * | pParent, |
const css::uno::Reference< css::frame::XFrame > & | rFrame | ||
) |
Definition at line 47 of file dwfunctr.cxx.
References InitLRUList(), LINK, PanelLayout::m_pInitialFocusWidget, nArgs, xCatBox, xFiFuncDesc, xFuncList, and xInsertButton.
|
overridevirtual |
Definition at line 91 of file dwfunctr.cxx.
|
private |
|
private |
|
private |
|
private |
Reimplemented from PanelLayout.
Definition at line 96 of file dwfunctr.cxx.
References PanelLayout::dispose(), xCatBox, xConfigChange, xConfigListener, xFiFuncDesc, xFuncList, and xInsertButton.
|
private |
Definition at line 265 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(), VclReferenceBase::isDisposed(), 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, and xFuncList.
void ScFunctionWin::InitLRUList | ( | ) |
Definition at line 125 of file dwfunctr.cxx.
References aLRUList, ScFunctionMgr::fillLastRecentlyUsedFunctions(), ScGlobal::GetStarCalcFunctionMgr(), UpdateFunctionList(), and xCatBox.
Referenced by DoEnter(), ScFunctionWin(), and EnglishFunctionNameChange::setProperty().
|
private |
Definition at line 173 of file dwfunctr.cxx.
References aBuf, EMPTY_OUSTRING, ScFuncDesc::GetParamList(), ScFuncDesc::initArgumentInfo(), ScFuncDesc::mxFuncDesc, xFiFuncDesc, and xFuncList.
void ScFunctionWin::UpdateFunctionList | ( | ) |
Definition at line 206 of file dwfunctr.cxx.
References aLRUList, ScFunctionMgr::First(), ScGlobal::GetStarCalcFunctionMgr(), ScFuncDesc::mxFuncName, ScFunctionMgr::Next(), xCatBox, and xFuncList.
Referenced by InitLRUList(), and EnglishFunctionNameChange::setProperty().
|
private |
Definition at line 150 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 DoEnter(), and ScFunctionWin().
|
private |
Definition at line 54 of file dwfunctr.hxx.
Referenced by DoEnter(), and UpdateLRUList().
|
private |
Definition at line 47 of file dwfunctr.hxx.
Referenced by dispose(), InitLRUList(), ScFunctionWin(), and UpdateFunctionList().
|
private |
Definition at line 53 of file dwfunctr.hxx.
Referenced by dispose().
|
private |
Definition at line 52 of file dwfunctr.hxx.
Referenced by dispose().
|
private |
Definition at line 50 of file dwfunctr.hxx.
Referenced by dispose(), ScFunctionWin(), and SetDescription().
|
private |
Definition at line 48 of file dwfunctr.hxx.
Referenced by dispose(), DoEnter(), ScFunctionWin(), SetDescription(), and UpdateFunctionList().
|
private |
Definition at line 49 of file dwfunctr.hxx.
Referenced by dispose(), and ScFunctionWin().