LibreOffice Module sc (master) 1
|
#include <navipi.hxx>
Public Member Functions | |
ScNavigatorDlg (SfxBindings *pB, weld::Widget *pParent, SfxNavigator *pNavigatorDlg) | |
virtual weld::Window * | GetFrameWeld () const override |
virtual | ~ScNavigatorDlg () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
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 () |
Public Member Functions inherited from SfxListener | |
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 |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
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 OUString &, void) | |
DECL_LINK (ToolBoxDropdownClickHdl, const OUString &, void) | |
DECL_LINK (MenuSelectHdl, const OUString &, 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 () |
void | ContentUpdated () |
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 () |
void | UpdateInitShow () |
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 |
VclPtr< SfxNavigator > | m_xNavigatorDlg |
Size | aExpandedSize |
Idle | aContentIdle |
OUString | aStrActive |
OUString | aStrNotActive |
OUString | aStrHidden |
OUString | aStrActiveWin |
std::optional< ScArea > | moMarkArea |
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 | ScNavigatorWin |
class | ScNavigatorControllerItem |
class | ScContentTree |
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 86 of file navipi.hxx.
ScNavigatorDlg::ScNavigatorDlg | ( | SfxBindings * | pB, |
weld::Widget * | pParent, | ||
SfxNavigator * | pNavigatorDlg | ||
) |
Definition at line 337 of file navipi.cxx.
References aContentIdle, aStrActive, aStrHidden, aStrNotActive, GetDocNames(), ScNavipiCfg::GetDragMode(), ScNavipiCfg::GetListMode(), ScNavipiCfg::GetRootType(), comphelper::LibreOfficeKit::isActive(), LINK, PanelLayout::m_xBuilder, 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(), UpdateInitShow(), UpdateRow(), UpdateSheetLimits(), and UpdateTable().
|
overridevirtual |
Definition at line 467 of file navipi.cxx.
References aContentIdle, SfxListener::EndListening(), m_xDragModeMenu, m_xEdCol, m_xEdRow, m_xLbDocuments, m_xLbEntries, m_xScenarioBox, m_xTbxCmd1, m_xTbxCmd2, m_xWndScenarios, moMarkArea, mvBoundItems, p, rBindings, SfxGetpApp(), and Task::Stop().
|
private |
Definition at line 770 of file navipi.cxx.
References aContentIdle, and Task::Stop().
Referenced by Notify(), and UpdateAll().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 943 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 850 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 166 of file navipi.hxx.
References nDropMode.
|
overridevirtual |
Reimplemented from PanelLayout.
Definition at line 434 of file navipi.cxx.
References PanelLayout::GetFrameWeld(), and m_xNavigatorDlg.
|
staticprivate |
Definition at line 708 of file navipi.cxx.
References ScTabViewShell::GetNavigatorSettings(), and GetTabViewShell().
Referenced by ScContentTree::ApplyNavigatorSettings(), and ScContentTree::StoreNavigatorSettings().
|
staticprivate |
Definition at line 703 of file navipi.cxx.
References SfxViewShell::Current().
Referenced by GetNavigatorSettings(), GetViewData(), IMPL_LINK(), MarkDataArea(), UnmarkDataArea(), and UpdateSelection().
|
private |
Definition at line 719 of file navipi.cxx.
References GetTabViewShell(), ScTabView::GetViewData(), and pViewData.
Referenced by EndOfDataArea(), SetCurrentCell(), SetCurrentTableStr(), StartOfDataArea(), ScNavigatorControllerItem::StateChangedAtToolBoxControl(), UpdateColumn(), UpdateRow(), UpdateSheetLimits(), and UpdateTable().
|
private |
Definition at line 896 of file navipi.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), GetTabViewShell(), ScTabView::GetViewData(), ScTabView::MarkDataArea(), moMarkArea, ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 489 of file navipi.cxx.
References aContentIdle, AREALINK, ContentUpdated(), DBAREA, DRAWING, eListMode, SfxHint::GetId(), GRAPHIC, m_xLbEntries, NAV_LMODE_NONE, OLEOBJECT, RANGENAME, Idle::Start(), TABLE, UpdateAll(), UpdateSelection(), and UpdateSheetLimits().
|
staticprivate |
Definition at line 64 of file navipi.cxx.
References SfxViewShell::Current(), SfxViewShell::GetWindow(), and vcl::Window::GrabFocus().
Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().
Definition at line 580 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 604 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), mvBoundItems, and rBindings.
|
private |
Definition at line 669 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), and rBindings.
|
private |
Definition at line 661 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), and rBindings.
|
private |
Definition at line 614 of file navipi.cxx.
References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), nCurTab, and rBindings.
Referenced by SetCurrentTableStr().
|
private |
Definition at line 626 of file navipi.cxx.
References ScViewData::GetDocument(), ScDocument::GetName(), ScDocument::GetTableCount(), GetViewData(), i, ScDocument::IsScenario(), nCount, pViewData, and SetCurrentTable().
|
private |
Definition at line 572 of file navipi.cxx.
References nDropMode, SC_MOD, ScNavipiCfg::SetDragMode(), and UpdateButtons().
|
private |
Definition at line 775 of file navipi.cxx.
References aExpandedSize, eListMode, eMode, VclPtr< class reference_type >::get(), Size::Height(), m_xLbEntries, m_xNavigatorDlg, moMarkArea, NAV_LMODE_AREAS, NAV_LMODE_NONE, NAV_LMODE_SCENARIOS, ParentIsFloatingWindow(), SC_MOD, Size::setHeight(), ScNavipiCfg::SetListMode(), SfxDockingWindow::SetMinOutputSizePixel(), ShowList(), ShowScenarios(), UnmarkDataArea(), and UpdateButtons().
Referenced by ScNavigatorDlg().
|
private |
Definition at line 824 of file navipi.cxx.
References m_xLbDocuments, m_xLbEntries, and m_xScenarioBox.
Referenced by SetListMode().
|
private |
Definition at line 839 of file navipi.cxx.
References SfxBindings::Invalidate(), m_xLbDocuments, m_xLbEntries, m_xScenarioBox, rBindings, and SfxBindings::Update().
Referenced by SetListMode().
|
private |
Definition at line 926 of file navipi.cxx.
References ScRange::aStart, ScAddress::Col(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), GetViewData(), m_xEdCol, m_xEdRow, pViewData, ScAddress::Row(), and SetCurrentCell().
|
private |
Definition at line 915 of file navipi.cxx.
References GetTabViewShell(), moMarkArea, and ScTabView::Unmark().
Referenced by SetListMode().
|
private |
???
Definition at line 754 of file navipi.cxx.
References ContentUpdated(), eListMode, m_xLbEntries, NAV_LMODE_AREAS, and NAV_LMODE_NONE.
Referenced by Notify().
|
private |
Definition at line 268 of file navipi.cxx.
References eListMode, eMode, m_xLbEntries, m_xTbxCmd1, m_xTbxCmd2, NAV_LMODE_NONE, NAV_LMODE_SCENARIOS, nDropMode, ROOT, SC_DROPMODE_COPY, SC_DROPMODE_LINK, and SC_DROPMODE_URL.
Referenced by ScNavigatorDlg(), SetDropMode(), and SetListMode().
|
private |
Definition at line 726 of file navipi.cxx.
References ScViewData::GetCurX(), GetViewData(), m_xEdCol, nCurCol, and pViewData.
Referenced by ScNavigatorDlg(), and ScNavigatorControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 452 of file navipi.cxx.
References m_xNavigatorDlg, m_xTbxCmd1, and ParentIsFloatingWindow().
Referenced by ScNavigatorDlg().
|
private |
Definition at line 736 of file navipi.cxx.
References ScViewData::GetCurY(), GetViewData(), m_xEdRow, nCurRow, and pViewData.
Referenced by ScNavigatorDlg(), and ScNavigatorControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 677 of file navipi.cxx.
References DRAWING, ScTabViewShell::getSelectedXShapes(), GetTabViewShell(), m_xLbEntries, and sName.
Referenced by Notify().
|
private |
Definition at line 441 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().
|
private |
Definition at line 746 of file navipi.cxx.
References ScViewData::GetTabNo(), GetViewData(), nCurTab, and pViewData.
Referenced by ScNavigatorDlg(), and ScNavigatorControllerItem::StateChangedAtToolBoxControl().
|
friend |
Definition at line 90 of file navipi.hxx.
|
friend |
Definition at line 89 of file navipi.hxx.
Referenced by ScNavigatorDlg().
|
friend |
Definition at line 88 of file navipi.hxx.
|
private |
Definition at line 110 of file navipi.hxx.
Referenced by ContentUpdated(), Notify(), ScNavigatorDlg(), and ~ScNavigatorDlg().
|
private |
Definition at line 109 of file navipi.hxx.
Referenced by SetListMode().
|
private |
Definition at line 112 of file navipi.hxx.
Referenced by GetDocNames(), ScNavigatorDlg(), and ScContentTree::SelectDoc().
|
private |
Definition at line 115 of file navipi.hxx.
Referenced by GetDocNames(), and ScContentTree::SelectDoc().
|
private |
Definition at line 114 of file navipi.hxx.
Referenced by GetDocNames(), and ScNavigatorDlg().
|
private |
Definition at line 113 of file navipi.hxx.
Referenced by GetDocNames(), ScNavigatorDlg(), and ScContentTree::SelectDoc().
|
staticconstexprprivate |
Definition at line 93 of file navipi.hxx.
|
private |
Definition at line 120 of file navipi.hxx.
Referenced by Notify(), SetListMode(), UpdateAll(), and UpdateButtons().
|
private |
Definition at line 105 of file navipi.hxx.
Referenced by ScNavigatorDlg(), and ~ScNavigatorDlg().
|
private |
Definition at line 97 of file navipi.hxx.
Referenced by EndOfDataArea(), ScNavigatorDlg(), StartOfDataArea(), UpdateColumn(), UpdateSheetLimits(), and ~ScNavigatorDlg().
|
private |
Definition at line 98 of file navipi.hxx.
Referenced by EndOfDataArea(), ScNavigatorDlg(), StartOfDataArea(), UpdateRow(), UpdateSheetLimits(), and ~ScNavigatorDlg().
|
private |
Definition at line 104 of file navipi.hxx.
Referenced by GetDocNames(), ScNavigatorDlg(), ShowList(), ShowScenarios(), and ~ScNavigatorDlg().
|
private |
Definition at line 101 of file navipi.hxx.
Referenced by GetDocNames(), Notify(), ScNavigatorDlg(), SetListMode(), ShowList(), ShowScenarios(), UpdateAll(), UpdateButtons(), UpdateSelection(), and ~ScNavigatorDlg().
|
private |
Definition at line 107 of file navipi.hxx.
Referenced by GetFrameWeld(), SetListMode(), and UpdateInitShow().
|
private |
Definition at line 102 of file navipi.hxx.
Referenced by ScNavigatorDlg(), ShowList(), ShowScenarios(), and ~ScNavigatorDlg().
|
private |
Definition at line 99 of file navipi.hxx.
Referenced by ScNavigatorDlg(), UpdateButtons(), UpdateInitShow(), and ~ScNavigatorDlg().
|
private |
Definition at line 100 of file navipi.hxx.
Referenced by ScNavigatorDlg(), UpdateButtons(), and ~ScNavigatorDlg().
|
private |
Definition at line 103 of file navipi.hxx.
Referenced by ScNavigatorControllerItem::StateChangedAtToolBoxControl(), and ~ScNavigatorDlg().
|
private |
Definition at line 117 of file navipi.hxx.
Referenced by MarkDataArea(), SetListMode(), UnmarkDataArea(), and ~ScNavigatorDlg().
|
private |
Definition at line 126 of file navipi.hxx.
Referenced by ScNavigatorDlg(), SetCurrentCell(), SetCurrentCellStr(), and ~ScNavigatorDlg().
|
private |
Definition at line 122 of file navipi.hxx.
Referenced by SetCurrentCell(), and UpdateColumn().
|
private |
Definition at line 123 of file navipi.hxx.
Referenced by SetCurrentCell(), and UpdateRow().
|
private |
Definition at line 124 of file navipi.hxx.
Referenced by SetCurrentTable(), and UpdateTable().
|
private |
Definition at line 121 of file navipi.hxx.
Referenced by GetDropMode(), ScNavigatorDlg(), SetDropMode(), and UpdateButtons().
|
private |
Definition at line 118 of file navipi.hxx.
Referenced by EndOfDataArea(), GetViewData(), SetCurrentCell(), SetCurrentTableStr(), StartOfDataArea(), UpdateColumn(), UpdateRow(), and UpdateTable().
|
private |
Definition at line 95 of file navipi.hxx.
Referenced by ScNavigatorDlg(), SetCurrentCell(), SetCurrentCellStr(), SetCurrentDoc(), SetCurrentObject(), SetCurrentTable(), ShowScenarios(), and ~ScNavigatorDlg().