LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
ScNavigatorDlg Class Reference

#include <navipi.hxx>

Inheritance diagram for ScNavigatorDlg:
[legend]
Collaboration diagram for ScNavigatorDlg:
[legend]

Public Member Functions

 ScNavigatorDlg (SfxBindings *pB, weld::Widget *pParent, SfxNavigator *pNavigatorDlg)
 
virtual weld::WindowGetFrameWeld () 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
 
SfxBroadcasterGetBroadcasterJOE (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 ()
 
ScViewDataGetViewData ()
 
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 ScTabViewShellGetTabViewShell ()
 
static ScNavigatorSettingsGetNavigatorSettings ()
 
static void ReleaseFocus ()
 

Private Attributes

SfxBindingsrBindings
 
std::unique_ptr< weld::SpinButtonm_xEdCol
 
std::unique_ptr< weld::SpinButtonm_xEdRow
 
std::unique_ptr< weld::Toolbarm_xTbxCmd1
 
std::unique_ptr< weld::Toolbarm_xTbxCmd2
 
std::unique_ptr< ScContentTreem_xLbEntries
 
std::unique_ptr< weld::Widgetm_xScenarioBox
 
std::unique_ptr< ScScenarioWindowm_xWndScenarios
 
std::unique_ptr< weld::ComboBoxm_xLbDocuments
 
std::unique_ptr< weld::Menum_xDragModeMenu
 
VclPtr< SfxNavigatorm_xNavigatorDlg
 
Size aExpandedSize
 
Idle aContentIdle
 
OUString aStrActive
 
OUString aStrNotActive
 
OUString aStrHidden
 
OUString aStrActiveWin
 
std::optional< ScAreamoMarkArea
 
ScViewDatapViewData
 
NavListMode eListMode
 
sal_uInt16 nDropMode
 
SCCOL nCurCol
 
SCROW nCurRow
 
SCTAB nCurTab
 
std::array< std::unique_ptr< ScNavigatorControllerItem >, CTRL_ITEMSmvBoundItems
 

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::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 86 of file navipi.hxx.

Constructor & Destructor Documentation

◆ ScNavigatorDlg()

ScNavigatorDlg::ScNavigatorDlg ( SfxBindings pB,
weld::Widget pParent,
SfxNavigator pNavigatorDlg 
)

◆ ~ScNavigatorDlg()

ScNavigatorDlg::~ScNavigatorDlg ( )
overridevirtual

Member Function Documentation

◆ ContentUpdated()

void ScNavigatorDlg::ContentUpdated ( )
private

Definition at line 770 of file navipi.cxx.

References aContentIdle, and Task::Stop().

Referenced by Notify(), and UpdateAll().

◆ DECL_LINK() [1/9]

ScNavigatorDlg::DECL_LINK ( DocumentSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/9]

ScNavigatorDlg::DECL_LINK ( ExecuteColHdl  ,
weld::Entry ,
bool   
)
private

◆ DECL_LINK() [3/9]

ScNavigatorDlg::DECL_LINK ( ExecuteRowHdl  ,
weld::Entry ,
bool   
)
private

◆ DECL_LINK() [4/9]

ScNavigatorDlg::DECL_LINK ( FormatRowOutputHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [5/9]

ScNavigatorDlg::DECL_LINK ( MenuSelectHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [6/9]

ScNavigatorDlg::DECL_LINK ( ParseRowInputHdl  ,
int ,
bool   
)
private

◆ DECL_LINK() [7/9]

ScNavigatorDlg::DECL_LINK ( TimeHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [8/9]

ScNavigatorDlg::DECL_LINK ( ToolBoxDropdownClickHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [9/9]

ScNavigatorDlg::DECL_LINK ( ToolBoxSelectHdl  ,
const OUString &  ,
void   
)
private

◆ EndOfDataArea()

void ScNavigatorDlg::EndOfDataArea ( )
private

◆ GetDocNames()

void ScNavigatorDlg::GetDocNames ( const OUString *  pSelEntry)
private

◆ GetDropMode()

sal_uInt16 ScNavigatorDlg::GetDropMode ( ) const
inlineprivate

Definition at line 166 of file navipi.hxx.

References nDropMode.

◆ GetFrameWeld()

weld::Window * ScNavigatorDlg::GetFrameWeld ( ) const
overridevirtual

Reimplemented from PanelLayout.

Definition at line 434 of file navipi.cxx.

References PanelLayout::GetFrameWeld(), and m_xNavigatorDlg.

◆ GetNavigatorSettings()

ScNavigatorSettings * ScNavigatorDlg::GetNavigatorSettings ( )
staticprivate

◆ GetTabViewShell()

ScTabViewShell * ScNavigatorDlg::GetTabViewShell ( )
staticprivate

◆ GetViewData()

ScViewData * ScNavigatorDlg::GetViewData ( )
private

◆ MarkDataArea()

void ScNavigatorDlg::MarkDataArea ( )
private

◆ Notify()

void ScNavigatorDlg::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

◆ ReleaseFocus()

void ScNavigatorDlg::ReleaseFocus ( )
staticprivate

◆ SetCurrentCell()

void ScNavigatorDlg::SetCurrentCell ( SCCOL  nCol,
SCROW  Row 
)
private

◆ SetCurrentCellStr()

void ScNavigatorDlg::SetCurrentCellStr ( const OUString &  rName)
private

◆ SetCurrentDoc()

void ScNavigatorDlg::SetCurrentDoc ( const OUString &  rDocName)
private

Definition at line 669 of file navipi.cxx.

References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), and rBindings.

◆ SetCurrentObject()

void ScNavigatorDlg::SetCurrentObject ( const OUString &  rName)
private

Definition at line 661 of file navipi.cxx.

References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), and rBindings.

◆ SetCurrentTable()

void ScNavigatorDlg::SetCurrentTable ( SCTAB  nTab)
private

Definition at line 614 of file navipi.cxx.

References SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), nCurTab, and rBindings.

Referenced by SetCurrentTableStr().

◆ SetCurrentTableStr()

void ScNavigatorDlg::SetCurrentTableStr ( std::u16string_view  rName)
private

◆ SetDropMode()

void ScNavigatorDlg::SetDropMode ( sal_uInt16  nNew)
private

Definition at line 572 of file navipi.cxx.

References nDropMode, SC_MOD, ScNavipiCfg::SetDragMode(), and UpdateButtons().

◆ SetListMode()

void ScNavigatorDlg::SetListMode ( NavListMode  eMode)
private

◆ ShowList()

void ScNavigatorDlg::ShowList ( bool  bShow)
private

Definition at line 824 of file navipi.cxx.

References m_xLbDocuments, m_xLbEntries, and m_xScenarioBox.

Referenced by SetListMode().

◆ ShowScenarios()

void ScNavigatorDlg::ShowScenarios ( )
private

◆ StartOfDataArea()

void ScNavigatorDlg::StartOfDataArea ( )
private

◆ UnmarkDataArea()

void ScNavigatorDlg::UnmarkDataArea ( )
private

Definition at line 915 of file navipi.cxx.

References GetTabViewShell(), moMarkArea, and ScTabView::Unmark().

Referenced by SetListMode().

◆ UpdateAll()

void ScNavigatorDlg::UpdateAll ( )
private

???

Definition at line 754 of file navipi.cxx.

References ContentUpdated(), eListMode, m_xLbEntries, NAV_LMODE_AREAS, and NAV_LMODE_NONE.

Referenced by Notify().

◆ UpdateButtons()

void ScNavigatorDlg::UpdateButtons ( )
private

◆ UpdateColumn()

void ScNavigatorDlg::UpdateColumn ( const SCCOL pCol = nullptr)
private

◆ UpdateInitShow()

void ScNavigatorDlg::UpdateInitShow ( )
private

Definition at line 452 of file navipi.cxx.

References m_xNavigatorDlg, m_xTbxCmd1, and ParentIsFloatingWindow().

Referenced by ScNavigatorDlg().

◆ UpdateRow()

void ScNavigatorDlg::UpdateRow ( const SCROW pRow = nullptr)
private

◆ UpdateSelection()

void ScNavigatorDlg::UpdateSelection ( )
private

Definition at line 677 of file navipi.cxx.

References DRAWING, ScTabViewShell::getSelectedXShapes(), GetTabViewShell(), m_xLbEntries, and sName.

Referenced by Notify().

◆ UpdateSheetLimits()

void ScNavigatorDlg::UpdateSheetLimits ( )
private

◆ UpdateTable()

void ScNavigatorDlg::UpdateTable ( const SCTAB pTab)
private

Friends And Related Function Documentation

◆ ScContentTree

friend class ScContentTree
friend

Definition at line 90 of file navipi.hxx.

◆ ScNavigatorControllerItem

friend class ScNavigatorControllerItem
friend

Definition at line 89 of file navipi.hxx.

Referenced by ScNavigatorDlg().

◆ ScNavigatorWin

friend class ScNavigatorWin
friend

Definition at line 88 of file navipi.hxx.

Member Data Documentation

◆ aContentIdle

Idle ScNavigatorDlg::aContentIdle
private

Definition at line 110 of file navipi.hxx.

Referenced by ContentUpdated(), Notify(), ScNavigatorDlg(), and ~ScNavigatorDlg().

◆ aExpandedSize

Size ScNavigatorDlg::aExpandedSize
private

Definition at line 109 of file navipi.hxx.

Referenced by SetListMode().

◆ aStrActive

OUString ScNavigatorDlg::aStrActive
private

Definition at line 112 of file navipi.hxx.

Referenced by GetDocNames(), ScNavigatorDlg(), and ScContentTree::SelectDoc().

◆ aStrActiveWin

OUString ScNavigatorDlg::aStrActiveWin
private

Definition at line 115 of file navipi.hxx.

Referenced by GetDocNames(), and ScContentTree::SelectDoc().

◆ aStrHidden

OUString ScNavigatorDlg::aStrHidden
private

Definition at line 114 of file navipi.hxx.

Referenced by GetDocNames(), and ScNavigatorDlg().

◆ aStrNotActive

OUString ScNavigatorDlg::aStrNotActive
private

Definition at line 113 of file navipi.hxx.

Referenced by GetDocNames(), ScNavigatorDlg(), and ScContentTree::SelectDoc().

◆ CTRL_ITEMS

constexpr int ScNavigatorDlg::CTRL_ITEMS = 4
staticconstexprprivate

Definition at line 93 of file navipi.hxx.

◆ eListMode

NavListMode ScNavigatorDlg::eListMode
private

Definition at line 120 of file navipi.hxx.

Referenced by Notify(), SetListMode(), UpdateAll(), and UpdateButtons().

◆ m_xDragModeMenu

std::unique_ptr<weld::Menu> ScNavigatorDlg::m_xDragModeMenu
private

Definition at line 105 of file navipi.hxx.

Referenced by ScNavigatorDlg(), and ~ScNavigatorDlg().

◆ m_xEdCol

std::unique_ptr<weld::SpinButton> ScNavigatorDlg::m_xEdCol
private

◆ m_xEdRow

std::unique_ptr<weld::SpinButton> ScNavigatorDlg::m_xEdRow
private

◆ m_xLbDocuments

std::unique_ptr<weld::ComboBox> ScNavigatorDlg::m_xLbDocuments
private

Definition at line 104 of file navipi.hxx.

Referenced by GetDocNames(), ScNavigatorDlg(), ShowList(), ShowScenarios(), and ~ScNavigatorDlg().

◆ m_xLbEntries

std::unique_ptr<ScContentTree> ScNavigatorDlg::m_xLbEntries
private

◆ m_xNavigatorDlg

VclPtr<SfxNavigator> ScNavigatorDlg::m_xNavigatorDlg
private

Definition at line 107 of file navipi.hxx.

Referenced by GetFrameWeld(), SetListMode(), and UpdateInitShow().

◆ m_xScenarioBox

std::unique_ptr<weld::Widget> ScNavigatorDlg::m_xScenarioBox
private

Definition at line 102 of file navipi.hxx.

Referenced by ScNavigatorDlg(), ShowList(), ShowScenarios(), and ~ScNavigatorDlg().

◆ m_xTbxCmd1

std::unique_ptr<weld::Toolbar> ScNavigatorDlg::m_xTbxCmd1
private

Definition at line 99 of file navipi.hxx.

Referenced by ScNavigatorDlg(), UpdateButtons(), UpdateInitShow(), and ~ScNavigatorDlg().

◆ m_xTbxCmd2

std::unique_ptr<weld::Toolbar> ScNavigatorDlg::m_xTbxCmd2
private

Definition at line 100 of file navipi.hxx.

Referenced by ScNavigatorDlg(), UpdateButtons(), and ~ScNavigatorDlg().

◆ m_xWndScenarios

std::unique_ptr<ScScenarioWindow> ScNavigatorDlg::m_xWndScenarios
private

◆ moMarkArea

std::optional<ScArea> ScNavigatorDlg::moMarkArea
private

Definition at line 117 of file navipi.hxx.

Referenced by MarkDataArea(), SetListMode(), UnmarkDataArea(), and ~ScNavigatorDlg().

◆ mvBoundItems

std::array<std::unique_ptr<ScNavigatorControllerItem>,CTRL_ITEMS> ScNavigatorDlg::mvBoundItems
private

Definition at line 126 of file navipi.hxx.

Referenced by ScNavigatorDlg(), SetCurrentCell(), SetCurrentCellStr(), and ~ScNavigatorDlg().

◆ nCurCol

SCCOL ScNavigatorDlg::nCurCol
private

Definition at line 122 of file navipi.hxx.

Referenced by SetCurrentCell(), and UpdateColumn().

◆ nCurRow

SCROW ScNavigatorDlg::nCurRow
private

Definition at line 123 of file navipi.hxx.

Referenced by SetCurrentCell(), and UpdateRow().

◆ nCurTab

SCTAB ScNavigatorDlg::nCurTab
private

Definition at line 124 of file navipi.hxx.

Referenced by SetCurrentTable(), and UpdateTable().

◆ nDropMode

sal_uInt16 ScNavigatorDlg::nDropMode
private

Definition at line 121 of file navipi.hxx.

Referenced by GetDropMode(), ScNavigatorDlg(), SetDropMode(), and UpdateButtons().

◆ pViewData

ScViewData* ScNavigatorDlg::pViewData
private

◆ rBindings

SfxBindings& ScNavigatorDlg::rBindings
private

The documentation for this class was generated from the following files: