LibreOffice Module svx (master) 1
|
#include <gridcell.hxx>
Public Member Functions | |
virtual void | Init (BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &_rxCursor) override |
virtual ::svt::CellControllerRef | CreateController () const override |
Public Member Functions inherited from DbCellControl | |
DbCellControl (DbGridColumn &_rColumn) | |
virtual | ~DbCellControl () override |
svt::ControlBase & | GetWindow () const |
bool | isAlignedController () const |
void | AlignControl (sal_Int16 nAlignment) |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &_rColor) |
virtual void | Init (BrowserDataWin &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, const 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 | _propertyChanged (const css::beans::PropertyChangeEvent &_rEvent)=0 |
virtual void | _disposing (const css::lang::EventObject &_rSource) |
Protected Member Functions | |
DbSpinField (DbGridColumn &_rColumn, sal_Int16 _nStandardAlign=css::awt::TextAlign::RIGHT) | |
virtual VclPtr< svt::ControlBase > | createField (BrowserDataWin *_pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet > &_rxModel)=0 |
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) |
virtual void | implAdjustGenericFieldSetting (const css::uno::Reference< css::beans::XPropertySet > &_rxModel) |
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 () |
Private Attributes | |
sal_Int16 | m_nStandardAlign |
Additional Inherited Members | |
Protected Attributes inherited from DbCellControl | |
DbGridColumn & | m_rColumn |
VclPtr< svt::ControlBase > | m_pPainter |
VclPtr< svt::ControlBase > | m_pWindow |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 519 of file gridcell.hxx.
|
protected |
Definition at line 1926 of file gridcell.cxx.
|
overridevirtual |
Implements DbCellControl.
Definition at line 1953 of file gridcell.cxx.
References VclPtr< class reference_type >::get(), and DbCellControl::m_pWindow.
|
protectedpure virtual |
Implemented in DbDateField, DbTimeField, DbCurrencyField, and DbNumericField.
Referenced by Init().
|
overridevirtual |
Reimplemented from DbCellControl.
Definition at line 1932 of file gridcell.cxx.
References createField(), FM_PROP_SPIN, DbGridColumn::getModel(), DbCellControl::implAdjustGenericFieldSetting(), DbCellControl::Init(), m_nStandardAlign, DbCellControl::m_pPainter, DbCellControl::m_pWindow, DbCellControl::m_rColumn, DbGridColumn::SetAlignmentFromModel(), and xModel.
|
private |
Definition at line 522 of file gridcell.hxx.
Referenced by Init().