LibreOffice Module dbaccess (master) 1
|
#include <ColumnControlWindow.hxx>
Public Member Functions | |
OColumnControlWindow (weld::Container *pParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext) | |
void | setConnection (const css::uno::Reference< css::sdbc::XConnection > &_xCon) |
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > | getMetaData () override |
virtual css::uno::Reference< css::sdbc::XConnection > | getConnection () override |
virtual const OTypeInfoMap * | getTypeInfo () const override |
TOTypeInfoSP const & | getDefaultTyp () const |
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 |
Protected Member Functions | |
virtual void | ActivateAggregate (EControlType eType) override |
virtual void | DeactivateAggregate (EControlType eType) 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 bool | isAutoIncrementValueEnabled () const override |
virtual OUString | getAutoIncrementValue () const override |
virtual void | CellModified (sal_Int32 nRow, sal_uInt16 nColId) override |
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 () | |
Private Attributes | |
css::lang::Locale | m_aLocale |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::sdbc::XConnection > | m_xConnection |
css::uno::Reference< css::util::XNumberFormatter > | m_xFormatter |
OTypeInfoMap | m_aDestTypeInfo |
std::vector< OTypeInfoMap::iterator > | m_aDestTypeInfoIndex |
TOTypeInfoSP | m_pTypeInfo |
OUString | m_sTypeNames |
OUString | m_sAutoIncrementValue |
bool | m_bAutoIncrementEnabled |
Definition at line 30 of file ColumnControlWindow.hxx.
OColumnControlWindow::OColumnControlWindow | ( | weld::Container * | pParent, |
const css::uno::Reference< css::uno::XComponentContext > & | _rxContext | ||
) |
Definition at line 57 of file ColumnControlWindow.cxx.
References SvtSysLocale::GetLanguageTag(), LanguageTag::getLocale(), and m_aLocale.
|
overrideprotectedvirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 67 of file ColumnControlWindow.cxx.
References dbaui::OFieldDescControl::ActivateAggregate(), eType, dbaui::tpColumnName, dbaui::tpDefault, and dbaui::tpFormat.
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 93 of file ColumnControlWindow.cxx.
References dbaui::OFieldDescControl::saveCurrentFieldDescData().
|
overrideprotectedvirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 80 of file ColumnControlWindow.cxx.
References dbaui::OFieldDescControl::DeactivateAggregate(), eType, dbaui::tpColumnName, dbaui::tpDefault, and dbaui::tpFormat.
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 167 of file ColumnControlWindow.cxx.
References m_sAutoIncrementValue.
|
overridevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 140 of file ColumnControlWindow.cxx.
References m_xConnection.
TOTypeInfoSP const & OColumnControlWindow::getDefaultTyp | ( | ) | const |
Definition at line 172 of file ColumnControlWindow.cxx.
References m_pTypeInfo, m_sTypeNames, and dbaui::TYPE_OTHER.
Referenced by dbaui::OColumnPeer::setColumn().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 103 of file ColumnControlWindow.cxx.
References Exception, m_xConnection, m_xContext, and m_xFormatter.
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 98 of file ColumnControlWindow.cxx.
References m_aLocale.
|
overridevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 133 of file ColumnControlWindow.cxx.
References m_xConnection.
|
overridevirtual |
Implements dbaui::OFieldDescControl.
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Referenced by dbaui::OColumnPeer::setColumn().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 162 of file ColumnControlWindow.cxx.
References m_bAutoIncrementEnabled.
void OColumnControlWindow::setConnection | ( | const css::uno::Reference< css::sdbc::XConnection > & | _xCon | ) |
Definition at line 145 of file ColumnControlWindow.cxx.
References dbaui::fillAutoIncrementValue(), dbaui::fillTypeInfo(), dbaui::OFieldDescControl::Init(), m_aDestTypeInfo, m_aDestTypeInfoIndex, m_bAutoIncrementEnabled, m_sAutoIncrementValue, m_sTypeNames, m_xConnection, and m_xFormatter.
|
private |
Definition at line 37 of file ColumnControlWindow.hxx.
Referenced by setConnection().
|
private |
Definition at line 38 of file ColumnControlWindow.hxx.
Referenced by setConnection().
|
private |
Definition at line 32 of file ColumnControlWindow.hxx.
Referenced by GetLocale(), and OColumnControlWindow().
|
private |
Definition at line 43 of file ColumnControlWindow.hxx.
Referenced by isAutoIncrementValueEnabled(), and setConnection().
|
mutableprivate |
Definition at line 40 of file ColumnControlWindow.hxx.
Referenced by getDefaultTyp().
|
private |
Definition at line 42 of file ColumnControlWindow.hxx.
Referenced by getAutoIncrementValue(), and setConnection().
|
private |
Definition at line 41 of file ColumnControlWindow.hxx.
Referenced by getDefaultTyp(), and setConnection().
|
private |
Definition at line 34 of file ColumnControlWindow.hxx.
Referenced by getConnection(), GetFormatter(), getMetaData(), and setConnection().
|
private |
Definition at line 33 of file ColumnControlWindow.hxx.
Referenced by GetFormatter().
|
mutableprivate |
Definition at line 35 of file ColumnControlWindow.hxx.
Referenced by GetFormatter(), and setConnection().