LibreOffice Module dbaccess (master) 1
|
#include <WColumnSelect.hxx>
Public Member Functions | |
virtual void | Reset () override |
virtual void | Activate () override |
virtual bool | LeavePage () override |
virtual OUString | GetTitle () const override |
OWizColumnSelect (weld::Container *pParent, OCopyTableWizard *pWizard) | |
virtual | ~OWizColumnSelect () override |
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 (ButtonClickHdl, weld::Button &, void) | |
DECL_LINK (ListDoubleClickHdl, weld::TreeView &, bool) | |
void | createNewColumn (weld::TreeView *_pListbox, OFieldDescription const *_pSrcField, std::vector< OUString > &_rRightColumns, const OUString &_sColumnName, std::u16string_view _sExtraChars, sal_Int32 _nMaxNameLen, const ::comphelper::UStringMixEqual &_aCase) |
void | moveColumn (weld::TreeView *_pRight, weld::TreeView const *_pLeft, std::vector< OUString > &_rRightColumns, const OUString &_sColumnName, std::u16string_view _sExtraChars, sal_Int32 _nMaxNameLen, const ::comphelper::UStringMixEqual &_aCase) |
void | enableButtons () |
sal_Int32 | adjustColumnPosition (weld::TreeView const *_pLeft, std::u16string_view _sColumnName, ODatabaseExport::TColumnVector::size_type nCurrentPos, const ::comphelper::UStringMixEqual &_aCase) |
Static Private Member Functions | |
static void | clearListBox (weld::TreeView &_rListBox) |
static void | fillColumns (weld::TreeView const *pRight, std::vector< OUString > &_rRightColumns) |
Private Attributes | |
std::unique_ptr< weld::TreeView > | m_xOrgColumnNames |
std::unique_ptr< weld::Button > | m_xColumn_RH |
std::unique_ptr< weld::Button > | m_xColumns_RH |
std::unique_ptr< weld::Button > | m_xColumn_LH |
std::unique_ptr< weld::Button > | m_xColumns_LH |
std::unique_ptr< weld::TreeView > | m_xNewColumnNames |
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 32 of file WColumnSelect.hxx.
OWizColumnSelect::OWizColumnSelect | ( | weld::Container * | pParent, |
OCopyTableWizard * | pWizard | ||
) |
Definition at line 51 of file WColumnSelect.cxx.
References LINK, m_xColumn_LH, m_xColumn_RH, m_xColumns_LH, m_xColumns_RH, m_xNewColumnNames, and m_xOrgColumnNames.
|
overridevirtual |
Definition at line 72 of file WColumnSelect.cxx.
References m_xNewColumnNames.
|
overridevirtual |
Reimplemented from vcl::OWizardPage.
Definition at line 103 of file WColumnSelect.cxx.
References clearListBox(), m_xColumns_RH, m_xNewColumnNames, m_xOrgColumnNames, Reset(), sId, and weld::toId().
|
private |
Definition at line 348 of file WColumnSelect.cxx.
References weld::TreeView::get_text(), i, m_xColumns_LH, weld::TreeView::n_children(), nCount, and nPos.
Referenced by moveColumn().
|
staticprivate |
Definition at line 261 of file WColumnSelect.cxx.
References weld::TreeView::clear().
Referenced by Activate(), LeavePage(), and Reset().
|
private |
Definition at line 274 of file WColumnSelect.cxx.
References weld::TreeView::append(), dbaui::OFieldDescription::getSpecialTypeInfo(), dbaui::OFieldDescription::SetName(), dbaui::OFieldDescription::SetPrimaryKey(), dbaui::OFieldDescription::SetType(), and weld::toId().
Referenced by moveColumn().
|
private |
|
private |
|
private |
Definition at line 393 of file WColumnSelect.cxx.
References m_xNewColumnNames.
|
staticprivate |
Definition at line 266 of file WColumnSelect.cxx.
References weld::TreeView::get_text(), i, weld::TreeView::n_children(), and nCount.
|
overridevirtual |
Definition at line 37 of file WColumnSelect.cxx.
References DBA_RES.
|
overridevirtual |
Definition at line 136 of file WColumnSelect.cxx.
References clearListBox(), i, m_xNewColumnNames, dbaui::OCopyTableWizard::WIZARD_FINISH, and dbaui::OCopyTableWizard::WIZARD_NEXT.
|
private |
Definition at line 300 of file WColumnSelect.cxx.
References adjustColumnPosition(), createNewColumn(), weld::TreeView::find_text(), weld::TreeView::get_id(), weld::TreeView::insert(), m_xNewColumnNames, nPos, sId, and weld::toId().
|
overridevirtual |
Definition at line 81 of file WColumnSelect.cxx.
References clearListBox(), m_xNewColumnNames, m_xOrgColumnNames, sId, and weld::toId().
Referenced by Activate().
|
private |
Definition at line 37 of file WColumnSelect.hxx.
Referenced by OWizColumnSelect().
|
private |
Definition at line 35 of file WColumnSelect.hxx.
Referenced by OWizColumnSelect().
|
private |
Definition at line 38 of file WColumnSelect.hxx.
Referenced by adjustColumnPosition(), and OWizColumnSelect().
|
private |
Definition at line 36 of file WColumnSelect.hxx.
Referenced by Activate(), and OWizColumnSelect().
|
private |
Definition at line 39 of file WColumnSelect.hxx.
Referenced by Activate(), enableButtons(), LeavePage(), moveColumn(), OWizColumnSelect(), Reset(), and ~OWizColumnSelect().
|
private |
Definition at line 34 of file WColumnSelect.hxx.
Referenced by Activate(), OWizColumnSelect(), and Reset().