LibreOffice Module sc (master) 1
|
#include <navipi.hxx>
Classes | |
struct | ScenarioEntry |
Public Member Functions | |
ScScenarioWindow (weld::Builder &rBuilder, const OUString &rQH_List, const OUString &rQH_Comment) | |
~ScScenarioWindow () | |
void | NotifyState (const SfxPoolItem *pState) |
void | SetComment (const OUString &rComment) |
Private Member Functions | |
void | UpdateEntries (const std::vector< OUString > &rNewEntryList) |
void | SelectScenario () |
void | ExecuteScenarioSlot (sal_uInt16 nSlotId) |
void | EditScenario () |
void | DeleteScenario () |
const ScenarioEntry * | GetSelectedScenarioEntry () const |
DECL_LINK (SelectHdl, weld::TreeView &, void) | |
DECL_LINK (DoubleClickHdl, weld::TreeView &, bool) | |
DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_LINK (ContextMenuHdl, const CommandEvent &, bool) | |
Private Attributes | |
std::unique_ptr< weld::TreeView > | m_xLbScenario |
std::unique_ptr< weld::TextView > | m_xEdComment |
std::vector< ScenarioEntry > | m_aEntries |
Definition at line 47 of file navipi.hxx.
ScScenarioWindow::ScScenarioWindow | ( | weld::Builder & | rBuilder, |
const OUString & | rQH_List, | ||
const OUString & | rQH_Comment | ||
) |
Definition at line 186 of file scenwnd.cxx.
References SfxViewFrame::Current(), SfxViewFrame::GetBindings(), HID_SC_SCENWIN_BOTTOM, HID_SC_SCENWIN_TOP, SfxBindings::Invalidate(), LINK, m_xEdComment, m_xLbScenario, and SfxBindings::Update().
ScScenarioWindow::~ScScenarioWindow | ( | ) |
Definition at line 211 of file scenwnd.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 171 of file scenwnd.cxx.
References Application::CreateMessageDialog(), ExecuteScenarioSlot(), m_xLbScenario, RET_YES, and ScResId().
|
private |
Definition at line 165 of file scenwnd.cxx.
References ExecuteScenarioSlot(), and m_xLbScenario.
|
private |
Definition at line 149 of file scenwnd.cxx.
References SfxViewFrame::Current(), and m_xLbScenario.
Referenced by DeleteScenario(), EditScenario(), and SelectScenario().
|
private |
Definition at line 143 of file scenwnd.cxx.
References m_aEntries, m_xLbScenario, and nPos.
void ScScenarioWindow::NotifyState | ( | const SfxPoolItem * | pState | ) |
Definition at line 215 of file scenwnd.cxx.
References m_xLbScenario, and UpdateEntries().
|
private |
Definition at line 159 of file scenwnd.cxx.
References ExecuteScenarioSlot(), and m_xLbScenario.
|
inline |
|
private |
Definition at line 37 of file scenwnd.cxx.
References m_aEntries, m_xLbScenario, ScScenarioWindow::ScenarioEntry::maComment, ScScenarioWindow::ScenarioEntry::maName, ScScenarioWindow::ScenarioEntry::mbProtected, and SetComment().
Referenced by NotifyState().
|
private |
Definition at line 71 of file navipi.hxx.
Referenced by GetSelectedScenarioEntry(), and UpdateEntries().
|
private |
Definition at line 60 of file navipi.hxx.
Referenced by ScScenarioWindow(), and SetComment().
|
private |
Definition at line 59 of file navipi.hxx.
Referenced by DeleteScenario(), EditScenario(), ExecuteScenarioSlot(), GetSelectedScenarioEntry(), NotifyState(), ScScenarioWindow(), SelectScenario(), and UpdateEntries().