LibreOffice Module svx (master)
1
|
#include <gridcell.hxx>
Public Member Functions | |
DbDateField (DbGridColumn &_rColumn) | |
virtual OUString | GetFormatText (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const Color **ppColor=nullptr) override |
virtual void | UpdateFromField (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override |
![]() | |
virtual void | Init (BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &_rxCursor) override |
virtual ::svt::CellControllerRef | CreateController () const override |
![]() | |
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) |
bool | Commit () |
virtual void | Update () |
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 |
![]() | |
OPropertyChangeListener (::osl::Mutex &_rMutex) | |
virtual | ~OPropertyChangeListener () |
virtual void | _disposing (const css::lang::EventObject &_rSource) |
Private Member Functions | |
virtual bool | commitControl () override |
commits the content of the control (e.g. More... | |
virtual void | updateFromModel (css::uno::Reference< css::beans::XPropertySet > _rxModel) override |
updates the current content of the control (e.g. More... | |
virtual VclPtr< svt::ControlBase > | createField (BrowserDataWin *_pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override |
virtual void | implAdjustGenericFieldSetting (const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override |
initializes everything which relates to the properties describing the numeric behaviour More... | |
Additional Inherited Members | |
![]() | |
DbSpinField (DbGridColumn &_rColumn, sal_Int16 _nStandardAlign=css::awt::TextAlign::RIGHT) | |
![]() | |
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 void | _propertyChanged (const css::beans::PropertyChangeEvent &evt) override |
![]() | |
void | disposeAdapter () |
void | setAdapter (OPropertyChangeMultiplexer *_pAdapter) |
![]() | |
DbGridColumn & | m_rColumn |
VclPtr< svt::ControlBase > | m_pPainter |
VclPtr< svt::ControlBase > | m_pWindow |
![]() | |
mutable::osl::Mutex | m_aMutex |
Definition at line 542 of file gridcell.hxx.
DbDateField::DbDateField | ( | DbGridColumn & | _rColumn | ) |
Definition at line 2217 of file gridcell.cxx.
References DbCellControl::doPropertyListening(), FM_PROP_DATE_SHOW_CENTURY, FM_PROP_DATEFORMAT, FM_PROP_DATEMAX, FM_PROP_DATEMIN, and FM_PROP_STRICTFORMAT.
|
overrideprivatevirtual |
commits the content of the control (e.g.
the text of an edit field) into the column model (e.g. the "Text" property of the model).
To be overwritten in derived classes.
Implements DbCellControl.
Definition at line 2328 of file gridcell.cxx.
References Any, FM_PROP_DATE, VclPtr< reference_type >::get(), weld::DateFormatter::GetDate(), DbGridColumn::getModel(), Date::GetUNODate(), DbCellControl::m_pWindow, and DbCellControl::m_rColumn.
|
overrideprivatevirtual |
Implements DbSpinField.
Definition at line 2227 of file gridcell.cxx.
References VclPtr< reference_type >::Create(), FM_PROP_DROPDOWN, getBOOL(), and hasProperty().
|
overridevirtual |
Implements DbCellControl.
Definition at line 2305 of file gridcell.cxx.
References VclPtr< reference_type >::get(), and DbCellControl::m_pPainter.
|
overrideprivatevirtual |
initializes everything which relates to the properties describing the numeric behaviour
Reimplemented from DbCellControl.
Definition at line 2238 of file gridcell.cxx.
References Any, DBG_ASSERT, Formatter::EnableEmptyField(), FM_PROP_DATE_SHOW_CENTURY, FM_PROP_DATEFORMAT, FM_PROP_DATEMAX, FM_PROP_DATEMIN, FM_PROP_STRICTFORMAT, VclPtr< reference_type >::get(), getBOOL(), getINT16(), DbCellControl::m_pPainter, DbCellControl::m_pWindow, weld::DateFormatter::SetExtDateFormat(), weld::DateFormatter::SetMax(), weld::DateFormatter::SetMin(), weld::DateFormatter::SetShowDateCentury(), and Formatter::SetStrictFormat().
|
overridevirtual |
Implements DbCellControl.
Definition at line 2310 of file gridcell.cxx.
References VclPtr< reference_type >::get(), and DbCellControl::m_pWindow.
|
overrideprivatevirtual |
updates the current content of the control (e.g.
the text of an edit field) from the column model (e.g. the "Text" property of the model).
To be overwritten in derived classes.
NULL != _rxModel NULL != m_pWindow
Implements DbCellControl.
Definition at line 2315 of file gridcell.cxx.
References FM_PROP_DATE, VclPtr< reference_type >::get(), and DbCellControl::m_pWindow.