LibreOffice Module dbaccess (master) 1
|
#include <TableFieldControl.hxx>
Public Member Functions | |
OTableFieldControl (weld::Container *pParent, OTableDesignHelpBar *pHelpBar, OTableDesignView *pView) | |
virtual | ~OTableFieldControl () override |
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > | getMetaData () override |
virtual css::uno::Reference< css::sdbc::XConnection > | getConnection () override |
OUString | BoolStringPersistent (std::u16string_view rUIString) const |
OUString | BoolStringUI (const OUString &rPersistentString) 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 void | CellModified (sal_Int32 nRow, sal_uInt16 nColId) override |
virtual bool | IsReadOnly () override |
virtual void | SetModified (bool bModified) override |
virtual css::uno::Reference< css::util::XNumberFormatter > | GetFormatter () const override |
virtual css::lang::Locale | GetLocale () 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 |
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 Member Functions | |
OTableEditorCtrl * | GetCtrl () const |
void | dispose () |
Private Attributes | |
VclPtr< OTableDesignView > | m_xView |
Definition at line 30 of file TableFieldControl.hxx.
OTableFieldControl::OTableFieldControl | ( | weld::Container * | pParent, |
OTableDesignHelpBar * | pHelpBar, | ||
OTableDesignView * | pView | ||
) |
Definition at line 36 of file TableFieldControl.cxx.
|
overridevirtual |
Definition at line 47 of file TableFieldControl.cxx.
References dispose().
|
overrideprotectedvirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 82 of file TableFieldControl.cxx.
References dbaui::OFieldDescControl::ActivateAggregate(), eType, dbaui::tpColumnName, and dbaui::tpType.
OUString OFieldDescControl::BoolStringPersistent | ( | std::u16string_view | rUIString | ) | const |
Definition at line 149 of file FieldDescControl.cxx.
OUString OFieldDescControl::BoolStringUI | ( | const OUString & | rPersistentString | ) | const |
Definition at line 150 of file FieldDescControl.cxx.
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 52 of file TableFieldControl.cxx.
References dbaui::OTableEditorCtrl::CellModified(), and GetCtrl().
|
overrideprotectedvirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 94 of file TableFieldControl.cxx.
References dbaui::OFieldDescControl::DeactivateAggregate(), eType, dbaui::tpColumnName, and dbaui::tpType.
|
private |
Definition at line 42 of file TableFieldControl.cxx.
References m_xView.
Referenced by ~OTableFieldControl().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 149 of file TableFieldControl.cxx.
References dbaui::OTableController::getAutoIncrementValue(), dbaui::OTableDesignView::getController(), GetCtrl(), and dbaui::OTableEditorCtrl::GetView().
|
overridevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 111 of file TableFieldControl.cxx.
References dbaui::OTableDesignView::getController(), GetCtrl(), and dbaui::OTableEditorCtrl::GetView().
|
private |
Definition at line 57 of file TableFieldControl.cxx.
References m_xView.
Referenced by CellModified(), getAutoIncrementValue(), getConnection(), GetFormatter(), GetLocale(), getMetaData(), getTypeInfo(), isAutoIncrementValueEnabled(), IsReadOnly(), and SetModified().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 124 of file TableFieldControl.cxx.
References dbaui::OTableDesignView::getController(), GetCtrl(), and dbaui::OTableEditorCtrl::GetView().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 139 of file TableFieldControl.cxx.
References GetCtrl(), dbaui::OTableDesignView::getLocale(), dbaui::OTableEditorCtrl::GetView(), and Locale.
|
overridevirtual |
Implements dbaui::OFieldDescControl.
Definition at line 116 of file TableFieldControl.cxx.
References dbaui::OTableDesignView::getController(), GetCtrl(), and dbaui::OTableEditorCtrl::GetView().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 134 of file TableFieldControl.cxx.
References dbaui::OTableDesignView::getController(), GetCtrl(), dbaui::OTableController::getTypeInfo(), and dbaui::OTableEditorCtrl::GetView().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 129 of file TableFieldControl.cxx.
References _nPos, dbaui::OTableDesignView::getController(), GetCtrl(), dbaui::OTableController::getTypeInfo(), and dbaui::OTableEditorCtrl::GetView().
|
overrideprotectedvirtual |
Implements dbaui::OFieldDescControl.
Definition at line 144 of file TableFieldControl.cxx.
References dbaui::OTableDesignView::getController(), GetCtrl(), dbaui::OTableEditorCtrl::GetView(), and dbaui::OTableController::isAutoIncrementValueEnabled().
|
overrideprotectedvirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 63 of file TableFieldControl.cxx.
References dbaui::OTableEditorCtrl::GetActRow(), dbaui::OTableDesignView::getController(), GetCtrl(), dbaui::OTableController::getTable(), dbaui::OTableEditorCtrl::GetView(), IsReadOnly(), and PROPERTY_TYPE().
Referenced by IsReadOnly().
|
overrideprotectedvirtual |
Reimplemented from dbaui::OFieldDescControl.
Definition at line 106 of file TableFieldControl.cxx.
References dbaui::OTableDesignView::getController(), GetCtrl(), and dbaui::OTableEditorCtrl::GetView().
|
private |
Definition at line 32 of file TableFieldControl.hxx.