LibreOffice Module svx (master)
1
|
#include <gridcell.hxx>
Public Member Functions | |
DbListBox (DbGridColumn &_rColumn) | |
virtual void | Init (BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor) override |
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 ::svt::CellControllerRef | CreateController () const override |
void | SetList (const css::uno::Any &rItems) |
![]() | |
DbCellControl (DbGridColumn &_rColumn) | |
virtual | ~DbCellControl () override |
vcl::Window & | 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) |
Protected 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 void | implAdjustGenericFieldSetting (const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override |
virtual void | _propertyChanged (const css::beans::PropertyChangeEvent &evt) override |
![]() | |
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 () |
![]() | |
void | disposeAdapter () |
void | setAdapter (OPropertyChangeMultiplexer *_pAdapter) |
Private Attributes | |
bool | m_bBound: 1 |
css::uno::Sequence< OUString > | m_aValueList |
Additional Inherited Members | |
![]() | |
DbGridColumn & | m_rColumn |
VclPtr< vcl::Window > | m_pPainter |
VclPtr< vcl::Window > | m_pWindow |
![]() | |
::osl::Mutex | m_aMutex |
Definition at line 480 of file gridcell.hxx.
DbListBox::DbListBox | ( | DbGridColumn & | _rColumn | ) |
Definition at line 2462 of file gridcell.cxx.
References DbCellControl::doPropertyListening(), FM_PROP_LINECOUNT, FM_PROP_STRINGITEMLIST, and DbCellControl::setAlignedController().
|
overrideprotectedvirtual |
Reimplemented from DbCellControl.
Definition at line 2472 of file gridcell.cxx.
References DbCellControl::_propertyChanged(), FM_PROP_STRINGITEMLIST, and SetList().
|
overrideprotectedvirtual |
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 2588 of file gridcell.cxx.
References Any, FM_PROP_SELECT_SEQ, VclPtr< vcl::Window >::get(), weld::ComboBox::get_active(), DbGridColumn::getModel(), DbCellControl::m_pWindow, and DbCellControl::m_rColumn.
|
overridevirtual |
Implements DbCellControl.
Definition at line 2529 of file gridcell.cxx.
References VclPtr< vcl::Window >::get(), and DbCellControl::m_pWindow.
|
overridevirtual |
Implements DbCellControl.
Definition at line 2534 of file gridcell.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, VclPtr< vcl::Window >::get(), m_aValueList, m_bBound, DbCellControl::m_pWindow, and nPos.
Referenced by UpdateFromField().
|
overrideprotectedvirtual |
Reimplemented from DbCellControl.
Definition at line 2524 of file gridcell.cxx.
Referenced by Init().
|
overridevirtual |
Reimplemented from DbCellControl.
Definition at line 2510 of file gridcell.cxx.
References VclPtr< reference_type >::Create(), FM_PROP_STRINGITEMLIST, DbGridColumn::getModel(), implAdjustGenericFieldSetting(), DbCellControl::Init(), DbCellControl::m_pWindow, DbCellControl::m_rColumn, DbGridColumn::SetAlignment(), SetList(), and xModel.
void DbListBox::SetList | ( | const css::uno::Any & | rItems | ) |
Definition at line 2484 of file gridcell.cxx.
References weld::ComboBox::append_text(), weld::ComboBox::clear(), FM_PROP_VALUE_SEQ, VclPtr< vcl::Window >::get(), DbGridColumn::getModel(), DbCellControl::invalidatedController(), m_aValueList, m_bBound, DbCellControl::m_pWindow, and DbCellControl::m_rColumn.
Referenced by _propertyChanged(), and Init().
|
overridevirtual |
Implements DbCellControl.
Definition at line 2559 of file gridcell.cxx.
References VclPtr< vcl::Window >::get(), GetFormatText(), DbCellControl::m_pWindow, weld::ComboBox::set_active(), and weld::ComboBox::set_active_text().
|
overrideprotectedvirtual |
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 2569 of file gridcell.cxx.
References FM_PROP_SELECT_SEQ, VclPtr< vcl::Window >::get(), weld::ComboBox::get_count(), DbCellControl::m_pWindow, and weld::ComboBox::set_active().
|
private |
Definition at line 483 of file gridcell.hxx.
Referenced by GetFormatText(), and SetList().
|
private |
Definition at line 482 of file gridcell.hxx.
Referenced by GetFormatText(), and SetList().