LibreOffice Module svx (master)
1
|
#include <gridcell.hxx>
Public Member Functions | |
FmXListBoxCell (DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl) | |
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 css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | addItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override |
virtual void SAL_CALL | removeItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override |
virtual void SAL_CALL | addActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override |
virtual void SAL_CALL | removeActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override |
virtual void SAL_CALL | addItem (const OUString &aItem, sal_Int16 nPos) override |
virtual void SAL_CALL | addItems (const css::uno::Sequence< OUString > &aItems, sal_Int16 nPos) override |
virtual void SAL_CALL | removeItems (sal_Int16 nPos, sal_Int16 nCount) override |
virtual sal_Int16 SAL_CALL | getItemCount () override |
virtual OUString SAL_CALL | getItem (sal_Int16 nPos) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getItems () override |
virtual sal_Int16 SAL_CALL | getSelectedItemPos () override |
virtual css::uno::Sequence< sal_Int16 > SAL_CALL | getSelectedItemsPos () override |
virtual OUString SAL_CALL | getSelectedItem () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSelectedItems () override |
virtual void SAL_CALL | selectItemPos (sal_Int16 nPos, sal_Bool bSelect) override |
virtual void SAL_CALL | selectItemsPos (const css::uno::Sequence< sal_Int16 > &aPositions, sal_Bool bSelect) override |
virtual void SAL_CALL | selectItem (const OUString &aItem, sal_Bool bSelect) override |
virtual sal_Bool SAL_CALL | isMutipleMode () override |
virtual void SAL_CALL | setMultipleMode (sal_Bool bMulti) override |
virtual sal_Int16 SAL_CALL | getDropDownLineCount () override |
virtual void SAL_CALL | setDropDownLineCount (sal_Int16 nLines) override |
virtual void SAL_CALL | makeVisible (sal_Int16 nEntry) 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) |
![]() | |
FmXDataCell (DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl) | |
void | UpdateFromField (const css::uno::Reference< css::sdb::XColumn > &xField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) |
![]() | |
FmXGridCell (DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl) | |
void | init () |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &_rColor) |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | setContext (const css::uno::Reference< css::uno::XInterface > &) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getContext () override |
virtual void SAL_CALL | createPeer (const css::uno::Reference< css::awt::XToolkit > &, const css::uno::Reference< css::awt::XWindowPeer > &) override |
virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL | getPeer () override |
virtual sal_Bool SAL_CALL | setModel (const css::uno::Reference< css::awt::XControlModel > &) override |
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL | getModel () override |
virtual css::uno::Reference< css::awt::XView > SAL_CALL | getView () override |
virtual void SAL_CALL | setDesignMode (sal_Bool) override |
virtual sal_Bool SAL_CALL | isDesignMode () override |
virtual sal_Bool SAL_CALL | isTransparent () override |
virtual sal_Bool SAL_CALL | getLock () override |
virtual void SAL_CALL | setLock (sal_Bool _bLock) override |
virtual void SAL_CALL | setPosSize (::sal_Int32 X,::sal_Int32 Y,::sal_Int32 Width,::sal_Int32 Height,::sal_Int16 Flags) override |
virtual css::awt::Rectangle SAL_CALL | getPosSize () override |
virtual void SAL_CALL | setVisible (sal_Bool Visible) override |
virtual void SAL_CALL | setEnable (sal_Bool Enable) override |
virtual void SAL_CALL | setFocus () override |
virtual void SAL_CALL | addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
virtual void SAL_CALL | removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
bool | Commit () |
void | ImplInitWindow (vcl::Window const &rParent, const InitWindowFacet _eInitWhat) |
bool | isAlignedController () const |
void | AlignControl (sal_Int16 nAlignment) |
![]() | |
OComponentHelper (::osl::Mutex &rMutex) | |
virtual | ~OComponentHelper () SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_OVERRIDE |
![]() | |
OWeakAggObject () | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
![]() | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
![]() | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
![]() | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
Private Member Functions | |
virtual | ~FmXListBoxCell () override |
DECL_LINK (ChangedHdl, bool, void) | |
void | OnDoubleClick () |
Private Attributes | |
::comphelper::OInterfaceContainerHelper2 | m_aItemListeners |
::comphelper::OInterfaceContainerHelper2 | m_aActionListeners |
VclPtr<::svt::ListBoxControl > | m_pBox |
sal_uInt16 | m_nLines |
bool | m_bMulti |
Additional Inherited Members | |
![]() | |
void | UpdateFromColumn () |
![]() | |
virtual | ~FmXGridCell () override |
void | onWindowEvent (const VclEventId _nEventId, const vcl::Window &_rWindow, const void *_pEventData) |
virtual void | onFocusGained (const css::awt::FocusEvent &_rEvent) |
virtual void | onFocusLost (const css::awt::FocusEvent &_rEvent) |
![]() | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
![]() | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
![]() | |
~ImplHelper2 () | |
![]() | |
~ImplHelper1 () | |
![]() | |
bool | m_bFastPaint |
determines whether the text of this cell can be painted directly, without using the painter control More... | |
![]() | |
::osl::Mutex | m_aMutex |
DbGridColumn * | m_pColumn |
std::unique_ptr< DbCellControl > | m_pCellControl |
![]() | |
css::uno::WeakReferenceHelper | xDelegator |
![]() | |
oslInterlockedCount | m_refCount |
Definition at line 945 of file gridcell.hxx.
FmXListBoxCell::FmXListBoxCell | ( | DbGridColumn * | pColumn, |
std::unique_ptr< DbCellControl > | pControl | ||
) |
Definition at line 3902 of file gridcell.cxx.
References LINK, m_aMutex, m_pBox, and svt::ListBoxControl::SetAuxModifyHdl().
|
overrideprivatevirtual |
Definition at line 3913 of file gridcell.cxx.
References cppu::OComponentHelper::acquire(), and FmXGridCell::dispose().
|
overridevirtual |
Definition at line 3965 of file gridcell.cxx.
References comphelper::OInterfaceContainerHelper2::addInterface(), and m_aActionListeners.
|
overridevirtual |
Definition at line 3975 of file gridcell.cxx.
References svt::ListBoxControl::get_widget(), weld::ComboBox::insert_text(), FmXGridCell::m_aMutex, and m_pBox.
|
overridevirtual |
Definition at line 3955 of file gridcell.cxx.
|
overridevirtual |
Definition at line 3985 of file gridcell.cxx.
References svt::ListBoxControl::get_widget(), weld::ComboBox::insert_text(), FmXGridCell::m_aMutex, and m_pBox.
|
private |
|
overridevirtual |
Reimplemented from FmXGridCell.
Definition at line 3923 of file gridcell.cxx.
References comphelper::OInterfaceContainerHelper2::disposeAndClear(), FmXGridCell::disposing(), m_aActionListeners, m_aItemListeners, m_pBox, and svt::ListBoxControl::SetAuxModifyHdl().
|
overridevirtual |
Definition at line 4180 of file gridcell.cxx.
References FmXGridCell::m_aMutex, and m_nLines.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class >.
|
overridevirtual |
Definition at line 4021 of file gridcell.cxx.
References weld::ComboBox::get_text(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, and m_pBox.
|
overridevirtual |
Definition at line 4012 of file gridcell.cxx.
References weld::ComboBox::get_count(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, and m_pBox.
|
overridevirtual |
Definition at line 4030 of file gridcell.cxx.
References aSeq, weld::ComboBox::get_count(), weld::ComboBox::get_text(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, and n.
|
overridevirtual |
Definition at line 4083 of file gridcell.cxx.
References weld::ComboBox::get_active_text(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, and FmXDataCell::UpdateFromColumn().
|
overridevirtual |
Definition at line 4049 of file gridcell.cxx.
References weld::ComboBox::get_active(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, nPos, and FmXDataCell::UpdateFromColumn().
|
overridevirtual |
Definition at line 4099 of file gridcell.cxx.
References aSeq, weld::ComboBox::get_active(), weld::ComboBox::get_text(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, and FmXDataCell::UpdateFromColumn().
|
overridevirtual |
Definition at line 4064 of file gridcell.cxx.
References aSeq, weld::ComboBox::get_active(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, and FmXDataCell::UpdateFromColumn().
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class >.
Definition at line 3945 of file gridcell.cxx.
References cppu::ImplHelper1< class >::getTypes(), and FmXGridCell::getTypes().
|
overridevirtual |
Definition at line 4166 of file gridcell.cxx.
References FmXGridCell::m_aMutex, and m_bMulti.
|
overridevirtual |
Definition at line 4193 of file gridcell.cxx.
|
private |
Definition at line 4220 of file gridcell.cxx.
References actionPerformed(), aEvent, weld::ComboBox::get_active_text(), svt::ListBoxControl::get_widget(), comphelper::OInterfaceIteratorHelper2::hasMoreElements(), m_aActionListeners, m_pBox, and comphelper::OInterfaceIteratorHelper2::next().
|
overridevirtual |
Reimplemented from FmXGridCell.
Definition at line 3935 of file gridcell.cxx.
References Any, FmXGridCell::queryAggregation(), and cppu::ImplHelper1< class >::queryInterface().
|
overridevirtual |
Definition at line 3970 of file gridcell.cxx.
References m_aActionListeners, and comphelper::OInterfaceContainerHelper2::removeInterface().
|
overridevirtual |
Definition at line 3960 of file gridcell.cxx.
References m_aItemListeners, and comphelper::OInterfaceContainerHelper2::removeInterface().
|
overridevirtual |
Definition at line 4001 of file gridcell.cxx.
References svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, n, and weld::ComboBox::remove().
|
overridevirtual |
Definition at line 4151 of file gridcell.cxx.
References weld::ComboBox::find_text(), weld::ComboBox::get_active(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, nPos, and weld::ComboBox::set_active().
Definition at line 4119 of file gridcell.cxx.
References weld::ComboBox::get_active(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, and weld::ComboBox::set_active().
|
overridevirtual |
Definition at line 4133 of file gridcell.cxx.
References weld::ComboBox::get_active(), svt::ListBoxControl::get_widget(), FmXGridCell::m_aMutex, m_pBox, n, nPos, and weld::ComboBox::set_active().
|
overridevirtual |
Definition at line 4186 of file gridcell.cxx.
References FmXGridCell::m_aMutex, and m_nLines.
Definition at line 4173 of file gridcell.cxx.
References FmXGridCell::m_aMutex, and m_bMulti.
|
private |
Definition at line 990 of file gridcell.hxx.
Referenced by addActionListener(), disposing(), OnDoubleClick(), and removeActionListener().
|
private |
Definition at line 990 of file gridcell.hxx.
Referenced by disposing(), and removeItemListener().
|
private |
Definition at line 994 of file gridcell.hxx.
Referenced by isMutipleMode(), and setMultipleMode().
|
private |
Definition at line 993 of file gridcell.hxx.
Referenced by getDropDownLineCount(), and setDropDownLineCount().
|
private |
Definition at line 992 of file gridcell.hxx.
Referenced by addItem(), addItems(), disposing(), FmXListBoxCell(), getItem(), getItemCount(), getItems(), getSelectedItem(), getSelectedItemPos(), getSelectedItems(), getSelectedItemsPos(), OnDoubleClick(), removeItems(), selectItem(), selectItemPos(), and selectItemsPos().