LibreOffice Module dbaccess (master) 1
|
#include <WTypeSelect.hxx>
Public Member Functions | |
OWizTypeSelectControl (weld::Container *pPage, OWizTypeSelect *pParentTabPage) | |
virtual | ~OWizTypeSelectControl () override |
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > | getMetaData () override |
virtual css::uno::Reference< css::sdbc::XConnection > | getConnection () override |
Public Member Functions inherited from dbaui::OFieldDescControl | |
OFieldDescControl (weld::Container *pPage, OTableDesignHelpBar *pHelpBar) | |
virtual | ~OFieldDescControl () |
void | DisplayData (OFieldDescription *pFieldDescr) |
void | SaveData (OFieldDescription *pFieldDescr) |
void | SetControlText (sal_uInt16 nControlId, const OUString &rText) |
void | SetReadOnly (bool bReadOnly) |
void | Enable (bool bEnable) |
void | SetHelpId (const OUString &rId) |
virtual bool | isCutAllowed () override |
virtual bool | isCopyAllowed () override |
virtual bool | isPasteAllowed () override |
virtual void | cut () override |
virtual void | copy () override |
virtual void | paste () override |
void | connect_focus_in (const Link< weld::Widget &, void > &rLink) |
void | Init () |
void | GrabFocus () |
bool | HasChildPathFocus () const |
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > | getMetaData ()=0 |
virtual css::uno::Reference< css::sdbc::XConnection > | getConnection ()=0 |
OUString | getControlDefault (const OFieldDescription *pFieldDescr, bool _bCheck=true) const |
OUString | CanonicalizeToControlDefault (const OFieldDescription *pFieldDescr, const OUString &rUserText) const |
void | setEditWidth (sal_Int32 _nWidth) |
virtual bool | isCutAllowed ()=0 |
virtual bool | isCopyAllowed ()=0 |
virtual bool | isPasteAllowed ()=0 |
virtual void | copy ()=0 |
virtual void | cut ()=0 |
virtual void | paste ()=0 |
Private Member Functions | |
virtual void | ActivateAggregate (EControlType eType) override |
virtual void | DeactivateAggregate (EControlType eType) override |
virtual void | CellModified (sal_Int32 nRow, sal_uInt16 nColId) override |
virtual css::lang::Locale | GetLocale () const override |
virtual css::uno::Reference< css::util::XNumberFormatter > | GetFormatter () const override |
virtual TOTypeInfoSP | getTypeInfo (sal_Int32 _nPos) override |
virtual const OTypeInfoMap * | getTypeInfo () const override |
virtual bool | isAutoIncrementValueEnabled () const override |
virtual OUString | getAutoIncrementValue () const override |
Private Attributes | |
OWizTypeSelect * | m_pParentTabPage |
Additional Inherited Members | |
Protected Member Functions inherited from dbaui::OFieldDescControl | |
void | saveCurrentFieldDescData () |
OFieldDescription * | getCurrentFieldDescData () |
void | setCurrentFieldDescData (OFieldDescription *_pDesc) |
virtual void | ActivateAggregate (EControlType eType) |
virtual void | DeactivateAggregate (EControlType eType) |
virtual bool | IsReadOnly () |
virtual css::uno::Reference< css::util::XNumberFormatter > | GetFormatter () const =0 |
virtual css::lang::Locale | GetLocale () const =0 |
virtual void | CellModified (sal_Int32 nRow, sal_uInt16 nColId)=0 |
virtual void | SetModified (bool bModified) |
virtual TOTypeInfoSP | getTypeInfo (sal_Int32 _nPos)=0 |
virtual const OTypeInfoMap * | getTypeInfo () const =0 |
virtual bool | isAutoIncrementValueEnabled () const =0 |
virtual OUString | getAutoIncrementValue () const =0 |
OUString | BoolStringPersistent (std::u16string_view rUIString) const |
OUString | BoolStringUI (const OUString &rPersistentString) const |
const OPropColumnEditCtrl * | getColumnCtrl () const |
void | implFocusLost (weld::Widget *_pWhich) |
Protected Member Functions inherited from dbaui::IClipboardTest | |
~IClipboardTest () | |
Definition at line 32 of file WTypeSelect.hxx.
OWizTypeSelectControl::OWizTypeSelectControl | ( | weld::Container * | pPage, |
OWizTypeSelect * | pParentTabPage | ||
) |
Definition at line 42 of file WTypeSelect.cxx.
|
overridevirtual |
Definition at line 48 of file WTypeSelect.cxx.
|
overrideprivatevirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 52 of file WTypeSelect.cxx.
References dbaui::OFieldDescControl::ActivateAggregate(), eType, dbaui::tpAutoIncrement, dbaui::tpAutoIncrementValue, dbaui::tpDefault, and dbaui::tpFormat.
|
overrideprivatevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 80 of file WTypeSelect.cxx.
References DBA_RES, dbaui::OFieldDescControl::DisplayData(), FIELD_PROPERTY_COLUMNNAME, weld::TreeView::find_text(), weld::TreeView::get_id(), dbaui::OSQLNameEntry::get_text(), weld::TreeView::get_text(), dbaui::OFieldDescControl::getColumnCtrl(), dbaui::OFieldDescControl::getCurrentFieldDescData(), getMetaData(), dbaui::OFieldDescription::GetName(), dbaui::OCopyTableWizard::getPrimaryKeyName(), i, weld::TreeView::insert_text(), dbaui::OCopyTableWizard::m_mNameMapping, m_pParentTabPage, dbaui::OWizTypeSelect::m_xColumnNames, weld::TreeView::n_children(), nCount, nPos, weld::TreeView::remove(), dbaui::OCopyTableWizard::replaceColumn(), dbaui::OFieldDescControl::saveCurrentFieldDescData(), weld::TreeView::set_id(), dbaui::OFieldDescControl::setCurrentFieldDescData(), dbaui::OWizTypeSelect::setDuplicateName(), dbaui::OFieldDescription::SetName(), dbaui::OCopyTableWizard::shouldCreatePrimaryKey(), dbaui::OCopyTableWizard::showError(), sName, and weld::toId().
|
overrideprivatevirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 66 of file WTypeSelect.cxx.
References dbaui::OFieldDescControl::DeactivateAggregate(), eType, dbaui::tpAutoIncrement, dbaui::tpAutoIncrementValue, dbaui::tpDefault, and dbaui::tpFormat.
|
overrideprivatevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 200 of file WTypeSelect.cxx.
References m_pParentTabPage, and dbaui::OWizTypeSelect::m_sAutoIncrementValue.
|
overridevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 190 of file WTypeSelect.cxx.
References m_pParentTabPage.
|
overrideprivatevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 170 of file WTypeSelect.cxx.
References m_pParentTabPage.
|
overrideprivatevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 165 of file WTypeSelect.cxx.
References m_pParentTabPage.
|
overridevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 185 of file WTypeSelect.cxx.
References m_pParentTabPage.
Referenced by CellModified().
|
overrideprivatevirtual |
Implements dbaui::OFieldDescControl.
|
overrideprivatevirtual |
Implements dbaui::OFieldDescControl.
|
overrideprivatevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 195 of file WTypeSelect.cxx.
References dbaui::OWizTypeSelect::m_bAutoIncrementEnabled, and m_pParentTabPage.
|
private |
Definition at line 34 of file WTypeSelect.hxx.
Referenced by CellModified(), getAutoIncrementValue(), getConnection(), GetFormatter(), GetLocale(), getMetaData(), and isAutoIncrementValueEnabled().