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

#include <datafdlg.hxx>

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

Public Member Functions

 ScDataFormDlg (weld::Window *pParent, ScTabViewShell *pTabViewShell)
 
virtual ~ScDataFormDlg () override
 
void FillCtrls ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void SetButtonState ()
 
 DECL_LINK (Impl_NewHdl, weld::Button &, void)
 
 DECL_LINK (Impl_PrevHdl, weld::Button &, void)
 
 DECL_LINK (Impl_NextHdl, weld::Button &, void)
 
 DECL_LINK (Impl_RestoreHdl, weld::Button &, void)
 
 DECL_LINK (Impl_DeleteHdl, weld::Button &, void)
 
 DECL_LINK (Impl_CloseHdl, weld::Button &, void)
 
 DECL_LINK (Impl_ScrollHdl, weld::ScrolledWindow &, void)
 
 DECL_LINK (Impl_DataModifyHdl, weld::Entry &, void)
 

Private Attributes

OUString sNewRecord
 
ScTabViewShellpTabViewShell
 
ScDocumentpDoc
 
sal_uInt16 aColLength
 
SCROW nCurrentRow
 
SCCOL nStartCol
 
SCCOL nEndCol
 
SCROW nStartRow
 
SCROW nEndRow
 
SCTAB nTab
 
std::unique_ptr< weld::Buttonm_xBtnNew
 
std::unique_ptr< weld::Buttonm_xBtnDelete
 
std::unique_ptr< weld::Buttonm_xBtnRestore
 
std::unique_ptr< weld::Buttonm_xBtnPrev
 
std::unique_ptr< weld::Buttonm_xBtnNext
 
std::unique_ptr< weld::Buttonm_xBtnClose
 
std::unique_ptr< weld::ScrolledWindowm_xSlider
 
std::unique_ptr< weld::Containerm_xGrid
 
std::unique_ptr< weld::Labelm_xFixedText
 
std::vector< std::unique_ptr< ScDataFormFragment > > m_aEntries
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 22 of file datafdlg.hxx.

Constructor & Destructor Documentation

◆ ScDataFormDlg()

ScDataFormDlg::ScDataFormDlg ( weld::Window pParent,
ScTabViewShell pTabViewShell 
)

◆ ~ScDataFormDlg()

ScDataFormDlg::~ScDataFormDlg ( )
overridevirtual

Definition at line 190 of file datafdlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/8]

ScDataFormDlg::DECL_LINK ( Impl_CloseHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/8]

ScDataFormDlg::DECL_LINK ( Impl_DataModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/8]

ScDataFormDlg::DECL_LINK ( Impl_DeleteHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/8]

ScDataFormDlg::DECL_LINK ( Impl_NewHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/8]

ScDataFormDlg::DECL_LINK ( Impl_NextHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/8]

ScDataFormDlg::DECL_LINK ( Impl_PrevHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/8]

ScDataFormDlg::DECL_LINK ( Impl_RestoreHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/8]

ScDataFormDlg::DECL_LINK ( Impl_ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private

◆ FillCtrls()

void ScDataFormDlg::FillCtrls ( )

◆ SetButtonState()

void ScDataFormDlg::SetButtonState ( )
private

Definition at line 320 of file datafdlg.cxx.

References m_aEntries, m_xBtnDelete, m_xBtnNext, m_xBtnPrev, m_xBtnRestore, nCurrentRow, nEndRow, and nStartRow.

Referenced by ScDataFormDlg().

Member Data Documentation

◆ aColLength

sal_uInt16 ScDataFormDlg::aColLength
private

Definition at line 29 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

◆ m_aEntries

std::vector<std::unique_ptr<ScDataFormFragment> > ScDataFormDlg::m_aEntries
private

Definition at line 46 of file datafdlg.hxx.

Referenced by FillCtrls(), ScDataFormDlg(), and SetButtonState().

◆ m_xBtnClose

std::unique_ptr<weld::Button> ScDataFormDlg::m_xBtnClose
private

Definition at line 42 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

◆ m_xBtnDelete

std::unique_ptr<weld::Button> ScDataFormDlg::m_xBtnDelete
private

Definition at line 38 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

◆ m_xBtnNew

std::unique_ptr<weld::Button> ScDataFormDlg::m_xBtnNew
private

Definition at line 37 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

◆ m_xBtnNext

std::unique_ptr<weld::Button> ScDataFormDlg::m_xBtnNext
private

Definition at line 41 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

◆ m_xBtnPrev

std::unique_ptr<weld::Button> ScDataFormDlg::m_xBtnPrev
private

Definition at line 40 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

◆ m_xBtnRestore

std::unique_ptr<weld::Button> ScDataFormDlg::m_xBtnRestore
private

Definition at line 39 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

◆ m_xFixedText

std::unique_ptr<weld::Label> ScDataFormDlg::m_xFixedText
private

Definition at line 45 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

◆ m_xGrid

std::unique_ptr<weld::Container> ScDataFormDlg::m_xGrid
private

Definition at line 44 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

◆ m_xSlider

std::unique_ptr<weld::ScrolledWindow> ScDataFormDlg::m_xSlider
private

Definition at line 43 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

◆ nCurrentRow

SCROW ScDataFormDlg::nCurrentRow
private

Definition at line 30 of file datafdlg.hxx.

Referenced by FillCtrls(), ScDataFormDlg(), and SetButtonState().

◆ nEndCol

SCCOL ScDataFormDlg::nEndCol
private

Definition at line 32 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

◆ nEndRow

SCROW ScDataFormDlg::nEndRow
private

Definition at line 34 of file datafdlg.hxx.

Referenced by FillCtrls(), ScDataFormDlg(), and SetButtonState().

◆ nStartCol

SCCOL ScDataFormDlg::nStartCol
private

Definition at line 31 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

◆ nStartRow

SCROW ScDataFormDlg::nStartRow
private

Definition at line 33 of file datafdlg.hxx.

Referenced by FillCtrls(), ScDataFormDlg(), and SetButtonState().

◆ nTab

SCTAB ScDataFormDlg::nTab
private

Definition at line 35 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

◆ pDoc

ScDocument* ScDataFormDlg::pDoc
private

Definition at line 28 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

◆ pTabViewShell

ScTabViewShell* ScDataFormDlg::pTabViewShell
private

Definition at line 27 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

◆ sNewRecord

OUString ScDataFormDlg::sNewRecord
private

Definition at line 25 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().


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