20#ifndef INCLUDED_SVX_SOURCE_INC_GRIDCELL_HXX
21#define INCLUDED_SVX_SOURCE_INC_GRIDCELL_HXX
28#include <com/sun/star/sdb/XColumn.hpp>
29#include <com/sun/star/form/XBoundControl.hpp>
30#include <com/sun/star/awt/XTextComponent.hpp>
31#include <com/sun/star/awt/XListBox.hpp>
32#include <com/sun/star/awt/XComboBox.hpp>
33#include <com/sun/star/awt/TextAlign.hpp>
34#include <com/sun/star/awt/XControlModel.hpp>
35#include <com/sun/star/awt/XControl.hpp>
36#include <com/sun/star/awt/XCheckBox.hpp>
37#include <com/sun/star/awt/XButton.hpp>
38#include <com/sun/star/form/XChangeBroadcaster.hpp>
39#include <com/sun/star/awt/XWindow.hpp>
40#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
56 class FormattedColumnValue;
65 css::uno::Reference< css::beans::XPropertySet >
m_xModel;
66 css::uno::Reference< css::beans::XPropertySet >
m_xField;
111 const css::uno::Reference< css::beans::XPropertySet >&
getModel()
const {
return m_xModel; }
112 void setModel(
const css::uno::Reference< css::beans::XPropertySet >& _xModel);
135 const css::uno::Reference< css::util::XNumberFormatter >& xFormatter);
140 void CreateControl(sal_Int32 _nFieldPos,
const css::uno::Reference< css::beans::XPropertySet >& xField, sal_Int32 nTypeId);
143 css::uno::Reference< css::beans::XPropertySet > xField(
m_xField);
154 OUString
GetCellText(
const DbGridRow* pRow,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
const;
155 OUString
GetCellText(
const css::uno::Reference< css::sdb::XColumn >& xField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
const;
198 css::uno::Reference< css::sdbc::XRowSet >
268 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor );
275 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr) = 0;
279 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter) = 0;
287 double GetValue(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
const;
309 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel ) = 0;
313 virtual void _propertyChanged(
const css::beans::PropertyChangeEvent& evt)
override;
319 void implAdjustReadOnly(
const css::uno::Reference< css::beans::XPropertySet >& _rxModel,
bool i_bReadOnly );
322 void implAdjustEnabled(
const css::uno::Reference< css::beans::XPropertySet >& _rxModel );
370 std::unique_ptr<::svt::IEditImplementation>
m_pEdit;
382 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor )
override;
383 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
384 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
387 const css::uno::Reference< css::sdb::XColumn >& _rxField,
388 const css::uno::Reference< css::util::XNumberFormatter >& _rxFormatter )
override;
393 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
405 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor )
override;
406 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
407 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
413 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
416 virtual void _propertyChanged(
const css::beans::PropertyChangeEvent& evt)
override;
418 css::uno::Reference< css::util::XNumberFormatsSupplier >
m_xSupplier;
427 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor )
override;
428 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
431 const css::uno::Reference< css::sdb::XColumn >& _rxField,
432 const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
434 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
439 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
449 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor )
override;
450 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
451 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
454 void SetList(
const css::uno::Any& rItems);
459 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
464 virtual void _propertyChanged(
const css::beans::PropertyChangeEvent& evt)
override;
476 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor )
override;
477 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
478 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
481 void SetList(
const css::uno::Any& rItems);
486 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
491 virtual void _propertyChanged(
const css::beans::PropertyChangeEvent& evt)
override;
499 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor )
override;
500 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
501 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
507 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
530 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& _rxCursor )
override;
537 const css::uno::Reference< css::beans::XPropertySet >& _rxModel
545 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
546 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
551 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
557 const css::uno::Reference< css::beans::XPropertySet >& _rxModel
568 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
569 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
574 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
580 const css::uno::Reference< css::beans::XPropertySet >& _rxModel
591 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
592 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
597 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
603 const css::uno::Reference< css::beans::XPropertySet >& _rxModel
615 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
616 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
621 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
627 const css::uno::Reference< css::beans::XPropertySet >& _rxModel
636 ,
public ::svxform::OSQLParserClient
642 virtual void Init(
BrowserDataWin& rParent,
const css::uno::Reference< css::sdbc::XRowSet >& xCursor )
override;
645 virtual void Update()
override;
646 virtual OUString
GetFormatText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
const Color** ppColor =
nullptr)
override;
647 virtual void UpdateFromField(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
650 void SetText(
const OUString& rText);
657 virtual void updateFromModel( css::uno::Reference< css::beans::XPropertySet > _rxModel )
override;
659 void SetList(
const css::uno::Any& rItems,
bool bComboBox);
675 , css::form::XBoundControl
703 virtual css::uno::Any SAL_CALL
queryAggregation(
const css::uno::Type& _rType )
override;
709 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
713 virtual void SAL_CALL
disposing()
override;
716 virtual void SAL_CALL
dispose()
override {OComponentHelper::dispose();}
717 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener >& aListener)
override { OComponentHelper::addEventListener(aListener);}
718 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& aListener)
override { OComponentHelper::removeEventListener(aListener);}
721 virtual void SAL_CALL
setContext(
const css::uno::Reference< css::uno::XInterface >& )
override {}
722 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getContext()
override;
723 virtual void SAL_CALL
createPeer(
const css::uno::Reference< css::awt::XToolkit >& ,
const css::uno::Reference< css::awt::XWindowPeer >& )
override {}
725 virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL
getPeer()
override {
return css::uno::Reference< css::awt::XWindowPeer > ();}
726 virtual sal_Bool SAL_CALL
setModel(
const css::uno::Reference< css::awt::XControlModel >& )
override {
return false;}
727 virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL
getModel()
override;
728 virtual css::uno::Reference< css::awt::XView > SAL_CALL
getView()
override {
return css::uno::Reference< css::awt::XView > ();}
738 virtual void SAL_CALL
setPosSize( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int16 Flags )
override;
739 virtual css::awt::Rectangle SAL_CALL
getPosSize( )
override;
742 virtual void SAL_CALL
setFocus( )
override;
743 virtual void SAL_CALL
addWindowListener(
const css::uno::Reference< css::awt::XWindowListener >& xListener )
override;
744 virtual void SAL_CALL
removeWindowListener(
const css::uno::Reference< css::awt::XWindowListener >& xListener )
override;
745 virtual void SAL_CALL
addFocusListener(
const css::uno::Reference< css::awt::XFocusListener >& xListener )
override;
746 virtual void SAL_CALL
removeFocusListener(
const css::uno::Reference< css::awt::XFocusListener >& xListener )
override;
747 virtual void SAL_CALL
addKeyListener(
const css::uno::Reference< css::awt::XKeyListener >& xListener )
override;
748 virtual void SAL_CALL
removeKeyListener(
const css::uno::Reference< css::awt::XKeyListener >& xListener )
override;
749 virtual void SAL_CALL
addMouseListener(
const css::uno::Reference< css::awt::XMouseListener >& xListener )
override;
750 virtual void SAL_CALL
removeMouseListener(
const css::uno::Reference< css::awt::XMouseListener >& xListener )
override;
751 virtual void SAL_CALL
addMouseMotionListener(
const css::uno::Reference< css::awt::XMouseMotionListener >& xListener )
override;
752 virtual void SAL_CALL
removeMouseMotionListener(
const css::uno::Reference< css::awt::XMouseMotionListener >& xListener )
override;
753 virtual void SAL_CALL
addPaintListener(
const css::uno::Reference< css::awt::XPaintListener >& xListener )
override;
754 virtual void SAL_CALL
removePaintListener(
const css::uno::Reference< css::awt::XPaintListener >& xListener )
override;
766 virtual void onFocusGained(
const css::awt::FocusEvent& _rEvent );
767 virtual void onFocusLost(
const css::awt::FocusEvent& _rEvent );
791 const css::uno::Reference< css::sdb::XColumn >& xField,
792 const css::uno::Reference< css::util::XNumberFormatter >& xFormatter);
795 const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
813 const css::uno::Reference< css::sdb::XColumn >& xField,
814 const css::uno::Reference< css::util::XNumberFormatter >& xFormatter)
override;
816 OUString
GetText(
const css::uno::Reference< css::sdb::XColumn >& _rxField,
817 const css::uno::Reference< css::util::XNumberFormatter >& xFormatter,
818 const Color** ppColor =
nullptr)
819 {
return m_pCellControl->GetFormatText(_rxField, xFormatter, ppColor);}
824 , css::form::XChangeBroadcaster
833 virtual css::uno::Any SAL_CALL
queryAggregation(
const css::uno::Type& _rType )
override;
836 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
840 virtual void SAL_CALL
disposing()
override;
843 virtual void SAL_CALL
addTextListener(
const css::uno::Reference< css::awt::XTextListener >& l)
override;
844 virtual void SAL_CALL
removeTextListener(
const css::uno::Reference< css::awt::XTextListener >& l)
override;
845 virtual void SAL_CALL
setText(
const OUString& aText)
override;
846 virtual void SAL_CALL
insertText(
const css::awt::Selection& Sel,
const OUString& Text)
override;
847 virtual OUString SAL_CALL
getText()
override;
849 virtual void SAL_CALL
setSelection(
const css::awt::Selection& aSelection)
override;
850 virtual css::awt::Selection SAL_CALL
getSelection()
override;
853 virtual void SAL_CALL
setMaxTextLen(sal_Int16 nLen)
override;
857 virtual void SAL_CALL
addChangeListener(
const css::uno::Reference< css::form::XChangeListener >& aListener )
override;
858 virtual void SAL_CALL
removeChangeListener(
const css::uno::Reference< css::form::XChangeListener >& aListener )
override;
863 virtual void onFocusGained(
const css::awt::FocusEvent& _rEvent )
override;
864 virtual void onFocusLost(
const css::awt::FocusEvent& _rEvent )
override;
897 virtual css::uno::Any SAL_CALL
queryAggregation(
const css::uno::Type& _rType )
override;
898 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
902 virtual void SAL_CALL
disposing()
override;
905 virtual void SAL_CALL
addItemListener(
const css::uno::Reference< css::awt::XItemListener >& l)
override;
906 virtual void SAL_CALL
removeItemListener(
const css::uno::Reference< css::awt::XItemListener >& l)
override;
907 virtual sal_Int16 SAL_CALL
getState()
override;
908 virtual void SAL_CALL
setState(sal_Int16 n)
override;
909 virtual void SAL_CALL
setLabel(
const OUString& Label)
override;
913 virtual void SAL_CALL
addActionListener(
const css::uno::Reference< css::awt::XActionListener >& l )
override;
914 virtual void SAL_CALL
removeActionListener(
const css::uno::Reference< css::awt::XActionListener >& l )
override;
928 virtual css::uno::Any SAL_CALL
queryAggregation(
const css::uno::Type& _rType )
override;
929 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
933 virtual void SAL_CALL
disposing()
override;
936 virtual void SAL_CALL
addItemListener(
const css::uno::Reference< css::awt::XItemListener >& l)
override;
937 virtual void SAL_CALL
removeItemListener(
const css::uno::Reference< css::awt::XItemListener >& l)
override;
938 virtual void SAL_CALL
addActionListener(
const css::uno::Reference< css::awt::XActionListener >& l)
override;
939 virtual void SAL_CALL
removeActionListener(
const css::uno::Reference< css::awt::XActionListener >& l)
override;
940 virtual void SAL_CALL
addItem(
const OUString& aItem, sal_Int16 nPos)
override;
941 virtual void SAL_CALL
addItems(
const css::uno::Sequence< OUString >& aItems, sal_Int16 nPos)
override;
942 virtual void SAL_CALL
removeItems(sal_Int16 nPos, sal_Int16 nCount)
override;
944 virtual OUString SAL_CALL
getItem(sal_Int16 nPos)
override;
945 virtual css::uno::Sequence< OUString > SAL_CALL
getItems()
override;
949 virtual css::uno::Sequence< OUString > SAL_CALL
getSelectedItems()
override;
951 virtual void SAL_CALL
selectItemsPos(
const css::uno::Sequence< sal_Int16 >& aPositions,
sal_Bool bSelect)
override;
957 virtual void SAL_CALL
makeVisible(sal_Int16 nEntry)
override;
993 virtual css::uno::Any SAL_CALL
queryAggregation(
const css::uno::Type& _rType )
override;
994 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
998 virtual void SAL_CALL
disposing()
override;
1001 virtual void SAL_CALL
addItemListener(
const css::uno::Reference< css::awt::XItemListener >& Listener )
override;
1002 virtual void SAL_CALL
removeItemListener(
const css::uno::Reference< css::awt::XItemListener >& Listener )
override;
1003 virtual void SAL_CALL
addActionListener(
const css::uno::Reference< css::awt::XActionListener >& Listener )
override;
1004 virtual void SAL_CALL
removeActionListener(
const css::uno::Reference< css::awt::XActionListener >& Listener )
override;
1005 virtual void SAL_CALL
addItem(
const OUString& Item, ::sal_Int16 Pos )
override;
1006 virtual void SAL_CALL
addItems(
const css::uno::Sequence< OUString >& Items, ::sal_Int16 Pos )
override;
1007 virtual void SAL_CALL
removeItems( ::sal_Int16 nPos, ::sal_Int16 nCount )
override;
1009 virtual OUString SAL_CALL
getItem( ::sal_Int16 Pos )
override;
1010 virtual css::uno::Sequence< OUString > SAL_CALL
getItems( )
override;
1025 virtual css::uno::Any SAL_CALL
queryAggregation(
const css::uno::Type& _rType )
override;
1026 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
1034 virtual void SAL_CALL
disposing()
override;
1037 virtual void SAL_CALL
addTextListener(
const css::uno::Reference< css::awt::XTextListener >& l)
override;
1038 virtual void SAL_CALL
removeTextListener(
const css::uno::Reference< css::awt::XTextListener >& l)
override;
1039 virtual void SAL_CALL
setText(
const OUString& aText)
override;
1040 virtual void SAL_CALL
insertText(
const css::awt::Selection& Sel,
const OUString& Text)
override;
1041 virtual OUString SAL_CALL
getText()
override;
1043 virtual void SAL_CALL
setSelection(
const css::awt::Selection& aSelection)
override;
1044 virtual css::awt::Selection SAL_CALL
getSelection()
override;
1047 virtual void SAL_CALL
setMaxTextLen(sal_Int16 nLen)
override;
void ImplInitWindow(vcl::Window const &rParent, const InitWindowFacet _eInitWhat)
virtual OUString GetFormatText(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const Color **ppColor=nullptr)=0
svt::ControlBase & GetWindow() const
virtual void _propertyChanged(const css::beans::PropertyChangeEvent &evt) override
void AlignControl(sal_Int16 nAlignment)
bool isTransparent() const
void implAdjustReadOnly(const css::uno::Reference< css::beans::XPropertySet > &_rxModel, bool i_bReadOnly)
updates the "readonly" setting on m_pWindow, according to the respective property value in the given ...
virtual ::svt::CellControllerRef CreateController() const =0
void setTransparent(bool _bSet)
bool m_bAccessingValueProperty
void invalidatedController()
virtual bool commitControl()=0
commits the content of the control (e.g.
rtl::Reference<::comphelper::OPropertyChangeMultiplexer > m_pFieldChangeBroadcaster
virtual void Init(BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor)
void implAdjustEnabled(const css::uno::Reference< css::beans::XPropertySet > &_rxModel)
updates the "enabled" setting on m_pWindow, according to the respective property value in the given m...
void unlockValueProperty()
unlocks the listening at the value property
const css::uno::Reference< css::sdbc::XRowSet > & getCursor() const
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)=0
void doPropertyListening(const OUString &_rPropertyName)
css::uno::Reference< css::sdbc::XRowSet > m_xCursor
VclPtr< svt::ControlBase > m_pWindow
VclPtr< svt::ControlBase > m_pPainter
void setAlignedController(bool _bAlign)
bool isAlignedController() const
bool isValuePropertyLocked() const
determined whether or not the value property is locked
double GetValue(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) const
virtual void PaintCell(OutputDevice &_rDev, const tools::Rectangle &_rRect)
bool m_bAlignedController
rtl::Reference<::comphelper::OPropertyChangeMultiplexer > m_pModelChangeBroadcaster
void implValuePropertyChanged()
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel)=0
updates the current content of the control (e.g.
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 implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel)
DbCellControl(DbGridColumn &_rColumn)
virtual ~DbCellControl() override
void implDoPropertyListening(const OUString &_rPropertyName, bool _bWarnIfNotExistent)
void lockValueProperty()
locks the listening at the value property.
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) override
DbCheckBox(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 updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
virtual ::svt::CellControllerRef CreateController() const override
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
virtual void PaintCell(OutputDevice &rDev, const tools::Rectangle &rRect) override
virtual bool commitControl() override
commits the content of the control (e.g.
DbComboBox(DbGridColumn &_rColumn)
virtual void Init(BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor) override
virtual void implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) 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 void _propertyChanged(const css::beans::PropertyChangeEvent &evt) override
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
virtual bool commitControl() override
commits the content of the control (e.g.
virtual ::svt::CellControllerRef CreateController() const override
void SetList(const css::uno::Any &rItems)
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
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 VclPtr< svt::ControlBase > createField(BrowserDataWin *_pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
virtual bool commitControl() override
commits the content of the control (e.g.
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
virtual void implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
initializes everything which relates to the properties describing the numeric behaviour
DbCurrencyField(DbGridColumn &_rColumn)
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
virtual void implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
initializes everything which relates to the properties describing the numeric behaviour
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 VclPtr< svt::ControlBase > createField(BrowserDataWin *_pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
DbDateField(DbGridColumn &_rColumn)
virtual bool commitControl() override
commits the content of the control (e.g.
void CreateControl(BrowserDataWin *pParent, const css::uno::Reference< css::beans::XPropertySet > &xModel)
virtual void Init(BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor) override
css::uno::Sequence< OUString > m_aValueList
virtual bool commitControl() override
commits the content of the control (e.g.
const OUString & GetText() const
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
virtual void Update() override
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
DbFilterField(const css::uno::Reference< css::uno::XComponentContext > &rxContext, DbGridColumn &_rColumn)
virtual ::svt::CellControllerRef CreateController() const 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 PaintCell(OutputDevice &rDev, const tools::Rectangle &rRect) override
DECL_LINK(OnToggle, weld::CheckButton &, void)
void SetList(const css::uno::Any &rItems, bool bComboBox)
Link< DbFilterField &, void > m_aCommitLink
virtual ~DbFilterField() override
void SetText(const OUString &rText)
sal_Int16 m_nControlClass
void SetCommitHdl(const Link< DbFilterField &, void > &rLink)
DbGridControl & GetParent() const
OUString GetCellText(const css::uno::Reference< css::sdb::XColumn > &xField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) const
void ImplInitWindow(vcl::Window const &rParent, const InitWindowFacet _eInitWhat)
void SetObject(sal_Int16 nPos)
sal_Int16 SetAlignmentFromModel(sal_Int16 nStandardAlign)
void SetReadOnly(bool bRead)
void UpdateFromField(const DbGridRow *pRow, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)
OUString GetCellText(const DbGridRow *pRow, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) const
void setModel(const css::uno::Reference< css::beans::XPropertySet > &_xModel)
sal_Int16 GetAlignment() const
::svt::CellControllerRef s_xEmptyController
FmXGridCell * GetCell() const
rtl::Reference< FmXGridCell > m_pCell
void CreateControl(sal_Int32 _nFieldPos, const css::uno::Reference< css::beans::XPropertySet > &xField, sal_Int32 nTypeId)
sal_Int16 GetFieldPos() const
const ::svt::CellControllerRef & GetController() const
css::uno::Reference< css::beans::XPropertySet > m_xModel
sal_Int32 m_nLastVisibleWidth
DbGridControl & m_rParent
void setLock(bool _bLock)
css::uno::Reference< css::sdb::XColumn > GetCurrentFieldValue() const
sal_Int16 SetAlignment(sal_Int16 _nAlign)
const css::uno::Reference< css::beans::XPropertySet > & GetField() const
::svt::CellControllerRef m_xController
css::uno::Reference< css::beans::XPropertySet > m_xField
void Paint(OutputDevice &rDev, const tools::Rectangle &rRect, const DbGridRow *pRow, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)
DbGridColumn(sal_uInt16 _nId, DbGridControl &rParent)
void impl_toggleScriptManager_nothrow(bool _bAttach)
attaches or detaches our cell object to the SctriptEventAttacherManager implemented by our model's pa...
const css::uno::Reference< css::beans::XPropertySet > & getModel() const
a field which is bound to a column which supports the MaxTextLen property
virtual void implSetEffectiveMaxTextLen(sal_Int32 _nMaxLen)
void implSetMaxTextLen(sal_Int16 _nMaxLen)
virtual void implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
DbLimitedLengthField(DbGridColumn &_rColumn)
virtual void _propertyChanged(const css::beans::PropertyChangeEvent &evt) override
virtual void Init(BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor) override
css::uno::Sequence< OUString > m_aValueList
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 implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
virtual bool commitControl() override
commits the content of the control (e.g.
DbListBox(DbGridColumn &_rColumn)
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
void SetList(const css::uno::Any &rItems)
virtual ::svt::CellControllerRef CreateController() const override
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) 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
DbNumericField(DbGridColumn &_rColumn)
virtual VclPtr< svt::ControlBase > createField(BrowserDataWin *_pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
virtual bool commitControl() override
commits the content of the control (e.g.
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
void implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
initializes everything which relates to the properties describing the numeric behaviour
virtual void Init(BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor) override
virtual bool commitControl() override
DbCellControl.
DbPatternField(DbGridColumn &_rColumn, const css::uno::Reference< css::uno::XComponentContext > &_rContext)
virtual ::svt::CellControllerRef CreateController() const override
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual void implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
OUString impl_formatText(const OUString &_rText)
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
::std::unique_ptr< ::dbtools::FormattedColumnValue > m_pPaintFormatter
::std::unique_ptr< ::dbtools::FormattedColumnValue > m_pValueFormatter
virtual OUString GetFormatText(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const Color **ppColor=nullptr) override
DbSpinField(DbGridColumn &_rColumn, sal_Int16 _nStandardAlign=css::awt::TextAlign::RIGHT)
virtual ::svt::CellControllerRef CreateController() const override
sal_Int16 m_nStandardAlign
virtual void Init(BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &_rxCursor) override
virtual VclPtr< svt::ControlBase > createField(BrowserDataWin *_pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet > &_rxModel)=0
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 implSetEffectiveMaxTextLen(sal_Int32 _nMaxLen) override
::svt::IEditImplementation * GetEditImplementation()
virtual void Init(BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor) override
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
virtual void PaintFieldToCell(OutputDevice &_rDev, const tools::Rectangle &_rRect, const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &_rxFormatter) override
DbTextField(DbGridColumn &_rColumn)
virtual bool commitControl() override
commits the content of the control (e.g.
bool IsMultiLineEdit() const
virtual ~DbTextField() override
virtual ::svt::CellControllerRef CreateController() const override
std::unique_ptr<::svt::IEditImplementation > m_pEdit
std::unique_ptr<::svt::IEditImplementation > m_pPainterImplementation
virtual void updateFromModel(css::uno::Reference< css::beans::XPropertySet > _rxModel) override
updates the current content of the control (e.g.
virtual void implAdjustGenericFieldSetting(const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
initializes everything which relates to the properties describing the numeric behaviour
virtual void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) 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
DbTimeField(DbGridColumn &_rColumn)
virtual VclPtr< svt::ControlBase > createField(BrowserDataWin *_pParent, bool bSpinButton, const css::uno::Reference< css::beans::XPropertySet > &_rxModel) override
virtual bool commitControl() override
commits the content of the control (e.g.
virtual void SAL_CALL removeActionListener(const css::uno::Reference< css::awt::XActionListener > &l) override
::comphelper::OInterfaceContainerHelper3< css::awt::XItemListener > m_aItemListeners
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
OUString m_aActionCommand
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void SAL_CALL disposing() override
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &_rType) override
virtual void SAL_CALL addItemListener(const css::uno::Reference< css::awt::XItemListener > &l) override
VclPtr<::svt::CheckBoxControl > m_pBox
virtual ~FmXCheckBoxCell() override
virtual void SAL_CALL removeItemListener(const css::uno::Reference< css::awt::XItemListener > &l) override
::comphelper::OInterfaceContainerHelper3< css::awt::XActionListener > m_aActionListeners
FmXCheckBoxCell(DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl)
virtual void SAL_CALL enableTriState(sal_Bool b) override
virtual void SAL_CALL setLabel(const OUString &Label) override
virtual sal_Int16 SAL_CALL getState() override
DECL_LINK(ModifyHdl, LinkParamNone *, void)
virtual void SAL_CALL addActionListener(const css::uno::Reference< css::awt::XActionListener > &l) override
virtual void SAL_CALL setState(sal_Int16 n) override
virtual void SAL_CALL setActionCommand(const OUString &Command) override
virtual void SAL_CALL addItems(const css::uno::Sequence< OUString > &Items, ::sal_Int16 Pos) override
::comphelper::OInterfaceContainerHelper3< css::awt::XActionListener > m_aActionListeners
DECL_LINK(ChangedHdl, bool, void)
virtual void SAL_CALL removeActionListener(const css::uno::Reference< css::awt::XActionListener > &Listener) override
virtual void SAL_CALL addItem(const OUString &Item, ::sal_Int16 Pos) override
virtual void SAL_CALL removeItems(::sal_Int16 nPos, ::sal_Int16 nCount) override
virtual css::uno::Sequence< OUString > SAL_CALL getItems() override
virtual ~FmXComboBoxCell() override
virtual void SAL_CALL addActionListener(const css::uno::Reference< css::awt::XActionListener > &Listener) override
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &_rType) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual ::sal_Int16 SAL_CALL getDropDownLineCount() override
::comphelper::OInterfaceContainerHelper3< css::awt::XItemListener > m_aItemListeners
VclPtr<::svt::ComboBoxControl > m_pComboBox
FmXComboBoxCell(DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl)
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void SAL_CALL disposing() override
virtual void SAL_CALL removeItemListener(const css::uno::Reference< css::awt::XItemListener > &Listener) override
virtual ::sal_Int16 SAL_CALL getItemCount() override
virtual OUString SAL_CALL getItem(::sal_Int16 Pos) override
virtual void SAL_CALL addItemListener(const css::uno::Reference< css::awt::XItemListener > &Listener) override
virtual void SAL_CALL setDropDownLineCount(::sal_Int16 Lines) override
void UpdateFromField(const css::uno::Reference< css::sdb::XColumn > &xField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)
FmXDataCell(DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl)
virtual void PaintFieldToCell(OutputDevice &rDev, const tools::Rectangle &rRect, const css::uno::Reference< css::sdb::XColumn > &xField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &_rType) override
virtual void SAL_CALL setText(const OUString &aText) override
virtual void SAL_CALL addTextListener(const css::uno::Reference< css::awt::XTextListener > &l) override
virtual void onFocusGained(const css::awt::FocusEvent &_rEvent) override
DECL_LINK(ModifyHdl, LinkParamNone *, void)
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
FmXEditCell(DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl)
virtual void SAL_CALL setEditable(sal_Bool bEditable) override
virtual void SAL_CALL setSelection(const css::awt::Selection &aSelection) override
virtual sal_Int16 SAL_CALL getMaxTextLen() override
virtual void SAL_CALL insertText(const css::awt::Selection &Sel, const OUString &Text) override
virtual void onFocusLost(const css::awt::FocusEvent &_rEvent) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual OUString SAL_CALL getText() override
bool m_bOwnEditImplementation
virtual OUString SAL_CALL getSelectedText() override
virtual void SAL_CALL removeTextListener(const css::uno::Reference< css::awt::XTextListener > &l) override
::comphelper::OInterfaceContainerHelper3< css::awt::XTextListener > m_aTextListeners
virtual void SAL_CALL removeChangeListener(const css::uno::Reference< css::form::XChangeListener > &aListener) override
virtual ~FmXEditCell() override
::svt::IEditImplementation * m_pEditImplementation
virtual sal_Bool SAL_CALL isEditable() override
virtual void SAL_CALL setMaxTextLen(sal_Int16 nLen) override
virtual void SAL_CALL addChangeListener(const css::uno::Reference< css::form::XChangeListener > &aListener) override
virtual void SAL_CALL disposing() override
virtual css::awt::Selection SAL_CALL getSelection() override
::comphelper::OInterfaceContainerHelper3< css::form::XChangeListener > m_aChangeListeners
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
::comphelper::OInterfaceContainerHelper3< css::awt::XTextListener > m_aTextListeners
virtual ~FmXFilterCell() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL disposing() override
virtual void SAL_CALL addTextListener(const css::uno::Reference< css::awt::XTextListener > &l) override
virtual void SAL_CALL setMaxTextLen(sal_Int16 nLen) override
virtual void SAL_CALL setEditable(sal_Bool bEditable) override
virtual sal_Int16 SAL_CALL getMaxTextLen() override
virtual void SAL_CALL setSelection(const css::awt::Selection &aSelection) override
virtual void SAL_CALL setText(const OUString &aText) override
virtual OUString SAL_CALL getSelectedText() override
virtual void SAL_CALL insertText(const css::awt::Selection &Sel, const OUString &Text) override
virtual OUString SAL_CALL getText() override
void PaintCell(OutputDevice &rDev, const tools::Rectangle &rRect)
DECL_LINK(OnCommit, DbFilterField &, void)
FmXFilterCell(DbGridColumn *pColumn, std::unique_ptr< DbFilterField > pControl)
virtual void SAL_CALL removeTextListener(const css::uno::Reference< css::awt::XTextListener > &l) override
virtual sal_Bool SAL_CALL isEditable() override
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &_rType) override
virtual css::awt::Selection SAL_CALL getSelection() override
virtual void SAL_CALL removePaintListener(const css::uno::Reference< css::awt::XPaintListener > &xListener) override
virtual void SAL_CALL setDesignMode(sal_Bool) override
virtual css::awt::Rectangle SAL_CALL getPosSize() override
virtual void SAL_CALL addPaintListener(const css::uno::Reference< css::awt::XPaintListener > &xListener) override
virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getPeer() override
virtual void SAL_CALL createPeer(const css::uno::Reference< css::awt::XToolkit > &, const css::uno::Reference< css::awt::XWindowPeer > &) override
DECL_LINK(OnMousePress, const MouseEvent &, void)
void ImplInitWindow(vcl::Window const &rParent, const InitWindowFacet _eInitWhat)
void AlignControl(sal_Int16 nAlignment)
::comphelper::OInterfaceContainerHelper3< css::awt::XKeyListener > m_aKeyListeners
virtual void SAL_CALL dispose() override
::comphelper::OInterfaceContainerHelper3< css::awt::XFocusListener > m_aFocusListeners
virtual void SAL_CALL setFocus() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
DECL_LINK(OnMouseRelease, const MouseEvent &, void)
virtual void SAL_CALL setEnable(sal_Bool Enable) override
virtual sal_Bool SAL_CALL setModel(const css::uno::Reference< css::awt::XControlModel > &) override
virtual sal_Bool SAL_CALL getLock() override
virtual void onFocusLost(const css::awt::FocusEvent &_rEvent)
::comphelper::OInterfaceContainerHelper3< css::awt::XMouseMotionListener > m_aMouseMotionListeners
virtual void SAL_CALL removeWindowListener(const css::uno::Reference< css::awt::XWindowListener > &xListener) override
FmXGridCell(DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl)
virtual void SAL_CALL addKeyListener(const css::uno::Reference< css::awt::XKeyListener > &xListener) override
virtual void SAL_CALL removeMouseMotionListener(const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
virtual void SAL_CALL setLock(sal_Bool _bLock) override
virtual void SAL_CALL removeMouseListener(const css::uno::Reference< css::awt::XMouseListener > &xListener) override
DECL_LINK(OnFocusLost, LinkParamNone *, void)
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &_rType) override
virtual ~FmXGridCell() override
DECL_LINK(OnKeyInput, const KeyEvent &, void)
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getContext() override
virtual void onFocusGained(const css::awt::FocusEvent &_rEvent)
::comphelper::OInterfaceContainerHelper3< css::awt::XMouseListener > m_aMouseListeners
DECL_LINK(OnKeyRelease, const KeyEvent &, void)
virtual void SAL_CALL setContext(const css::uno::Reference< css::uno::XInterface > &) override
virtual void SAL_CALL addMouseMotionListener(const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
DECL_LINK(OnFocusGained, LinkParamNone *, void)
::comphelper::OInterfaceContainerHelper3< css::awt::XWindowListener > m_aWindowListeners
virtual void SAL_CALL removeFocusListener(const css::uno::Reference< css::awt::XFocusListener > &xListener) override
virtual void SAL_CALL removeKeyListener(const css::uno::Reference< css::awt::XKeyListener > &xListener) override
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL getModel() override
virtual void SAL_CALL setPosSize(::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int16 Flags) override
virtual void SAL_CALL addFocusListener(const css::uno::Reference< css::awt::XFocusListener > &xListener) override
bool isAlignedController() const
virtual css::uno::Reference< css::awt::XView > SAL_CALL getView() override
virtual sal_Bool SAL_CALL isDesignMode() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void SAL_CALL addMouseListener(const css::uno::Reference< css::awt::XMouseListener > &xListener) override
DECL_LINK(OnMouseMove, const MouseEvent &, void)
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
svt::ControlBase * getEventWindow() const
virtual sal_Bool SAL_CALL isTransparent() override
virtual void SAL_CALL setVisible(sal_Bool Visible) override
virtual void SAL_CALL disposing() override
virtual void SAL_CALL addWindowListener(const css::uno::Reference< css::awt::XWindowListener > &xListener) override
std::unique_ptr< DbCellControl > m_pCellControl
virtual sal_Bool SAL_CALL isMutipleMode() override
virtual ~FmXListBoxCell() override
virtual void SAL_CALL selectItemPos(sal_Int16 nPos, sal_Bool bSelect) override
::comphelper::OInterfaceContainerHelper3< css::awt::XActionListener > m_aActionListeners
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual OUString SAL_CALL getItem(sal_Int16 nPos) override
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &_rType) override
virtual void SAL_CALL removeItems(sal_Int16 nPos, sal_Int16 nCount) override
virtual void SAL_CALL addItemListener(const css::uno::Reference< css::awt::XItemListener > &l) override
FmXListBoxCell(DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl)
virtual void SAL_CALL removeItemListener(const css::uno::Reference< css::awt::XItemListener > &l) override
virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSelectedItemsPos() override
DECL_LINK(ChangedHdl, bool, void)
virtual sal_Int16 SAL_CALL getDropDownLineCount() override
virtual void SAL_CALL addItems(const css::uno::Sequence< OUString > &aItems, sal_Int16 nPos) override
virtual void SAL_CALL setMultipleMode(sal_Bool bMulti) override
virtual css::uno::Sequence< OUString > SAL_CALL getItems() override
virtual void SAL_CALL selectItem(const OUString &aItem, sal_Bool bSelect) override
VclPtr<::svt::ListBoxControl > m_pBox
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual sal_Int16 SAL_CALL getItemCount() override
virtual OUString SAL_CALL getSelectedItem() override
virtual void SAL_CALL addActionListener(const css::uno::Reference< css::awt::XActionListener > &l) override
virtual sal_Int16 SAL_CALL getSelectedItemPos() override
virtual void SAL_CALL makeVisible(sal_Int16 nEntry) override
virtual void SAL_CALL selectItemsPos(const css::uno::Sequence< sal_Int16 > &aPositions, sal_Bool bSelect) override
virtual void SAL_CALL disposing() override
::comphelper::OInterfaceContainerHelper3< css::awt::XItemListener > m_aItemListeners
virtual void SAL_CALL addItem(const OUString &aItem, sal_Int16 nPos) override
virtual void SAL_CALL removeActionListener(const css::uno::Reference< css::awt::XActionListener > &l) override
virtual css::uno::Sequence< OUString > SAL_CALL getSelectedItems() override
virtual void SAL_CALL setDropDownLineCount(sal_Int16 nLines) override
FmXTextCell(DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl)
virtual void PaintFieldToCell(OutputDevice &rDev, const tools::Rectangle &rRect, const css::uno::Reference< css::sdb::XColumn > &xField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override
OUString GetText(const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const Color **ppColor=nullptr)
OComponentHelper(::osl::Mutex &rMutex)
#define ENSURE_OR_THROW(c, m)
::cppu::ImplHelper1< css::awt::XListBox > FmXListBoxCell_Base
::cppu::ImplHelper1< css::awt::XTextComponent > FmXFilterCell_Base
::cppu::ImplHelper2< css::awt::XTextComponent, css::form::XChangeBroadcaster > FmXEditCell_Base
::cppu::ImplHelper1< css::awt::XComboBox > FmXComboBoxCell_Base
::cppu::ImplHelper2< css::awt::XCheckBox, css::awt::XButton > FmXCheckBoxCell_Base
::cppu::ImplHelper2< css::awt::XControl, css::form::XBoundControl > FmXGridCell_Base
::cppu::ImplHelper1< css::awt::XWindow > FmXGridCell_WindowBase
#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass)