LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OTableFieldControl Class Reference

#include <TableFieldControl.hxx>

Inheritance diagram for dbaui::OTableFieldControl:
[legend]
Collaboration diagram for dbaui::OTableFieldControl:
[legend]

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 OTypeInfoMapgetTypeInfo () const override
 
virtual bool isAutoIncrementValueEnabled () const override
 
virtual OUString getAutoIncrementValue () const override
 
- Protected Member Functions inherited from dbaui::OFieldDescControl
void saveCurrentFieldDescData ()
 
OFieldDescriptiongetCurrentFieldDescData ()
 
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 OTypeInfoMapgetTypeInfo () 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 OPropColumnEditCtrlgetColumnCtrl () const
 
void implFocusLost (weld::Widget *_pWhich)
 
- Protected Member Functions inherited from dbaui::IClipboardTest
 ~IClipboardTest ()
 

Private Member Functions

OTableEditorCtrlGetCtrl () const
 
void dispose ()
 

Private Attributes

VclPtr< OTableDesignViewm_xView
 

Detailed Description

Definition at line 30 of file TableFieldControl.hxx.

Constructor & Destructor Documentation

◆ OTableFieldControl()

OTableFieldControl::OTableFieldControl ( weld::Container pParent,
OTableDesignHelpBar pHelpBar,
OTableDesignView pView 
)

Definition at line 36 of file TableFieldControl.cxx.

◆ ~OTableFieldControl()

OTableFieldControl::~OTableFieldControl ( )
overridevirtual

Definition at line 47 of file TableFieldControl.cxx.

References dispose().

Member Function Documentation

◆ ActivateAggregate()

void OTableFieldControl::ActivateAggregate ( EControlType  eType)
overrideprotectedvirtual

◆ BoolStringPersistent()

OUString OFieldDescControl::BoolStringPersistent ( std::u16string_view  rUIString) const

Definition at line 149 of file FieldDescControl.cxx.

◆ BoolStringUI()

OUString OFieldDescControl::BoolStringUI ( const OUString &  rPersistentString) const

Definition at line 150 of file FieldDescControl.cxx.

◆ CellModified()

void OTableFieldControl::CellModified ( sal_Int32  nRow,
sal_uInt16  nColId 
)
overrideprotectedvirtual

◆ DeactivateAggregate()

void OTableFieldControl::DeactivateAggregate ( EControlType  eType)
overrideprotectedvirtual

◆ dispose()

void OTableFieldControl::dispose ( void  )
private

Definition at line 42 of file TableFieldControl.cxx.

References m_xView.

Referenced by ~OTableFieldControl().

◆ getAutoIncrementValue()

OUString OTableFieldControl::getAutoIncrementValue ( ) const
overrideprotectedvirtual

◆ getConnection()

css::uno::Reference< css::sdbc::XConnection > OTableFieldControl::getConnection ( )
overridevirtual

◆ GetCtrl()

OTableEditorCtrl * OTableFieldControl::GetCtrl ( ) const
private

◆ GetFormatter()

Reference< XNumberFormatter > OTableFieldControl::GetFormatter ( ) const
overrideprotectedvirtual

◆ GetLocale()

Locale OTableFieldControl::GetLocale ( ) const
overrideprotectedvirtual

◆ getMetaData()

css::uno::Reference< css::sdbc::XDatabaseMetaData > OTableFieldControl::getMetaData ( )
overridevirtual

◆ getTypeInfo() [1/2]

const OTypeInfoMap * OTableFieldControl::getTypeInfo ( ) const
overrideprotectedvirtual

◆ getTypeInfo() [2/2]

TOTypeInfoSP OTableFieldControl::getTypeInfo ( sal_Int32  _nPos)
overrideprotectedvirtual

◆ isAutoIncrementValueEnabled()

bool OTableFieldControl::isAutoIncrementValueEnabled ( ) const
overrideprotectedvirtual

◆ IsReadOnly()

bool OTableFieldControl::IsReadOnly ( )
overrideprotectedvirtual

◆ SetModified()

void OTableFieldControl::SetModified ( bool  bModified)
overrideprotectedvirtual

Member Data Documentation

◆ m_xView

VclPtr<OTableDesignView> dbaui::OTableFieldControl::m_xView
private

Definition at line 32 of file TableFieldControl.hxx.

Referenced by dispose(), and GetCtrl().


The documentation for this class was generated from the following files: