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 OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString 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 23 of file datafdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 194 of file datafdlg.cxx.

Member Function Documentation

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

Definition at line 324 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

sal_uInt16 ScDataFormDlg::aColLength
private

Definition at line 30 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

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

Definition at line 47 of file datafdlg.hxx.

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

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

Definition at line 43 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

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

Definition at line 39 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

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

Definition at line 38 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

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

Definition at line 42 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

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

Definition at line 41 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

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

Definition at line 40 of file datafdlg.hxx.

Referenced by ScDataFormDlg(), and SetButtonState().

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

Definition at line 46 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

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

Definition at line 45 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

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

Definition at line 44 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

SCROW ScDataFormDlg::nCurrentRow
private

Definition at line 31 of file datafdlg.hxx.

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

SCCOL ScDataFormDlg::nEndCol
private

Definition at line 33 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

SCROW ScDataFormDlg::nEndRow
private

Definition at line 35 of file datafdlg.hxx.

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

SCCOL ScDataFormDlg::nStartCol
private

Definition at line 32 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

SCROW ScDataFormDlg::nStartRow
private

Definition at line 34 of file datafdlg.hxx.

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

SCTAB ScDataFormDlg::nTab
private

Definition at line 36 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

ScDocument* ScDataFormDlg::pDoc
private

Definition at line 29 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().

ScTabViewShell* ScDataFormDlg::pTabViewShell
private

Definition at line 28 of file datafdlg.hxx.

Referenced by ScDataFormDlg().

OUString ScDataFormDlg::sNewRecord
private

Definition at line 26 of file datafdlg.hxx.

Referenced by FillCtrls(), and ScDataFormDlg().


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