LibreOffice Module dbaccess (master) 1
|
#include <WCPage.hxx>
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::Entry > | m_xEdTableName |
std::unique_ptr< weld::RadioButton > | m_xRB_DefData |
std::unique_ptr< weld::RadioButton > | m_xRB_Def |
std::unique_ptr< weld::RadioButton > | m_xRB_View |
std::unique_ptr< weld::RadioButton > | m_xRB_AppendData |
std::unique_ptr< weld::CheckButton > | m_xCB_UseHeaderLine |
std::unique_ptr< weld::CheckButton > | m_xCB_PrimaryColumn |
std::unique_ptr< weld::Label > | m_xFT_KeyName |
std::unique_ptr< weld::Entry > | m_xEdKeyName |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::OWizardPage | |
virtual void | Activate () override |
void | updateDialogTravelUI () |
Protected Attributes inherited from BuilderPage | |
weld::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 27 of file WCPage.hxx.
OCopyTable::OCopyTable | ( | weld::Container * | pParent, |
OCopyTableWizard * | pWizard | ||
) |
Definition at line 44 of file WCPage.cxx.
References DBA_RES, LINK, m_bPKeyAllowed, m_xCB_PrimaryColumn, m_xCB_UseHeaderLine, m_xEdKeyName, m_xFT_KeyName, m_xRB_AppendData, m_xRB_Def, m_xRB_DefData, m_xRB_View, and BuilderPage::SetPageTitle().
|
overridevirtual |
Definition at line 87 of file WCPage.cxx.
|
overridevirtual |
Reimplemented from vcl::OWizardPage.
Definition at line 211 of file WCPage.cxx.
References m_nOldOperation, m_xCB_UseHeaderLine, and m_xEdTableName.
|
private |
Definition at line 232 of file WCPage.cxx.
References COLUMN_POSITION_NOT_FOUND, DBA_RES, i, and m_xEdTableName.
Referenced by LeavePage().
|
private |
|
private |
|
inline |
Definition at line 68 of file WCPage.hxx.
References m_bUseHeaderAllowed, and m_xCB_UseHeaderLine.
|
inline |
Definition at line 64 of file WCPage.hxx.
References m_xRB_View.
|
inline |
Definition at line 61 of file WCPage.hxx.
References m_xEdKeyName.
|
overridevirtual |
Definition at line 219 of file WCPage.cxx.
References DBA_RES.
|
inline |
Definition at line 59 of file WCPage.hxx.
References m_xRB_Def.
|
inline |
Definition at line 58 of file WCPage.hxx.
References m_xRB_DefData.
|
inline |
Definition at line 60 of file WCPage.hxx.
References m_xRB_View.
|
overridevirtual |
Definition at line 131 of file WCPage.cxx.
References dbtools::SQLExceptionInfo::append(), checkAppendData(), DBA_RES, dbtools::SQLExceptionInfo::get(), dbaui::DynamicTableOrQueryNameCheck::isNameValid(), LeavePage(), m_bPKeyAllowed, m_nOldOperation, m_xCB_PrimaryColumn, m_xCB_UseHeaderLine, m_xEdKeyName, m_xEdTableName, sCatalog, sSchema, and dbaccess::TABLE.
Referenced by LeavePage().
|
overridevirtual |
Definition at line 224 of file WCPage.cxx.
References m_xEdTableName.
|
private |
Definition at line 91 of file WCPage.cxx.
References m_xCB_PrimaryColumn, m_xEdKeyName, and m_xFT_KeyName.
Referenced by setCreateStyleAction().
void OCopyTable::setCreatePrimaryKey | ( | bool | _bDoCreate, |
const OUString & | _rSuggestedName | ||
) |
Definition at line 284 of file WCPage.cxx.
References m_bPKeyAllowed, m_xCB_PrimaryColumn, m_xEdKeyName, and m_xFT_KeyName.
Referenced by dbaui::OCopyTableWizard::setCreatePrimaryKey().
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().
|
private |
Definition at line 29 of file WCPage.hxx.
Referenced by LeavePage(), OCopyTable(), and setCreatePrimaryKey().
|
private |
Definition at line 30 of file WCPage.hxx.
Referenced by disallowUseHeaderLine().
|
private |
Definition at line 31 of file WCPage.hxx.
Referenced by Activate(), and LeavePage().
|
private |
Definition at line 39 of file WCPage.hxx.
Referenced by LeavePage(), OCopyTable(), SetAppendDataRadio(), and setCreatePrimaryKey().
|
private |
Definition at line 38 of file WCPage.hxx.
Referenced by Activate(), disallowUseHeaderLine(), LeavePage(), and OCopyTable().
|
private |
Definition at line 41 of file WCPage.hxx.
Referenced by GetKeyName(), LeavePage(), OCopyTable(), SetAppendDataRadio(), and setCreatePrimaryKey().
|
private |
Definition at line 33 of file WCPage.hxx.
Referenced by Activate(), checkAppendData(), LeavePage(), and Reset().
|
private |
Definition at line 40 of file WCPage.hxx.
Referenced by OCopyTable(), SetAppendDataRadio(), and setCreatePrimaryKey().
|
private |
Definition at line 37 of file WCPage.hxx.
Referenced by OCopyTable(), and setCreateStyleAction().
|
private |
Definition at line 35 of file WCPage.hxx.
Referenced by IsOptionDef(), OCopyTable(), and setCreateStyleAction().
|
private |
Definition at line 34 of file WCPage.hxx.
Referenced by IsOptionDefData(), OCopyTable(), and setCreateStyleAction().
|
private |
Definition at line 36 of file WCPage.hxx.
Referenced by disallowViews(), IsOptionView(), OCopyTable(), and setCreateStyleAction().