LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
dbaui::OWizTypeSelect Class Referenceabstract

#include <WTypeSelect.hxx>

Inheritance diagram for dbaui::OWizTypeSelect:
[legend]
Collaboration diagram for dbaui::OWizTypeSelect:
[legend]

Public Member Functions

virtual void Reset () override
 
virtual void Activate () override
 
virtual bool LeavePage () override
 
virtual OUString GetTitle () const override
 
 OWizTypeSelect (weld::Container *pParent, OCopyTableWizard *pWizard, SvStream *pStream=nullptr)
 
virtual ~OWizTypeSelect () override
 
void setDisplayRow (sal_Int32 _nRow)
 
void setDuplicateName (bool _bDuplicateName)
 
- Public Member Functions inherited from vcl::OWizardPage
 OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual ~OWizardPage () override
 
virtual void initializePage () override
 
virtual bool commitPage (WizardTypes::CommitPageReason _eReason) override
 
virtual bool canAdvance () const override
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 

Protected Member Functions

virtual void createReaderAndCallParser (sal_Int32 _nRows)=0
 
void EnableAuto (bool bEnable)
 
- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 

Protected Attributes

std::unique_ptr< OWizTypeSelectListm_xColumnNames
 
std::unique_ptr< weld::Containerm_xControlContainer
 
std::unique_ptr< OWizTypeSelectControlm_xTypeControl
 
std::unique_ptr< weld::Labelm_xAutoType
 
std::unique_ptr< weld::Labelm_xAutoFt
 
std::unique_ptr< weld::SpinButtonm_xAutoEt
 
std::unique_ptr< weld::Buttonm_xAutoPb
 
SvStreamm_pParserStream
 
OUString m_sAutoIncrementValue
 
sal_Int32 m_nDisplayRow
 
bool m_bAutoIncrementEnabled
 
bool m_bDuplicateName
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Private Member Functions

 DECL_LINK (ColumnSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (ButtonClickHdl, weld::Button &, void)
 

Friends

class OWizTypeSelectControl
 
class OWizTypeSelectList
 

Detailed Description

Definition at line 97 of file WTypeSelect.hxx.

Constructor & Destructor Documentation

◆ OWizTypeSelect()

OWizTypeSelect::OWizTypeSelect ( weld::Container pParent,
OCopyTableWizard pWizard,
SvStream pStream = nullptr 
)

◆ ~OWizTypeSelect()

OWizTypeSelect::~OWizTypeSelect ( )
overridevirtual

Definition at line 239 of file WTypeSelect.cxx.

Member Function Documentation

◆ Activate()

void OWizTypeSelect::Activate ( )
overridevirtual

Reimplemented from vcl::OWizardPage.

Definition at line 276 of file WTypeSelect.cxx.

References m_nDisplayRow, m_xColumnNames, and Reset().

◆ createReaderAndCallParser()

virtual void dbaui::OWizTypeSelect::createReaderAndCallParser ( sal_Int32  _nRows)
protectedpure virtual

◆ DECL_LINK() [1/2]

dbaui::OWizTypeSelect::DECL_LINK ( ButtonClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/2]

dbaui::OWizTypeSelect::DECL_LINK ( ColumnSelectHdl  ,
weld::TreeView ,
void   
)
private

◆ EnableAuto()

void OWizTypeSelect::EnableAuto ( bool  bEnable)
protected

Definition at line 299 of file WTypeSelect.cxx.

References m_xAutoEt, m_xAutoFt, m_xAutoPb, and m_xAutoType.

Referenced by dbaui::OWizNormalExtend::OWizNormalExtend().

◆ GetTitle()

OUString OWizTypeSelect::GetTitle ( ) const
overridevirtual

Definition at line 243 of file WTypeSelect.cxx.

References DBA_RES.

◆ LeavePage()

bool OWizTypeSelect::LeavePage ( )
overridevirtual

Definition at line 287 of file WTypeSelect.cxx.

References m_bDuplicateName, m_xColumnNames, and m_xTypeControl.

◆ Reset()

void OWizTypeSelect::Reset ( void  )
overridevirtual

Definition at line 257 of file WTypeSelect.cxx.

References m_xColumnNames, nCount, sId, and weld::toId().

Referenced by Activate().

◆ setDisplayRow()

void dbaui::OWizTypeSelect::setDisplayRow ( sal_Int32  _nRow)
inline

Definition at line 131 of file WTypeSelect.hxx.

References m_nDisplayRow.

◆ setDuplicateName()

void dbaui::OWizTypeSelect::setDuplicateName ( bool  _bDuplicateName)
inline

Definition at line 132 of file WTypeSelect.hxx.

References m_bDuplicateName.

Referenced by dbaui::OWizTypeSelectControl::CellModified().

Friends And Related Function Documentation

◆ OWizTypeSelectControl

friend class OWizTypeSelectControl
friend

Definition at line 99 of file WTypeSelect.hxx.

◆ OWizTypeSelectList

friend class OWizTypeSelectList
friend

Definition at line 100 of file WTypeSelect.hxx.

Member Data Documentation

◆ m_bAutoIncrementEnabled

bool dbaui::OWizTypeSelect::m_bAutoIncrementEnabled
protected

◆ m_bDuplicateName

bool dbaui::OWizTypeSelect::m_bDuplicateName
protected

Definition at line 117 of file WTypeSelect.hxx.

Referenced by LeavePage(), and setDuplicateName().

◆ m_nDisplayRow

sal_Int32 dbaui::OWizTypeSelect::m_nDisplayRow
protected

Definition at line 115 of file WTypeSelect.hxx.

Referenced by Activate(), and setDisplayRow().

◆ m_pParserStream

SvStream* dbaui::OWizTypeSelect::m_pParserStream
protected

◆ m_sAutoIncrementValue

OUString dbaui::OWizTypeSelect::m_sAutoIncrementValue
protected

◆ m_xAutoEt

std::unique_ptr<weld::SpinButton> dbaui::OWizTypeSelect::m_xAutoEt
protected

Definition at line 110 of file WTypeSelect.hxx.

Referenced by EnableAuto(), and OWizTypeSelect().

◆ m_xAutoFt

std::unique_ptr<weld::Label> dbaui::OWizTypeSelect::m_xAutoFt
protected

Definition at line 109 of file WTypeSelect.hxx.

Referenced by EnableAuto().

◆ m_xAutoPb

std::unique_ptr<weld::Button> dbaui::OWizTypeSelect::m_xAutoPb
protected

Definition at line 111 of file WTypeSelect.hxx.

Referenced by EnableAuto(), and OWizTypeSelect().

◆ m_xAutoType

std::unique_ptr<weld::Label> dbaui::OWizTypeSelect::m_xAutoType
protected

Definition at line 108 of file WTypeSelect.hxx.

Referenced by EnableAuto().

◆ m_xColumnNames

std::unique_ptr<OWizTypeSelectList> dbaui::OWizTypeSelect::m_xColumnNames
protected

◆ m_xControlContainer

std::unique_ptr<weld::Container> dbaui::OWizTypeSelect::m_xControlContainer
protected

Definition at line 106 of file WTypeSelect.hxx.

◆ m_xTypeControl

std::unique_ptr<OWizTypeSelectControl> dbaui::OWizTypeSelect::m_xTypeControl
protected

Definition at line 107 of file WTypeSelect.hxx.

Referenced by LeavePage(), and OWizTypeSelect().


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