LibreOffice Module svx (master)
1
|
#include <fmgridif.hxx>
Classes | |
class | GridListenerDelegator |
Public Member Functions | |
FmXGridPeer (const css::uno::Reference< css::uno::XComponentContext > &) | |
virtual | ~FmXGridPeer () override |
void | Create (vcl::Window *pParent, WinBits nStyle) |
virtual css::uno::Reference< css::container::XIndexContainer > SAL_CALL | getColumns () override |
virtual void SAL_CALL | setColumns (const css::uno::Reference< css::container::XIndexContainer > &aColumns) override final |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | addUpdateListener (const css::uno::Reference< css::form::XUpdateListener > &l) override |
virtual void SAL_CALL | removeUpdateListener (const css::uno::Reference< css::form::XUpdateListener > &l) override |
virtual sal_Bool SAL_CALL | commit () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 _rIndex) override |
virtual void SAL_CALL | propertyChange (const css::beans::PropertyChangeEvent &evt) override |
virtual void SAL_CALL | loaded (const css::lang::EventObject &rEvent) override |
virtual void SAL_CALL | unloaded (const css::lang::EventObject &rEvent) override |
virtual void SAL_CALL | unloading (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | reloading (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | reloaded (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | cursorMoved (const css::lang::EventObject &event) override |
virtual void SAL_CALL | rowChanged (const css::lang::EventObject &event) override |
virtual void SAL_CALL | rowSetChanged (const css::lang::EventObject &event) override |
virtual void SAL_CALL | elementInserted (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementRemoved (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementReplaced (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | setProperty (const OUString &PropertyName, const css::uno::Any &Value) override |
virtual css::uno::Any SAL_CALL | getProperty (const OUString &PropertyName) override |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > | CreateAccessibleContext () override |
virtual void SAL_CALL | addGridControlListener (const css::uno::Reference< css::form::XGridControlListener > &_listener) override |
virtual void SAL_CALL | removeGridControlListener (const css::uno::Reference< css::form::XGridControlListener > &_listener) override |
virtual sal_Int16 SAL_CALL | getCurrentColumnPosition () override |
virtual void SAL_CALL | setCurrentColumnPosition (sal_Int16 nPos) override |
virtual css::uno::Sequence< sal_Bool > SAL_CALL | queryFieldDataType (const css::uno::Type &xType) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | queryFieldData (sal_Int32 nRow, const css::uno::Type &xType) override |
virtual css::uno::Reference< css::sdbc::XRowSet > SAL_CALL | getRowSet () override |
virtual void SAL_CALL | setRowSet (const css::uno::Reference< css::sdbc::XRowSet > &xDataSource) override final |
virtual void SAL_CALL | addModifyListener (const css::uno::Reference< css::util::XModifyListener > &l) override |
virtual void SAL_CALL | removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &l) override |
virtual void SAL_CALL | setDesignMode (sal_Bool bOn) override |
virtual sal_Bool SAL_CALL | isDesignMode () override |
virtual void SAL_CALL | selectionChanged (const css::lang::EventObject &aEvent) override |
void | CellModified () |
void | updateGrid (const css::uno::Reference< css::sdbc::XRowSet > &_rDatabaseCursor) |
void | startCursorListening () |
void | stopCursorListening () |
virtual void SAL_CALL | setMode (const OUString &Mode) override |
virtual OUString SAL_CALL | getMode () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedModes () override |
virtual sal_Bool SAL_CALL | supportsMode (const OUString &Mode) override |
virtual void SAL_CALL | addContainerListener (const css::uno::Reference< css::container::XContainerListener > &l) override |
virtual void SAL_CALL | removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &l) override |
void | columnVisible (DbGridColumn const *pColumn) |
void | columnHidden (DbGridColumn const *pColumn) |
virtual void SAL_CALL | draw (sal_Int32 x, sal_Int32 y) override |
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL | queryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override |
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL | queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &aDescripts) override |
virtual void SAL_CALL | registerDispatchProviderInterceptor (const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &xInterceptor) override |
virtual void SAL_CALL | releaseDispatchProviderInterceptor (const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &xInterceptor) override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual sal_Bool SAL_CALL | approveReset (const css::lang::EventObject &rEvent) override |
virtual void SAL_CALL | resetted (const css::lang::EventObject &rEvent) override |
virtual sal_Bool SAL_CALL | select (const css::uno::Any &aSelection) override |
virtual css::uno::Any SAL_CALL | getSelection () override |
virtual void SAL_CALL | addSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override |
virtual void SAL_CALL | removeSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override |
Protected Member Functions | |
virtual VclPtr< FmGridControl > | imp_CreateControl (vcl::Window *pParent, WinBits nStyle) |
void | ConnectToDispatcher () |
void | DisConnectFromDispatcher () |
void | UpdateDispatches () |
void | addColumnListeners (const css::uno::Reference< css::beans::XPropertySet > &xCol) |
If a derived class wants to listen at some column properties, it doesn't have to override all methods affecting columns (setColumns, elementInserted, elementRemoved ...) Instead it may use addColumnListeners and removeColumnListeners which are called in all the cases. More... | |
void | removeColumnListeners (const css::uno::Reference< css::beans::XPropertySet > &xCol) |
void | selectionChanged () |
void | columnChanged () |
DECL_DLLPRIVATE_LINK (OnQueryGridSlotState, DbGridControlNavigationBarState, int) | |
DECL_DLLPRIVATE_LINK (OnExecuteGridSlot, DbGridControlNavigationBarState, bool) | |
Static Protected Member Functions | |
static css::uno::Sequence< css::util::URL > & | getSupportedURLs () |
static const std::vector< DbGridControlNavigationBarState > & | getSupportedGridSlots () |
Protected Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
::osl::Mutex | m_aMutex |
Private Attributes | |
css::uno::Reference< css::container::XIndexContainer > | m_xColumns |
css::uno::Reference< css::sdbc::XRowSet > | m_xCursor |
::comphelper::OInterfaceContainerHelper3< css::util::XModifyListener > | m_aModifyListeners |
::comphelper::OInterfaceContainerHelper3< css::form::XUpdateListener > | m_aUpdateListeners |
::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > | m_aContainerListeners |
::comphelper::OInterfaceContainerHelper3< css::view::XSelectionChangeListener > | m_aSelectionListeners |
::comphelper::OInterfaceContainerHelper3< css::form::XGridControlListener > | m_aGridControlListeners |
OUString | m_aMode |
sal_Int32 | m_nCursorListening |
css::uno::Reference< css::frame::XDispatchProviderInterceptor > | m_xFirstDispatchInterceptor |
bool | m_bInterceptingDispatch |
std::unique_ptr< bool[]> | m_pStateCache |
std::unique_ptr< css::uno::Reference< css::frame::XDispatch >[]> | m_pDispatchers |
class SAL_DLLPRIVATE | GridListenerDelegator |
std::unique_ptr< GridListenerDelegator > | m_pGridListener |
Friends | |
class | GridListenerDelegator |
Definition at line 320 of file fmgridif.hxx.
FmXGridPeer::FmXGridPeer | ( | const css::uno::Reference< css::uno::XComponentContext > & | ) |
Definition at line 1035 of file fmgridif.cxx.
References false, GridListenerDelegator, and m_pGridListener.
Referenced by FmXGridControl::imp_CreatePeer().
|
overridevirtual |
Definition at line 1075 of file fmgridif.cxx.
References setColumns(), and setRowSet().
|
protected |
If a derived class wants to listen at some column properties, it doesn't have to override all methods affecting columns (setColumns, elementInserted, elementRemoved ...) Instead it may use addColumnListeners and removeColumnListeners which are called in all the cases.
Definition at line 1550 of file fmgridif.cxx.
References FM_PROP_ALIGN, FM_PROP_FORMATKEY, FM_PROP_HIDDEN, FM_PROP_LABEL, FM_PROP_WIDTH, i, Property, and SAL_N_ELEMENTS.
Referenced by elementInserted(), elementReplaced(), and setColumns().
|
overridevirtual |
Definition at line 2097 of file fmgridif.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), and m_aContainerListeners.
|
overridevirtual |
Definition at line 2204 of file fmgridif.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), and m_aGridControlListeners.
|
overridevirtual |
Definition at line 1126 of file fmgridif.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), and m_aModifyListeners.
|
overridevirtual |
Definition at line 2588 of file fmgridif.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), and m_aSelectionListeners.
|
overridevirtual |
Definition at line 1435 of file fmgridif.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), and m_aUpdateListeners.
|
overridevirtual |
Definition at line 2557 of file fmgridif.cxx.
void FmXGridPeer::CellModified | ( | ) |
Definition at line 1314 of file fmgridif.cxx.
References m_aModifyListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
Referenced by FmGridControl::CellModified().
|
protected |
Definition at line 1028 of file fmgridif.cxx.
References aEvent, m_aGridControlListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
void FmXGridPeer::columnHidden | ( | DbGridColumn const * | pColumn | ) |
Definition at line 2395 of file fmgridif.cxx.
References DbGridColumn::GetCell(), DbGridColumn::GetId(), DbGridControl::GetModelColumnPos(), m_aContainerListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
Referenced by FmGridControl::HideColumn().
void FmXGridPeer::columnVisible | ( | DbGridColumn const * | pColumn | ) |
Definition at line 2380 of file fmgridif.cxx.
References DbGridColumn::GetCell(), DbGridColumn::GetId(), DbGridControl::GetModelColumnPos(), m_aContainerListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
Referenced by FmGridControl::ShowColumn().
|
overridevirtual |
Definition at line 1447 of file fmgridif.cxx.
References FmGridControl::commit(), comphelper::OInterfaceIteratorHelper3< ListenerT >::hasMoreElements(), m_aUpdateListeners, m_xCursor, comphelper::OInterfaceIteratorHelper3< ListenerT >::next(), and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
|
protected |
Definition at line 2700 of file fmgridif.cxx.
References DBG_ASSERT, getSupportedURLs(), m_pDispatchers, m_pStateCache, queryDispatch(), and UpdateDispatches().
Referenced by UpdateDispatches().
void FmXGridPeer::Create | ( | vcl::Window * | pParent, |
WinBits | nStyle | ||
) |
Definition at line 1057 of file fmgridif.cxx.
References DBG_ASSERT, getSupportedURLs(), imp_CreateControl(), DbGridControl::Init(), LINK, m_pGridListener, DbGridControl::setGridListener(), DbGridControl::SetSlotExecutor(), and DbGridControl::SetStateProvider().
|
overridevirtual |
Definition at line 1960 of file fmgridif.cxx.
References VCLXWindow::CreateAccessibleContext(), and vcl::Window::GetAccessible().
|
overridevirtual |
Definition at line 2293 of file fmgridif.cxx.
|
overridevirtual |
Definition at line 1469 of file fmgridif.cxx.
References FM_PROP_ISNEW, DbGridControl::IsOpen(), and FmGridControl::positioned().
|
protected |
|
protected |
|
protected |
Definition at line 2736 of file fmgridif.cxx.
References getSupportedURLs(), m_pDispatchers, and m_pStateCache.
Referenced by dispose(), and setDesignMode().
Definition at line 2038 of file fmgridif.cxx.
References DisConnectFromDispatcher(), VCLXWindow::dispose(), BrowseBox::DisposeAccessible(), comphelper::OInterfaceContainerHelper3< class >::disposeAndClear(), FM_PROP_ISMODIFIED, FM_PROP_ROWCOUNT, m_aContainerListeners, m_aModifyListeners, m_aUpdateListeners, m_xCursor, m_xFirstDispatchInterceptor, and DbGridControl::setDataSource().
|
overridevirtual |
Definition at line 1085 of file fmgridif.cxx.
References VCLXWindow::disposing(), getSupportedURLs(), i, m_pDispatchers, m_pStateCache, m_xCursor, setColumns(), setRowSet(), and URL.
|
overridevirtual |
Definition at line 2410 of file fmgridif.cxx.
References VCLXWindow::draw(), svt::EditBrowseBox::GetBrowserFlags(), and svt::EditBrowseBox::SetBrowserFlags().
|
overridevirtual |
Definition at line 1673 of file fmgridif.cxx.
References addColumnListeners(), aName, Any, DbGridControl::AppendColumn(), FM_PROP_HIDDEN, FM_PROP_LABEL, FM_PROP_WIDTH, comphelper::getBOOL(), DbGridControl::GetColumns(), DbGridColumn::GetId(), comphelper::getINT32(), DbGridControl::GetModelColCount(), FmGridControl::HideColumn(), FmGridControl::IsInColumnMove(), m_xColumns, m_xContext, Point, and DbGridColumn::setModel().
|
overridevirtual |
Definition at line 1760 of file fmgridif.cxx.
References DbGridControl::GetColumnIdFromModelPos(), comphelper::getINT32(), DbGridControl::GetModelColCount(), FmGridControl::IsInColumnMove(), m_xColumns, DbGridControl::RemoveColumn(), and removeColumnListeners().
|
overridevirtual |
Definition at line 1705 of file fmgridif.cxx.
References svt::EditBrowseBox::ActivateCell(), addColumnListeners(), aName, Any, DbGridControl::AppendColumn(), svt::EditBrowseBox::DeactivateCell(), FM_PROP_LABEL, FM_PROP_WIDTH, DbGridControl::GetColumnIdFromModelPos(), DbGridControl::GetColumns(), DbGridControl::getDataSource(), comphelper::getINT32(), DbGridControl::GetModelColumnPos(), FmGridControl::InitColumnByField(), svt::EditBrowseBox::IsEditing(), FmGridControl::IsInColumnMove(), m_xColumns, Point, DbGridControl::RemoveColumn(), removeColumnListeners(), and DbGridColumn::setModel().
|
overridevirtual |
Definition at line 2310 of file fmgridif.cxx.
References Any, DbGridColumn::GetCell(), DbGridControl::GetColumnIdFromViewPos(), DbGridControl::GetColumns(), getCount(), DbGridControl::GetModelColumnPos(), GRID_COLUMN_NOT_FOUND, nId, and nPos.
|
overridevirtual |
Definition at line 1544 of file fmgridif.cxx.
References m_xColumns.
Referenced by queryFieldDataType(), FmGridControl::Select(), and setProperty().
|
overridevirtual |
Definition at line 2300 of file fmgridif.cxx.
References DbGridControl::GetViewColCount().
Referenced by getByIndex(), and hasElements().
|
overridevirtual |
Definition at line 2216 of file fmgridif.cxx.
References BrowseBox::GetCurColumnId(), and DbGridControl::GetViewColumnPos().
|
overridevirtual |
Definition at line 2286 of file fmgridif.cxx.
References cppu::UnoType< class >::get().
|
overridevirtual |
Definition at line 2356 of file fmgridif.cxx.
References m_aMode.
|
overridevirtual |
Definition at line 1989 of file fmgridif.cxx.
References Any, BrowseBox::CalcReverseZoom(), FM_PROP_BACKGROUNDCOLOR, FM_PROP_ENABLED, FM_PROP_HASNAVIGATION, FM_PROP_NAME, FM_PROP_RECORDMARKER, FM_PROP_ROWHEIGHT, FM_PROP_TEXTCOLOR, BrowseBox::GetDataRowHeight(), BrowseBox::GetDataWindow(), VCLXWindow::getProperty(), DbGridControl::HasHandle(), DbGridControl::HasNavigationBar(), ImplCreateFontDescriptor(), and Point.
|
overridevirtual |
Definition at line 2161 of file fmgridif.cxx.
References m_xCursor.
|
overridevirtual |
Definition at line 2580 of file fmgridif.cxx.
References Any, and FmGridControl::getSelectionBookmarks().
|
staticprotected |
Definition at line 2621 of file fmgridif.cxx.
References First, Last, New, Next, Prev, and Undo.
Referenced by statusChanged().
|
overridevirtual |
Definition at line 2362 of file fmgridif.cxx.
Referenced by supportsMode().
|
staticprotected |
Definition at line 2635 of file fmgridif.cxx.
References FMURL_RECORD_MOVEFIRST, FMURL_RECORD_MOVELAST, FMURL_RECORD_MOVENEXT, FMURL_RECORD_MOVEPREV, FMURL_RECORD_MOVETONEW, FMURL_RECORD_UNDO, comphelper::getProcessComponentContext(), and SAL_N_ELEMENTS.
Referenced by ConnectToDispatcher(), Create(), DisConnectFromDispatcher(), disposing(), statusChanged(), and UpdateDispatches().
|
overridevirtual |
Definition at line 2280 of file fmgridif.cxx.
References getCount().
|
protectedvirtual |
Definition at line 1051 of file fmgridif.cxx.
References VclPtr< reference_type >::Create(), and m_xContext.
Referenced by Create().
|
overridevirtual |
Definition at line 1663 of file fmgridif.cxx.
References VclPtr< vcl::Window >::get().
Referenced by propertyChange(), registerDispatchProviderInterceptor(), releaseDispatchProviderInterceptor(), setDesignMode(), and setProperty().
|
overridevirtual |
Definition at line 1500 of file fmgridif.cxx.
References m_xCursor, and updateGrid().
|
overridevirtual |
Definition at line 1323 of file fmgridif.cxx.
References svt::EditBrowseBox::ActivateCell(), aName, DBG_ASSERT, svt::EditBrowseBox::DeactivateCell(), FM_PROP_ALIGN, FM_PROP_FORMATKEY, FM_PROP_HIDDEN, FM_PROP_LABEL, FM_PROP_VALUE, FM_PROP_WIDTH, comphelper::getBOOL(), DbGridControl::GetColumnIdFromModelPos(), DbGridControl::GetColumns(), BrowseBox::GetColumnTitle(), BrowseBox::GetColumnWidth(), BrowseBox::GetDefaultColumnWidth(), BrowseBox::GetFieldRect(), FmGridControl::HideColumn(), i, isDesignMode(), svt::EditBrowseBox::IsEditing(), m_xColumns, m_xCursor, nId, Point, FmGridControl::propertyChange(), DbGridColumn::SetAlignmentFromModel(), tools::Rectangle::SetBottom(), BrowseBox::SetColumnTitle(), BrowseBox::SetColumnWidth(), tools::Rectangle::SetTop(), and FmGridControl::ShowColumn().
|
overridevirtual |
Definition at line 2422 of file fmgridif.cxx.
References m_bInterceptingDispatch, and m_xFirstDispatchInterceptor.
Referenced by ConnectToDispatcher(), and UpdateDispatches().
|
overridevirtual |
Definition at line 2441 of file fmgridif.cxx.
References m_xFirstDispatchInterceptor.
|
overridevirtual |
Definition at line 1235 of file fmgridif.cxx.
References Any, DBG_ASSERT, ENSURE_OR_THROW, FM_PROP_VALUE, tools::SvRef< T >::get(), getColumn(), DbGridControl::GetColumnIdFromViewPos(), DbGridControl::GetColumns(), DbGridRow::GetField(), DbGridColumn::GetFieldPos(), DbGridControl::GetModelColumnPos(), DbGridControl::getNumberFormatter(), DbGridControl::GetPaintRow(), DbGridControl::GetViewColCount(), DbGridRow::HasField(), i, tools::SvRef< T >::is(), DbGridControl::IsOpen(), and DbGridControl::SeekRow().
|
overridevirtual |
Definition at line 1139 of file fmgridif.cxx.
References DBG_ASSERT, FM_PROP_CLASSID, getColumn(), DbGridControl::GetColumnIdFromViewPos(), getColumns(), DbGridControl::GetColumns(), DbGridRow::GetField(), DbGridColumn::GetFieldPos(), DbGridControl::GetModelColumnPos(), DbGridControl::GetSeekRow(), DbGridControl::GetViewColCount(), DbGridRow::HasField(), comphelper::hasProperty(), i, tools::SvRef< T >::is(), LAST_KNOWN_TYPE, and xRow.
|
overridevirtual |
Definition at line 2451 of file fmgridif.cxx.
References isDesignMode(), m_xFirstDispatchInterceptor, and UpdateDispatches().
|
overridevirtual |
Definition at line 2479 of file fmgridif.cxx.
References isDesignMode(), m_xFirstDispatchInterceptor, and UpdateDispatches().
|
overridevirtual |
Definition at line 1526 of file fmgridif.cxx.
References i, m_xColumns, m_xCursor, and updateGrid().
|
overridevirtual |
Definition at line 1512 of file fmgridif.cxx.
References updateGrid().
|
protected |
Definition at line 1573 of file fmgridif.cxx.
References FM_PROP_ALIGN, FM_PROP_FORMATKEY, FM_PROP_HIDDEN, FM_PROP_LABEL, FM_PROP_WIDTH, and i.
Referenced by elementRemoved(), elementReplaced(), and setColumns().
|
overridevirtual |
Definition at line 2102 of file fmgridif.cxx.
References m_aContainerListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 2210 of file fmgridif.cxx.
References m_aGridControlListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 1132 of file fmgridif.cxx.
References m_aModifyListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 2594 of file fmgridif.cxx.
References m_aSelectionListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 1441 of file fmgridif.cxx.
References m_aUpdateListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 2600 of file fmgridif.cxx.
References DbGridControl::IsOpen(), m_xColumns, m_xCursor, FmGridControl::positioned(), and DbGridControl::resetCurrentRow().
|
overridevirtual |
Definition at line 1479 of file fmgridif.cxx.
References DbGridControl::GetCurrentPos(), FmGridControl::inserted(), DbGridControl::IsCurrentAppending(), DbGridControl::IsOpen(), m_xCursor, and DbGridControl::RowModified().
|
overridevirtual |
Definition at line 1492 of file fmgridif.cxx.
|
overridevirtual |
Definition at line 2563 of file fmgridif.cxx.
|
overridevirtual |
|
protected |
Definition at line 1020 of file fmgridif.cxx.
References m_aSelectionListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
Referenced by setColumns().
|
finaloverridevirtual |
Definition at line 1590 of file fmgridif.cxx.
References addColumnListeners(), i, FmGridControl::InitColumnsByModels(), m_xColumns, removeColumnListeners(), and selectionChanged().
Referenced by disposing(), and ~FmXGridPeer().
|
overridevirtual |
Definition at line 2223 of file fmgridif.cxx.
References DbGridControl::GetColumnIdFromViewPos(), and BrowseBox::GoToColumnId().
Definition at line 1647 of file fmgridif.cxx.
References DisConnectFromDispatcher(), VclPtr< vcl::Window >::get(), isDesignMode(), and UpdateDispatches().
|
overridevirtual |
Definition at line 2335 of file fmgridif.cxx.
References m_aMode, m_xCursor, DbGridControl::setDataSource(), DbGridControl::SetFilterMode(), and supportsMode().
|
overridevirtual |
Definition at line 1777 of file fmgridif.cxx.
References Any, COL_TRANSPARENT(), ColorTransparency, DbGridControl::EnableHandle(), DbGridControl::EnableNavigationBar(), DbGridControl::EnablePermanentCursor(), FM_PROP_ALWAYSSHOWCURSOR, FM_PROP_BACKGROUNDCOLOR, FM_PROP_CURSORCOLOR, FM_PROP_DISPLAYSYNCHRON, FM_PROP_ENABLED, FM_PROP_FONT, FM_PROP_FONTEMPHASISMARK, FM_PROP_FONTRELIEF, FM_PROP_HASNAVIGATION, FM_PROP_HELPURL, FM_PROP_RECORDMARKER, FM_PROP_ROWHEIGHT, FM_PROP_TEXTCOLOR, FM_PROP_TEXTLINECOLOR, comphelper::getBOOL(), getColumns(), DbGridControl::GetColumns(), BrowseBox::GetDataWindow(), comphelper::getDefaultFont(), vcl::Font::GetEmphasisMark(), comphelper::getINT32(), INetURLObject::GetProtocol(), vcl::Font::GetRelief(), INetURLObject::GetURLPath(), ImplCreateFont(), isDesignMode(), nValue, OUStringToOString(), Point, BrowseBox::SetCursorColor(), BrowseBox::SetDataRowHeight(), DbGridControl::setDisplaySynchron(), vcl::Font::SetEmphasisMark(), VCLXWindow::setProperty(), vcl::Font::SetRelief(), and FmXGridCell::SetTextLineColor().
|
finaloverridevirtual |
Definition at line 2167 of file fmgridif.cxx.
References m_xColumns, m_xCursor, DbGridControl::setDataSource(), startCursorListening(), and stopCursorListening().
Referenced by disposing(), and ~FmXGridPeer().
void FmXGridPeer::startCursorListening | ( | ) |
Definition at line 2109 of file fmgridif.cxx.
References FM_PROP_ISMODIFIED, FM_PROP_ROWCOUNT, m_nCursorListening, and m_xCursor.
Referenced by FmGridControl::EndCursorAction(), and setRowSet().
|
overridevirtual |
Definition at line 2533 of file fmgridif.cxx.
References DBG_ASSERT, DbGridControl::GetNavigationBar(), getSupportedGridSlots(), getSupportedURLs(), NavigationBar::InvalidateState(), m_pDispatchers, m_pStateCache, and Undo.
void FmXGridPeer::stopCursorListening | ( | ) |
Definition at line 2132 of file fmgridif.cxx.
References FM_PROP_ISMODIFIED, FM_PROP_ROWCOUNT, m_nCursorListening, and m_xCursor.
Referenced by FmGridControl::BeginCursorAction(), and setRowSet().
|
overridevirtual |
Definition at line 2373 of file fmgridif.cxx.
References comphelper::findValue(), and getSupportedModes().
Referenced by setMode().
|
overridevirtual |
Definition at line 1506 of file fmgridif.cxx.
References updateGrid().
|
overridevirtual |
Definition at line 1519 of file fmgridif.cxx.
References updateGrid().
|
protected |
Definition at line 2665 of file fmgridif.cxx.
References ConnectToDispatcher(), getSupportedURLs(), m_pDispatchers, m_pStateCache, and queryDispatch().
Referenced by ConnectToDispatcher(), registerDispatchProviderInterceptor(), releaseDispatchProviderInterceptor(), and setDesignMode().
void FmXGridPeer::updateGrid | ( | const css::uno::Reference< css::sdbc::XRowSet > & | _rDatabaseCursor | ) |
Definition at line 2153 of file fmgridif.cxx.
References DbGridControl::setDataSource().
Referenced by loaded(), reloaded(), reloading(), unloaded(), and unloading().
|
friend |
Definition at line 371 of file fmgridif.hxx.
|
private |
Definition at line 370 of file fmgridif.hxx.
Referenced by FmXGridPeer().
|
private |
Definition at line 352 of file fmgridif.hxx.
Referenced by addContainerListener(), columnHidden(), columnVisible(), dispose(), and removeContainerListener().
|
private |
Definition at line 354 of file fmgridif.hxx.
Referenced by addGridControlListener(), columnChanged(), and removeGridControlListener().
|
private |
Definition at line 356 of file fmgridif.hxx.
|
private |
Definition at line 350 of file fmgridif.hxx.
Referenced by addModifyListener(), CellModified(), dispose(), and removeModifyListener().
|
protected |
Definition at line 345 of file fmgridif.hxx.
|
private |
Definition at line 353 of file fmgridif.hxx.
Referenced by addSelectionChangeListener(), removeSelectionChangeListener(), and selectionChanged().
|
private |
Definition at line 351 of file fmgridif.hxx.
Referenced by addUpdateListener(), commit(), dispose(), and removeUpdateListener().
|
private |
Definition at line 361 of file fmgridif.hxx.
Referenced by queryDispatch().
|
private |
Definition at line 357 of file fmgridif.hxx.
Referenced by startCursorListening(), and stopCursorListening().
|
private |
Definition at line 365 of file fmgridif.hxx.
Referenced by ConnectToDispatcher(), DisConnectFromDispatcher(), disposing(), statusChanged(), and UpdateDispatches().
|
private |
Definition at line 372 of file fmgridif.hxx.
Referenced by Create(), and FmXGridPeer().
|
private |
Definition at line 363 of file fmgridif.hxx.
Referenced by ConnectToDispatcher(), DisConnectFromDispatcher(), disposing(), statusChanged(), and UpdateDispatches().
|
private |
Definition at line 348 of file fmgridif.hxx.
Referenced by elementInserted(), elementRemoved(), elementReplaced(), getColumns(), propertyChange(), reloaded(), resetted(), setColumns(), and setRowSet().
|
protected |
Definition at line 344 of file fmgridif.hxx.
Referenced by elementInserted(), and imp_CreateControl().
|
private |
Definition at line 349 of file fmgridif.hxx.
Referenced by commit(), dispose(), disposing(), getRowSet(), loaded(), propertyChange(), reloaded(), resetted(), rowChanged(), setMode(), setRowSet(), startCursorListening(), and stopCursorListening().
|
private |
Definition at line 359 of file fmgridif.hxx.
Referenced by dispose(), queryDispatch(), queryDispatches(), registerDispatchProviderInterceptor(), and releaseDispatchProviderInterceptor().