LibreOffice Module svx (master)  1
Protected Member Functions | List of all members
DbLimitedLengthField Class Reference

a field which is bound to a column which supports the MaxTextLen property More...

#include <gridcell.hxx>

Inheritance diagram for DbLimitedLengthField:
[legend]
Collaboration diagram for DbLimitedLengthField:
[legend]

Protected Member Functions

 DbLimitedLengthField (DbGridColumn &_rColumn)
 
virtual void implAdjustGenericFieldSetting (const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
 
void implSetMaxTextLen (sal_Int16 _nMaxLen)
 
virtual void implSetEffectiveMaxTextLen (sal_Int32 _nMaxLen)
 
- Protected Member Functions inherited from DbCellControl
const css::uno::Reference< css::sdbc::XRowSet > & getCursor () const
 
bool isTransparent () const
 
void setTransparent (bool _bSet)
 
void setAlignedController (bool _bAlign)
 
bool isValuePropertyLocked () const
 determined whether or not the value property is locked More...
 
void lockValueProperty ()
 locks the listening at the value property. More...
 
void unlockValueProperty ()
 unlocks the listening at the value property More...
 
void doPropertyListening (const OUString &_rPropertyName)
 
void implValuePropertyChanged ()
 
void invalidatedController ()
 
virtual bool commitControl ()=0
 commits the content of the control (e.g. More...
 
virtual void updateFromModel (css::uno::Reference< css::beans::XPropertySet > _rxModel)=0
 updates the current content of the control (e.g. More...
 
virtual void _propertyChanged (const css::beans::PropertyChangeEvent &evt) override
 
- Protected Member Functions inherited from comphelper::OPropertyChangeListener
void disposeAdapter ()
 
void setAdapter (OPropertyChangeMultiplexer *_pAdapter)
 

Additional Inherited Members

- Public Member Functions inherited from DbCellControl
 DbCellControl (DbGridColumn &_rColumn)
 
virtual ~DbCellControl () override
 
vcl::WindowGetWindow () const
 
bool isAlignedController () const
 
void AlignControl (sal_Int16 nAlignment)
 
void SetTextLineColor ()
 
void SetTextLineColor (const Color &_rColor)
 
virtual void Init (vcl::Window &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor)
 
virtual ::svt::CellControllerRef CreateController () const =0
 
bool Commit ()
 
virtual OUString GetFormatText (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, Color **ppColor=nullptr)=0
 
virtual void Update ()
 
virtual void UpdateFromField (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)=0
 
virtual void PaintFieldToCell (OutputDevice &rDev, const tools::Rectangle &rRect, const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)
 
virtual void PaintCell (OutputDevice &_rDev, const tools::Rectangle &_rRect)
 
void ImplInitWindow (vcl::Window const &rParent, const InitWindowFacet _eInitWhat)
 
double GetValue (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) const
 
- Public Member Functions inherited from comphelper::OPropertyChangeListener
 OPropertyChangeListener (::osl::Mutex &_rMutex)
 
virtual ~OPropertyChangeListener ()
 
virtual void _disposing (const css::lang::EventObject &_rSource)
 
- Protected Attributes inherited from DbCellControl
DbGridColumnm_rColumn
 
VclPtr< vcl::Windowm_pPainter
 
VclPtr< vcl::Windowm_pWindow
 
- Protected Attributes inherited from FmMutexHelper
::osl::Mutex m_aMutex
 

Detailed Description

a field which is bound to a column which supports the MaxTextLen property

Definition at line 360 of file gridcell.hxx.

Constructor & Destructor Documentation

DbLimitedLengthField::DbLimitedLengthField ( DbGridColumn _rColumn)
protected

Definition at line 1034 of file gridcell.cxx.

References DbCellControl::doPropertyListening(), and FM_PROP_MAXTEXTLEN.

Member Function Documentation

void DbLimitedLengthField::implAdjustGenericFieldSetting ( const css::uno::Reference< css::beans::XPropertySet > &  _rxModel)
overrideprotectedvirtual

Reimplemented from DbCellControl.

Definition at line 1041 of file gridcell.cxx.

References DBG_ASSERT, FM_PROP_MAXTEXTLEN, implSetMaxTextLen(), and DbCellControl::m_pWindow.

Referenced by DbTextField::Init(), and DbFormattedField::Init().

void DbLimitedLengthField::implSetEffectiveMaxTextLen ( sal_Int32  _nMaxLen)
protectedvirtual

Reimplemented in DbTextField.

Definition at line 1053 of file gridcell.cxx.

References DbCellControl::m_pPainter, and Edit::SetMaxTextLen().

Referenced by implSetMaxTextLen().

void DbLimitedLengthField::implSetMaxTextLen ( sal_Int16  _nMaxLen)
inlineprotected

Definition at line 372 of file gridcell.hxx.

References EDIT_NOLIMIT, and implSetEffectiveMaxTextLen().

Referenced by implAdjustGenericFieldSetting().


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