LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OCopyTable Class Referencefinal

#include <WCPage.hxx>

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

Public Member Functions

virtual void Reset () override
 
virtual void Activate () override
 
virtual bool LeavePage () override
 
virtual OUString GetTitle () const override
 
 OCopyTable (weld::Container *pParent, OCopyTableWizard *pWizard)
 
virtual ~OCopyTable () override
 
bool IsOptionDefData () const
 
bool IsOptionDef () const
 
bool IsOptionView () const
 
OUString GetKeyName () const
 
void setCreateStyleAction ()
 
void disallowViews ()
 
void disallowUseHeaderLine ()
 
void setCreatePrimaryKey (bool _bDoCreate, const OUString &_rSuggestedName)
 
- 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
 

Private Member Functions

 DECL_LINK (RadioChangeHdl, weld::Toggleable &, void)
 
 DECL_LINK (KeyClickHdl, weld::Toggleable &, void)
 
bool checkAppendData ()
 
void SetAppendDataRadio ()
 

Private Attributes

bool m_bPKeyAllowed
 
bool m_bUseHeaderAllowed
 
sal_Int16 m_nOldOperation
 
std::unique_ptr< weld::Entrym_xEdTableName
 
std::unique_ptr< weld::RadioButtonm_xRB_DefData
 
std::unique_ptr< weld::RadioButtonm_xRB_Def
 
std::unique_ptr< weld::RadioButtonm_xRB_View
 
std::unique_ptr< weld::RadioButtonm_xRB_AppendData
 
std::unique_ptr< weld::CheckButtonm_xCB_UseHeaderLine
 
std::unique_ptr< weld::CheckButtonm_xCB_PrimaryColumn
 
std::unique_ptr< weld::Labelm_xFT_KeyName
 
std::unique_ptr< weld::Entrym_xEdKeyName
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 27 of file WCPage.hxx.

Constructor & Destructor Documentation

◆ OCopyTable()

OCopyTable::OCopyTable ( weld::Container pParent,
OCopyTableWizard pWizard 
)

◆ ~OCopyTable()

OCopyTable::~OCopyTable ( )
overridevirtual

Definition at line 87 of file WCPage.cxx.

Member Function Documentation

◆ Activate()

void OCopyTable::Activate ( )
overridevirtual

Reimplemented from vcl::OWizardPage.

Definition at line 211 of file WCPage.cxx.

References m_nOldOperation, m_xCB_UseHeaderLine, and m_xEdTableName.

◆ checkAppendData()

bool OCopyTable::checkAppendData ( )
private

Definition at line 232 of file WCPage.cxx.

References COLUMN_POSITION_NOT_FOUND, DBA_RES, i, and m_xEdTableName.

Referenced by LeavePage().

◆ DECL_LINK() [1/2]

dbaui::OCopyTable::DECL_LINK ( KeyClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

dbaui::OCopyTable::DECL_LINK ( RadioChangeHdl  ,
weld::Toggleable ,
void   
)
private

◆ disallowUseHeaderLine()

void dbaui::OCopyTable::disallowUseHeaderLine ( )
inline

Definition at line 68 of file WCPage.hxx.

References m_bUseHeaderAllowed, and m_xCB_UseHeaderLine.

◆ disallowViews()

void dbaui::OCopyTable::disallowViews ( )
inline

Definition at line 64 of file WCPage.hxx.

References m_xRB_View.

◆ GetKeyName()

OUString dbaui::OCopyTable::GetKeyName ( ) const
inline

Definition at line 61 of file WCPage.hxx.

References m_xEdKeyName.

◆ GetTitle()

OUString OCopyTable::GetTitle ( ) const
overridevirtual

Definition at line 219 of file WCPage.cxx.

References DBA_RES.

◆ IsOptionDef()

bool dbaui::OCopyTable::IsOptionDef ( ) const
inline

Definition at line 59 of file WCPage.hxx.

References m_xRB_Def.

◆ IsOptionDefData()

bool dbaui::OCopyTable::IsOptionDefData ( ) const
inline

Definition at line 58 of file WCPage.hxx.

References m_xRB_DefData.

◆ IsOptionView()

bool dbaui::OCopyTable::IsOptionView ( ) const
inline

Definition at line 60 of file WCPage.hxx.

References m_xRB_View.

◆ LeavePage()

bool OCopyTable::LeavePage ( )
overridevirtual

◆ Reset()

void OCopyTable::Reset ( void  )
overridevirtual

Definition at line 224 of file WCPage.cxx.

References m_xEdTableName.

◆ SetAppendDataRadio()

void OCopyTable::SetAppendDataRadio ( )
private

Definition at line 91 of file WCPage.cxx.

References m_xCB_PrimaryColumn, m_xEdKeyName, and m_xFT_KeyName.

Referenced by setCreateStyleAction().

◆ setCreatePrimaryKey()

void OCopyTable::setCreatePrimaryKey ( bool  _bDoCreate,
const OUString &  _rSuggestedName 
)

◆ setCreateStyleAction()

void OCopyTable::setCreateStyleAction ( )

Definition at line 294 of file WCPage.cxx.

References m_xRB_AppendData, m_xRB_Def, m_xRB_DefData, m_xRB_View, and SetAppendDataRadio().

Member Data Documentation

◆ m_bPKeyAllowed

bool dbaui::OCopyTable::m_bPKeyAllowed
private

Definition at line 29 of file WCPage.hxx.

Referenced by LeavePage(), OCopyTable(), and setCreatePrimaryKey().

◆ m_bUseHeaderAllowed

bool dbaui::OCopyTable::m_bUseHeaderAllowed
private

Definition at line 30 of file WCPage.hxx.

Referenced by disallowUseHeaderLine().

◆ m_nOldOperation

sal_Int16 dbaui::OCopyTable::m_nOldOperation
private

Definition at line 31 of file WCPage.hxx.

Referenced by Activate(), and LeavePage().

◆ m_xCB_PrimaryColumn

std::unique_ptr<weld::CheckButton> dbaui::OCopyTable::m_xCB_PrimaryColumn
private

Definition at line 39 of file WCPage.hxx.

Referenced by LeavePage(), OCopyTable(), SetAppendDataRadio(), and setCreatePrimaryKey().

◆ m_xCB_UseHeaderLine

std::unique_ptr<weld::CheckButton> dbaui::OCopyTable::m_xCB_UseHeaderLine
private

Definition at line 38 of file WCPage.hxx.

Referenced by Activate(), disallowUseHeaderLine(), LeavePage(), and OCopyTable().

◆ m_xEdKeyName

std::unique_ptr<weld::Entry> dbaui::OCopyTable::m_xEdKeyName
private

Definition at line 41 of file WCPage.hxx.

Referenced by GetKeyName(), LeavePage(), OCopyTable(), SetAppendDataRadio(), and setCreatePrimaryKey().

◆ m_xEdTableName

std::unique_ptr<weld::Entry> dbaui::OCopyTable::m_xEdTableName
private

Definition at line 33 of file WCPage.hxx.

Referenced by Activate(), checkAppendData(), LeavePage(), and Reset().

◆ m_xFT_KeyName

std::unique_ptr<weld::Label> dbaui::OCopyTable::m_xFT_KeyName
private

Definition at line 40 of file WCPage.hxx.

Referenced by OCopyTable(), SetAppendDataRadio(), and setCreatePrimaryKey().

◆ m_xRB_AppendData

std::unique_ptr<weld::RadioButton> dbaui::OCopyTable::m_xRB_AppendData
private

Definition at line 37 of file WCPage.hxx.

Referenced by OCopyTable(), and setCreateStyleAction().

◆ m_xRB_Def

std::unique_ptr<weld::RadioButton> dbaui::OCopyTable::m_xRB_Def
private

Definition at line 35 of file WCPage.hxx.

Referenced by IsOptionDef(), OCopyTable(), and setCreateStyleAction().

◆ m_xRB_DefData

std::unique_ptr<weld::RadioButton> dbaui::OCopyTable::m_xRB_DefData
private

Definition at line 34 of file WCPage.hxx.

Referenced by IsOptionDefData(), OCopyTable(), and setCreateStyleAction().

◆ m_xRB_View

std::unique_ptr<weld::RadioButton> dbaui::OCopyTable::m_xRB_View
private

Definition at line 36 of file WCPage.hxx.

Referenced by disallowViews(), IsOptionView(), OCopyTable(), and setCreateStyleAction().


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