LibreOffice Module sc (master)
1
|
#include <navipi.hxx>
Public Member Functions | |
ScNavigatorDlg (SfxBindings *pB, vcl::Window *pParent) | |
virtual | ~ScNavigatorDlg () override |
virtual void | dispose () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | StateChanged (StateChangedType nStateChange) override |
FactoryFunction | GetUITestFactory () const override |
![]() | |
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 |
![]() | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
Private Member Functions | |
DECL_LINK (TimeHdl, Timer *, void) | |
DECL_LINK (DocumentSelectHdl, weld::ComboBox &, void) | |
DECL_LINK (ExecuteRowHdl, weld::Entry &, bool) | |
DECL_LINK (ExecuteColHdl, weld::Entry &, bool) | |
DECL_LINK (ToolBoxSelectHdl, const OString &, void) | |
DECL_LINK (ToolBoxDropdownClickHdl, const OString &, void) | |
DECL_LINK (MenuSelectHdl, const OString &, void) | |
DECL_LINK (FormatRowOutputHdl, weld::SpinButton &, void) | |
DECL_LINK (ParseRowInputHdl, int *, bool) | |
void | UpdateButtons () |
void | SetCurrentCell (SCCOL nCol, SCROW Row) |
void | SetCurrentCellStr (const OUString &rName) |
void | SetCurrentTable (SCTAB nTab) |
void | SetCurrentTableStr (std::u16string_view rName) |
void | SetCurrentObject (const OUString &rName) |
void | SetCurrentDoc (const OUString &rDocName) |
void | UpdateSelection () |
ScViewData * | GetViewData () |
void | UpdateSheetLimits () |
void | UpdateColumn (const SCCOL *pCol=nullptr) |
void | UpdateRow (const SCROW *pRow=nullptr) |
void | UpdateTable (const SCTAB *pTab) |
void | UpdateAll () |
void | GetDocNames (const OUString *pSelEntry) |
void | SetListMode (NavListMode eMode) |
void | ShowList (bool bShow) |
void | ShowScenarios () |
void | SetDropMode (sal_uInt16 nNew) |
sal_uInt16 | GetDropMode () const |
void | MarkDataArea () |
void | UnmarkDataArea () |
void | StartOfDataArea () |
void | EndOfDataArea () |
Static Private Member Functions | |
static ScTabViewShell * | GetTabViewShell () |
static ScNavigatorSettings * | GetNavigatorSettings () |
static void | ReleaseFocus () |
Private Attributes | |
SfxBindings & | rBindings |
std::unique_ptr< weld::SpinButton > | m_xEdCol |
std::unique_ptr< weld::SpinButton > | m_xEdRow |
std::unique_ptr< weld::Toolbar > | m_xTbxCmd1 |
std::unique_ptr< weld::Toolbar > | m_xTbxCmd2 |
std::unique_ptr< ScContentTree > | m_xLbEntries |
std::unique_ptr< weld::Widget > | m_xScenarioBox |
std::unique_ptr< ScScenarioWindow > | m_xWndScenarios |
std::unique_ptr< weld::ComboBox > | m_xLbDocuments |
std::unique_ptr< weld::Menu > | m_xDragModeMenu |
Size | aExpandedSize |
Idle | aContentIdle |
OUString | aStrActive |
OUString | aStrNotActive |
OUString | aStrHidden |
OUString | aStrActiveWin |
std::unique_ptr< ScArea > | pMarkArea |
ScViewData * | pViewData |
NavListMode | eListMode |
sal_uInt16 | nDropMode |
SCCOL | nCurCol |
SCROW | nCurRow |
SCTAB | nCurTab |
std::array< std::unique_ptr< ScNavigatorControllerItem >, CTRL_ITEMS > | mvBoundItems |
Static Private Attributes | |
static constexpr int | CTRL_ITEMS = 4 |
Friends | |
class | ScNavigatorControllerItem |
class | ScNavigatorDialogWrapper |
class | ScContentTree |
class | ScNavigatorDlgUIObject |
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 86 of file navipi.hxx.
ScNavigatorDlg::ScNavigatorDlg | ( | SfxBindings * | pB, |
vcl::Window * | pParent | ||
) |
Definition at line 326 of file navipi.cxx.
References aContentIdle, aExpandedSize, aStrActive, aStrHidden, aStrNotActive, GetDocNames(), ScNavipiCfg::GetDragMode(), ScNavipiCfg::GetListMode(), PanelLayout::GetOptimalSize(), ScNavipiCfg::GetRootType(), LINK, PanelLayout::m_pInitialFocusWidget, m_xDragModeMenu, m_xEdCol, m_xEdRow, m_xLbDocuments, m_xLbEntries, m_xScenarioBox, m_xTbxCmd1, m_xTbxCmd2, mvBoundItems, NAV_LMODE_AREAS, NAV_LMODE_SCENARIOS, nDropMode, rBindings, ROOT, SC_MOD, ScNavigatorControllerItem, ScResId(), Timer::SetInvokeHandler(), SetListMode(), Task::SetPriority(), SfxGetpApp(), SfxListener::StartListening(), UpdateButtons(), UpdateColumn(), UpdateRow(), UpdateSheetLimits(), and UpdateTable().
|
overridevirtual |
Definition at line 448 of file navipi.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Reimplemented from PanelLayout.
Definition at line 453 of file navipi.cxx.
References aContentIdle, PanelLayout::dispose(), SfxListener::EndListening(), m_xDragModeMenu, m_xEdCol, m_xEdRow, m_xLbDocuments, m_xLbEntries, m_xScenarioBox, m_xTbxCmd1, m_xTbxCmd2, m_xWndScenarios, mvBoundItems, p, pMarkArea, rBindings, SfxGetpApp(), and Task::Stop().
|
private |
Definition at line 926 of file navipi.cxx.
References ScRange::aEnd, ScAddress::Col(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), GetViewData(), m_xEdCol, m_xEdRow, pViewData, ScAddress::Row(), and SetCurrentCell().
|
private |
Definition at line 831 of file navipi.cxx.
References aName, aStrActive, aStrActiveWin, aStrHidden, aStrNotActive, SfxObjectShell::Current(), SfxObjectShell::GetFirst(), SfxObjectShell::GetNext(), SfxObjectShell::GetTitle(), m_xLbDocuments, and m_xLbEntries.
Referenced by ScContentTree::ActiveDocChanged(), ScContentTree::LoadFile(), ScNavigatorDlg(), and ScContentTree::SetManualDoc().
|
inlineprivate |
Definition at line 164 of file navipi.hxx.
References nDropMode.
|
staticprivate |
Definition at line 694 of file navipi.cxx.
References ScTabViewShell::GetNavigatorSettings(), and GetTabViewShell().
Referenced by ScContentTree::ApplyNavigatorSettings(), and ScContentTree::StoreNavigatorSettings().
|
staticprivate |
Definition at line 689 of file navipi.cxx.
References SfxViewShell::Current().
Referenced by GetNavigatorSettings(), GetViewData(), IMPL_LINK(), MarkDataArea(), UnmarkDataArea(), and UpdateSelection().
|
override |
Definition at line 443 of file navipi.cxx.
References ScNavigatorDlgUIObject::create().
|
private |
Definition at line 705 of file navipi.cxx.
References GetTabViewShell(), ScTabView::GetViewData(), and pViewData.
Referenced by EndOfDataArea(), SetCurrentCell(), SetCurrentTableStr(), StartOfDataArea(), ScNavigatorControllerItem::StateChanged(), UpdateColumn(), UpdateRow(), UpdateSheetLimits(), and UpdateTable().
|
private |
Definition at line 877 of file navipi.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), GetTabViewShell(), ScTabView::GetViewData(), ScTabView::MarkDataArea(), pMarkArea, ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 476 of file navipi.cxx.
References aContentIdle, AREALINK, DBAREA, DRAWING, eListMode, SfxHint::GetId(), GRAPHIC, m_xLbEntries, NAV_LMODE_NONE, OLEOBJECT, RANGENAME, Idle::Start(), TABLE, UpdateAll(), UpdateSelection(), and UpdateSheetLimits().
|
staticprivate |
Definition at line 65 of file navipi.cxx.
References SfxViewShell::Current(), SfxViewShell::GetWindow(), and vcl::Window::GrabFocus().
Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().
Definition at line 566 of file navipi.cxx.
References ADDR_ABS, SfxDispatcher::ExecuteList(), ScAddress::Format(), SfxBindings::GetDispatcher(), ScViewData::GetMarkData(), GetViewData(), ScMarkData::IsCellMarked(), mvBoundItems, nCurCol, nCurRow, pViewData, and rBindings.
Referenced by EndOfDataArea(), and StartOfDataArea().
|
private |
Definition at line 590 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), mvBoundItems, and rBindings.
|
private |
Definition at line 655 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), and rBindings.
|
private |
Definition at line 647 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), and rBindings.
Definition at line 600 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), nCurTab, and rBindings.
Referenced by SetCurrentTableStr().
|
private |
Definition at line 612 of file navipi.cxx.
References ScViewData::GetDocument(), ScDocument::GetName(), ScDocument::GetTableCount(), GetViewData(), i, ScDocument::IsScenario(), nCount, pViewData, and SetCurrentTable().
|
private |
Definition at line 558 of file navipi.cxx.
References nDropMode, SC_MOD, ScNavipiCfg::SetDragMode(), and UpdateButtons().
|
private |
Definition at line 757 of file navipi.cxx.
References aExpandedSize, eListMode, SfxChildWindowContext::GetFloatingWindow(), PanelLayout::GetOptimalSize(), Size::Height(), m_xLbEntries, NAV_LMODE_AREAS, NAV_LMODE_NONE, NAV_LMODE_SCENARIOS, pMarkArea, SC_MOD, Size::setHeight(), ScNavipiCfg::SetListMode(), SfxDockingWindow::SetMinOutputSizePixel(), ShowList(), ShowScenarios(), UnmarkDataArea(), and UpdateButtons().
Referenced by ScNavigatorDlg().
|
private |
Definition at line 805 of file navipi.cxx.
References m_xLbDocuments, m_xLbEntries, and m_xScenarioBox.
Referenced by SetListMode().
|
private |
Definition at line 820 of file navipi.cxx.
References SfxBindings::Invalidate(), m_xLbDocuments, m_xLbEntries, m_xScenarioBox, rBindings, and SfxBindings::Update().
Referenced by SetListMode().
|
private |
Definition at line 908 of file navipi.cxx.
References ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), GetViewData(), m_xEdCol, m_xEdRow, pViewData, ScAddress::Row(), and SetCurrentCell().
|
overridevirtual |
Definition at line 431 of file navipi.cxx.
References SfxChildWindowContext::GetFloatingWindow(), and m_xTbxCmd1.
|
private |
Definition at line 897 of file navipi.cxx.
References GetTabViewShell(), pMarkArea, and ScTabView::Unmark().
Referenced by SetListMode().
|
private |
???
Definition at line 740 of file navipi.cxx.
References aContentIdle, eListMode, m_xLbEntries, NAV_LMODE_AREAS, NAV_LMODE_NONE, and Task::Stop().
Referenced by Notify().
|
private |
Definition at line 270 of file navipi.cxx.
References eMode, NAV_LMODE_NONE, NAV_LMODE_SCENARIOS, ROOT, SC_DROPMODE_COPY, SC_DROPMODE_LINK, and SC_DROPMODE_URL.
Referenced by ScNavigatorDlg(), SetDropMode(), and SetListMode().
Definition at line 712 of file navipi.cxx.
References ScViewData::GetCurX(), GetViewData(), m_xEdCol, nCurCol, and pViewData.
Referenced by ScNavigatorDlg(), and ScNavigatorControllerItem::StateChanged().
Definition at line 722 of file navipi.cxx.
References ScViewData::GetCurY(), GetViewData(), m_xEdRow, nCurRow, and pViewData.
Referenced by ScNavigatorDlg(), and ScNavigatorControllerItem::StateChanged().
|
private |
Definition at line 663 of file navipi.cxx.
References DRAWING, ScTabViewShell::getSelectedXShapes(), GetTabViewShell(), m_xLbEntries, and sName.
Referenced by Notify().
|
private |
Definition at line 420 of file navipi.cxx.
References ScDocument::GetSheetLimits(), GetViewData(), m_xEdCol, m_xEdRow, pData, SCNAV_COLDIGITS(), SCNAV_MAXCOL(), and SCNAV_MAXROW().
Referenced by Notify(), and ScNavigatorDlg().
Definition at line 732 of file navipi.cxx.
References ScViewData::GetTabNo(), GetViewData(), nCurTab, and pViewData.
Referenced by ScNavigatorDlg(), and ScNavigatorControllerItem::StateChanged().
|
friend |
Definition at line 90 of file navipi.hxx.
|
friend |
Definition at line 88 of file navipi.hxx.
Referenced by ScNavigatorDlg().
|
friend |
Definition at line 89 of file navipi.hxx.
|
friend |
Definition at line 91 of file navipi.hxx.
|
private |
Definition at line 109 of file navipi.hxx.
Referenced by dispose(), Notify(), ScNavigatorDlg(), and UpdateAll().
|
private |
Definition at line 108 of file navipi.hxx.
Referenced by ScNavigatorDlg(), and SetListMode().
|
private |
Definition at line 111 of file navipi.hxx.
Referenced by GetDocNames(), ScNavigatorDlg(), and ScContentTree::SelectDoc().
|
private |
Definition at line 114 of file navipi.hxx.
Referenced by GetDocNames(), and ScContentTree::SelectDoc().
|
private |
Definition at line 113 of file navipi.hxx.
Referenced by GetDocNames(), and ScNavigatorDlg().
|
private |
Definition at line 112 of file navipi.hxx.
Referenced by GetDocNames(), ScNavigatorDlg(), and ScContentTree::SelectDoc().
|
staticprivate |
Definition at line 94 of file navipi.hxx.
|
private |
Definition at line 119 of file navipi.hxx.
Referenced by Notify(), SetListMode(), and UpdateAll().
|
private |
Definition at line 106 of file navipi.hxx.
Referenced by dispose(), and ScNavigatorDlg().
|
private |
Definition at line 98 of file navipi.hxx.
Referenced by dispose(), EndOfDataArea(), ScNavigatorDlg(), StartOfDataArea(), UpdateColumn(), and UpdateSheetLimits().
|
private |
Definition at line 99 of file navipi.hxx.
Referenced by dispose(), EndOfDataArea(), ScNavigatorDlg(), StartOfDataArea(), UpdateRow(), and UpdateSheetLimits().
|
private |
Definition at line 105 of file navipi.hxx.
Referenced by dispose(), GetDocNames(), ScNavigatorDlg(), ShowList(), and ShowScenarios().
|
private |
Definition at line 102 of file navipi.hxx.
Referenced by dispose(), GetDocNames(), Notify(), ScNavigatorDlg(), SetListMode(), ShowList(), ShowScenarios(), UpdateAll(), and UpdateSelection().
|
private |
Definition at line 103 of file navipi.hxx.
Referenced by dispose(), ScNavigatorDlg(), ShowList(), and ShowScenarios().
|
private |
Definition at line 100 of file navipi.hxx.
Referenced by dispose(), ScNavigatorDlg(), and StateChanged().
|
private |
Definition at line 101 of file navipi.hxx.
Referenced by dispose(), and ScNavigatorDlg().
|
private |
Definition at line 104 of file navipi.hxx.
Referenced by dispose(), and ScNavigatorControllerItem::StateChanged().
|
private |
Definition at line 125 of file navipi.hxx.
Referenced by dispose(), ScNavigatorDlg(), SetCurrentCell(), and SetCurrentCellStr().
|
private |
Definition at line 121 of file navipi.hxx.
Referenced by SetCurrentCell(), and UpdateColumn().
|
private |
Definition at line 122 of file navipi.hxx.
Referenced by SetCurrentCell(), and UpdateRow().
|
private |
Definition at line 123 of file navipi.hxx.
Referenced by SetCurrentTable(), and UpdateTable().
|
private |
Definition at line 120 of file navipi.hxx.
Referenced by GetDropMode(), ScNavigatorDlg(), and SetDropMode().
|
private |
Definition at line 116 of file navipi.hxx.
Referenced by dispose(), MarkDataArea(), SetListMode(), and UnmarkDataArea().
|
private |
Definition at line 117 of file navipi.hxx.
Referenced by EndOfDataArea(), GetViewData(), SetCurrentCell(), SetCurrentTableStr(), StartOfDataArea(), UpdateColumn(), UpdateRow(), and UpdateTable().
|
private |
Definition at line 96 of file navipi.hxx.
Referenced by dispose(), ScNavigatorDlg(), SetCurrentCell(), SetCurrentCellStr(), SetCurrentDoc(), SetCurrentObject(), SetCurrentTable(), and ShowScenarios().