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, 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
 
- Public Member Functions inherited from PanelLayout
 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 setPosSizePixel (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
- 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
 
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 (const OUString &rName)
 
void SetCurrentObject (const OUString &rName)
 
void SetCurrentDoc (const OUString &rDocName)
 
void UpdateSelection ()
 
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 ()
 

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
 
Size aExpandedSize
 
Idle aContentIdle
 
OUString aStrActive
 
OUString aStrNotActive
 
OUString aStrHidden
 
OUString aStrActiveWin
 
std::unique_ptr< ScAreapMarkArea
 
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 ScNavigatorControllerItem
 
class ScNavigatorDialogWrapper
 
class ScContentTree
 
class ScNavigatorDlgUIObject
 

Additional Inherited Members

- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 86 of file navipi.hxx.

Constructor & Destructor Documentation

ScNavigatorDlg::ScNavigatorDlg ( SfxBindings pB,
vcl::Window pParent 
)
ScNavigatorDlg::~ScNavigatorDlg ( )
overridevirtual

Definition at line 450 of file navipi.cxx.

Member Function Documentation

ScNavigatorDlg::DECL_LINK ( TimeHdl  ,
Timer ,
void   
)
private
ScNavigatorDlg::DECL_LINK ( DocumentSelectHdl  ,
weld::ComboBox ,
void   
)
private
ScNavigatorDlg::DECL_LINK ( ExecuteRowHdl  ,
weld::Entry ,
bool   
)
private
ScNavigatorDlg::DECL_LINK ( ExecuteColHdl  ,
weld::Entry ,
bool   
)
private
ScNavigatorDlg::DECL_LINK ( ToolBoxSelectHdl  ,
const OString &  ,
void   
)
private
ScNavigatorDlg::DECL_LINK ( ToolBoxDropdownClickHdl  ,
const OString &  ,
void   
)
private
ScNavigatorDlg::DECL_LINK ( MenuSelectHdl  ,
const OString &  ,
void   
)
private
ScNavigatorDlg::DECL_LINK ( FormatRowOutputHdl  ,
weld::SpinButton ,
void   
)
private
ScNavigatorDlg::DECL_LINK ( ParseRowInputHdl  ,
int ,
bool   
)
private
void ScNavigatorDlg::dispose ( void  )
overridevirtual
void ScNavigatorDlg::EndOfDataArea ( )
private
void ScNavigatorDlg::GetDocNames ( const OUString *  pSelEntry)
private
sal_uInt16 ScNavigatorDlg::GetDropMode ( ) const
inlineprivate

Definition at line 164 of file navipi.hxx.

References nDropMode.

ScNavigatorSettings * ScNavigatorDlg::GetNavigatorSettings ( )
staticprivate
ScTabViewShell * ScNavigatorDlg::GetTabViewShell ( )
staticprivate
FactoryFunction ScNavigatorDlg::GetUITestFactory ( ) const
override

Definition at line 445 of file navipi.cxx.

References ScNavigatorDlgUIObject::create().

ScViewData * ScNavigatorDlg::GetViewData ( )
private
void ScNavigatorDlg::MarkDataArea ( )
private
void ScNavigatorDlg::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual
void ScNavigatorDlg::ReleaseFocus ( )
staticprivate
void ScNavigatorDlg::SetCurrentCell ( SCCOL  nCol,
SCROW  Row 
)
private
void ScNavigatorDlg::SetCurrentCellStr ( const OUString &  rName)
private
void ScNavigatorDlg::SetCurrentDoc ( const OUString &  rDocName)
private

Definition at line 657 of file navipi.cxx.

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

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

Definition at line 649 of file navipi.cxx.

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

void ScNavigatorDlg::SetCurrentTable ( SCTAB  nTab)
private

Definition at line 602 of file navipi.cxx.

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

Referenced by SetCurrentTableStr().

void ScNavigatorDlg::SetCurrentTableStr ( const OUString &  rName)
private
void ScNavigatorDlg::SetDropMode ( sal_uInt16  nNew)
private

Definition at line 560 of file navipi.cxx.

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

void ScNavigatorDlg::SetListMode ( NavListMode  eMode)
private
void ScNavigatorDlg::ShowList ( bool  bShow)
private

Definition at line 807 of file navipi.cxx.

References m_xLbDocuments, m_xLbEntries, and m_xScenarioBox.

Referenced by SetListMode().

void ScNavigatorDlg::ShowScenarios ( )
private
void ScNavigatorDlg::StartOfDataArea ( )
private
void ScNavigatorDlg::StateChanged ( StateChangedType  nStateChange)
overridevirtual

Definition at line 433 of file navipi.cxx.

References SfxChildWindowContext::GetFloatingWindow(), and m_xTbxCmd1.

void ScNavigatorDlg::UnmarkDataArea ( )
private

Definition at line 899 of file navipi.cxx.

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

Referenced by SetListMode().

void ScNavigatorDlg::UpdateAll ( )
private

???

Definition at line 742 of file navipi.cxx.

References aContentIdle, eListMode, m_xLbEntries, NAV_LMODE_AREAS, NAV_LMODE_NONE, and Task::Stop().

Referenced by Notify().

void ScNavigatorDlg::UpdateButtons ( )
private
void ScNavigatorDlg::UpdateColumn ( const SCCOL pCol = nullptr)
private
void ScNavigatorDlg::UpdateRow ( const SCROW pRow = nullptr)
private
void ScNavigatorDlg::UpdateSelection ( )
private

Definition at line 665 of file navipi.cxx.

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

Referenced by Notify().

void ScNavigatorDlg::UpdateSheetLimits ( )
private
void ScNavigatorDlg::UpdateTable ( const SCTAB pTab)
private

Friends And Related Function Documentation

friend class ScContentTree
friend

Definition at line 90 of file navipi.hxx.

friend class ScNavigatorControllerItem
friend

Definition at line 88 of file navipi.hxx.

Referenced by ScNavigatorDlg().

friend class ScNavigatorDialogWrapper
friend

Definition at line 89 of file navipi.hxx.

friend class ScNavigatorDlgUIObject
friend

Definition at line 91 of file navipi.hxx.

Member Data Documentation

Idle ScNavigatorDlg::aContentIdle
private

Definition at line 109 of file navipi.hxx.

Referenced by dispose(), Notify(), ScNavigatorDlg(), and UpdateAll().

Size ScNavigatorDlg::aExpandedSize
private

Definition at line 108 of file navipi.hxx.

Referenced by ScNavigatorDlg(), and SetListMode().

OUString ScNavigatorDlg::aStrActive
private

Definition at line 111 of file navipi.hxx.

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

OUString ScNavigatorDlg::aStrActiveWin
private

Definition at line 114 of file navipi.hxx.

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

OUString ScNavigatorDlg::aStrHidden
private

Definition at line 113 of file navipi.hxx.

Referenced by GetDocNames(), and ScNavigatorDlg().

OUString ScNavigatorDlg::aStrNotActive
private

Definition at line 112 of file navipi.hxx.

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

constexpr int ScNavigatorDlg::CTRL_ITEMS = 4
staticprivate

Definition at line 94 of file navipi.hxx.

NavListMode ScNavigatorDlg::eListMode
private

Definition at line 119 of file navipi.hxx.

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

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

Definition at line 106 of file navipi.hxx.

Referenced by dispose(), and ScNavigatorDlg().

std::unique_ptr<weld::SpinButton> ScNavigatorDlg::m_xEdCol
private
std::unique_ptr<weld::SpinButton> ScNavigatorDlg::m_xEdRow
private
std::unique_ptr<weld::ComboBox> ScNavigatorDlg::m_xLbDocuments
private

Definition at line 105 of file navipi.hxx.

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

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

Definition at line 103 of file navipi.hxx.

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

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

Definition at line 100 of file navipi.hxx.

Referenced by dispose(), ScNavigatorDlg(), and StateChanged().

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

Definition at line 101 of file navipi.hxx.

Referenced by dispose(), and ScNavigatorDlg().

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

Definition at line 104 of file navipi.hxx.

Referenced by dispose(), and ScNavigatorControllerItem::StateChanged().

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

Definition at line 125 of file navipi.hxx.

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

SCCOL ScNavigatorDlg::nCurCol
private

Definition at line 121 of file navipi.hxx.

Referenced by SetCurrentCell(), and UpdateColumn().

SCROW ScNavigatorDlg::nCurRow
private

Definition at line 122 of file navipi.hxx.

Referenced by SetCurrentCell(), and UpdateRow().

SCTAB ScNavigatorDlg::nCurTab
private

Definition at line 123 of file navipi.hxx.

Referenced by SetCurrentTable(), and UpdateTable().

sal_uInt16 ScNavigatorDlg::nDropMode
private

Definition at line 120 of file navipi.hxx.

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

std::unique_ptr<ScArea> ScNavigatorDlg::pMarkArea
private

Definition at line 116 of file navipi.hxx.

Referenced by dispose(), MarkDataArea(), SetListMode(), and UnmarkDataArea().

ScViewData* ScNavigatorDlg::pViewData
private
SfxBindings& ScNavigatorDlg::rBindings
private

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