LibreOffice Module svx (master)  1
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
DbGridControl Class Referenceabstract

#include <gridctrl.hxx>

Inheritance diagram for DbGridControl:
[legend]
Collaboration diagram for DbGridControl:
[legend]

Classes

struct  GrantControlAccess
 
class  NavigationBar
 

Public Member Functions

 DbGridControl (css::uno::Reference< css::uno::XComponentContext > const &_rxContext, vcl::Window *pParent, WinBits nBits)
 
virtual ~DbGridControl () override
 
virtual void dispose () override
 
virtual void Init () override
 
virtual void InitColumnsByFields (const css::uno::Reference< css::container::XIndexAccess > &xFields)=0
 
virtual void RemoveRows () override
 
virtual OUString GetCellText (long _nRow, sal_uInt16 _nColId) const override
 GetCellText returns the text at the given position. More...
 
void RemoveRows (bool bNewCursor)
 
const css::uno::Reference< css::util::XNumberFormatter > & getNumberFormatter () const
 
void setDataSource (const css::uno::Reference< css::sdbc::XRowSet > &rCursor, DbGridControlOptions nOpts=DbGridControlOptions::Insert|DbGridControlOptions::Update|DbGridControlOptions::Delete)
 
virtual void Dispatch (sal_uInt16 nId) override
 
CursorWrappergetDataSource () const
 
const std::vector< std::unique_ptr< DbGridColumn > > & GetColumns () const
 
void EnableHandle (bool bEnable)
 
bool HasHandle () const
 
void InsertHandleColumn ()
 
sal_uInt16 GetViewColumnPos (sal_uInt16 nId) const
 
sal_uInt16 GetModelColumnPos (sal_uInt16 nId) const
 
sal_uInt16 GetViewColCount () const
 
sal_uInt16 GetModelColCount () const
 
sal_uInt16 GetColumnIdFromViewPos (sal_uInt16 nPos) const
 
sal_uInt16 GetColumnIdFromModelPos (sal_uInt16 nPos) const
 
virtual void SetDesignMode (bool bMode)
 
bool IsDesignMode () const
 
bool IsOpen () const
 
void SetFilterMode (bool bMode)
 
bool IsFilterMode () const
 
bool IsFilterRow (long nRow) const
 
void EnableNavigationBar (bool bEnable)
 
bool HasNavigationBar () const
 
DbGridControlOptions GetOptions () const
 
NavigationBarGetNavigationBar ()
 
DbGridControlOptions SetOptions (DbGridControlOptions nOpt)
 
const css::util::Date & getNullDate () const
 
void MoveToPosition (sal_uInt32 nPos)
 
void MoveToFirst ()
 
void MoveToNext ()
 
void MoveToPrev ()
 
void MoveToLast ()
 
void AppendNew ()
 
void AdjustDataSource (bool bFull=false)
 
void Undo ()
 
virtual void BeginCursorAction ()
 
virtual void EndCursorAction ()
 
bool IsUpdating () const
 
void RowRemoved (long nRow, long nNumRows=1, bool bDoPaint=true)
 
void RowInserted (long nRow, long nNumRows=1, bool bDoPaint=true)
 
void RowModified (long nRow)
 
void resetCurrentRow ()
 
bool getDisplaySynchron () const
 
void setDisplaySynchron (bool bSync)
 
const DbGridRowRefGetCurrentRow () const
 
void SetStateProvider (const Link< DbGridControlNavigationBarState, int > &rProvider)
 
void SetSlotExecutor (const Link< DbGridControlNavigationBarState, bool > &rExecutor)
 
void EnablePermanentCursor (bool bEnable)
 
bool IsPermanentCursorEnabled () const
 
void ForceHideScrollbars ()
 forces both scrollbars to be hidden More...
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
bool canCopyCellText (sal_Int32 _nRow, sal_uInt16 _nColId)
 returns <TRUE> if the text of the given cell can be copied into the clipboard More...
 
void copyCellText (sal_Int32 _nRow, sal_uInt16 _nColId)
 copies the text of the given cell into the clipboard More...
 
void setGridListener (FmGridListener *_pListener)
 
void refreshController (sal_uInt16 _nColId, GrantControlAccess _aAccess)
 called when a controller needs to be re-initialized More...
 
CursorWrapperGetSeekCursor (GrantControlAccess) const
 
const DbGridRowRefGetSeekRow (GrantControlAccess) const
 
void SetSeekPos (sal_Int32 nPos, GrantControlAccess)
 
virtual sal_Int32 GetAccessibleControlCount () const override
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl (sal_Int32 _nIndex) override
 Creates the accessible object of an additional control. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCell (sal_Int32 nRow, sal_uInt16 nColumnId) override
 Creates the accessible object of a data table cell. More...
 
- Public Member Functions inherited from svt::EditBrowseBox
 EditBrowseBox (vcl::Window *pParent, EditBrowseBoxFlags nBrowserFlags, WinBits nBits, BrowserMode nMode=BrowserMode::NONE)
 
virtual ~EditBrowseBox () override
 
bool IsEditing () const
 
void InvalidateStatusCell (long nRow)
 
void InvalidateHandleColumn ()
 
const CellControllerRefController () const
 
EditBrowseBoxFlags GetBrowserFlags () const
 
void SetBrowserFlags (EditBrowseBoxFlags nFlags)
 
virtual void ActivateCell (long nRow, sal_uInt16 nCol, bool bSetCellFocus=true)
 
virtual void DeactivateCell (bool bUpdate=true)
 
virtual void GrabTableFocus () override
 
virtual tools::Rectangle GetFieldCharacterBounds (sal_Int32 _nRow, sal_Int32 _nColumnPos, sal_Int32 nIndex) override
 
virtual sal_Int32 GetFieldIndexAtPoint (sal_Int32 _nRow, sal_Int32 _nColumnPos, const Point &_rPoint) override
 
css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCheckBoxCell (long _nRow, sal_uInt16 _nColumnPos, const TriState &eState)
 
- Public Member Functions inherited from BrowseBox
virtual long GetRowCount () const override
 
 BrowseBox (vcl::Window *pParent, WinBits nBits, BrowserMode nMode=BrowserMode::NONE)
 
virtual ~BrowseBox () override
 
virtual void MouseButtonDown (const MouseEvent &rEvt) override
 
virtual void MouseMove (const MouseEvent &rEvt) override
 
virtual void MouseButtonUp (const MouseEvent &rEvt) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void Draw (OutputDevice *pDev, const Point &rPos, const Size &rSize, DrawFlags nFlags) override
 
virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt) override
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt) override
 
virtual sal_Int8 AcceptDrop (const BrowserAcceptDropEvent &rEvt)
 
virtual sal_Int8 ExecuteDrop (const BrowserExecuteDropEvent &rEvt)
 
void StartScroll ()
 
virtual long QueryMinimumRowHeight ()
 
void SetUpdateMode (bool bUpdate)
 
bool GetUpdateMode () const
 
void SetFont (const vcl::Font &rNewFont)
 
const vcl::FontGetFont () const
 
void SetTitleFont (const vcl::Font &rNewFont)
 
void InsertHandleColumn (sal_uLong nWidth)
 
void InsertDataColumn (sal_uInt16 nItemId, const OUString &rText, long nSize, HeaderBarItemBits nBits=HeaderBarItemBits::STDSTYLE, sal_uInt16 nPos=HEADERBAR_APPEND)
 
void SetColumnTitle (sal_uInt16 nColumnId, const OUString &rTitle)
 
void SetColumnWidth (sal_uInt16 nColumnId, sal_uLong nWidth)
 
void SetColumnPos (sal_uInt16 nColumnId, sal_uInt16 nPos)
 
void FreezeColumn (sal_uInt16 nColumnId)
 
void RemoveColumn (sal_uInt16 nColumnId)
 
void RemoveColumns ()
 
void SetDataRowHeight (long nPixel)
 
long GetDataRowHeight () const
 
void SetTitleLines (sal_uInt16 nLines)
 
long GetTitleHeight () const
 
OUString GetColumnTitle (sal_uInt16 nColumnId) const
 
tools::Rectangle GetFieldRect (sal_uInt16 nColumnId) const
 
sal_uLong GetColumnWidth (sal_uInt16 nColumnId) const
 
sal_uInt16 GetColumnId (sal_uInt16 nPos) const
 
sal_uInt16 GetColumnPos (sal_uInt16 nColumnId) const
 
bool IsFrozen (sal_uInt16 nColumnId) const
 
long ScrollColumns (long nColumns)
 
long ScrollRows (long nRows)
 
void MakeFieldVisible (long nRow, sal_uInt16 nColId)
 
long GetCurRow () const
 
sal_uInt16 GetCurColumnId () const
 
bool GoToRow (long nRow)
 
bool GoToColumnId (sal_uInt16 nColId)
 
bool GoToRowColumnId (long nRow, sal_uInt16 nColId)
 
virtual void SetNoSelection () override
 
virtual void SelectAll () override
 
virtual void SelectRow (long nRow, bool _bSelect=true, bool bExpand=true) override
 
void SelectColumnPos (sal_uInt16 nCol, bool _bSelect=true)
 
void SelectColumnId (sal_uInt16 nColId)
 
long GetSelectRowCount () const
 
sal_uInt16 GetSelectColumnCount () const
 
virtual bool IsRowSelected (long nRow) const override
 
bool IsColumnSelected (sal_uInt16 nColumnId) const
 
long FirstSelectedRow ()
 
long LastSelectedRow ()
 
long NextSelectedRow ()
 
const MultiSelectionGetColumnSelection () const
 
const MultiSelectionGetSelection () const
 
long FirstSelectedColumn () const
 
bool IsResizing () const
 
vcl::WindowGetDataWindow () const
 
tools::Rectangle GetRowRectPixel (long nRow) const
 
tools::Rectangle GetFieldRectPixel (long nRow, sal_uInt16 nColId, bool bRelToBrowser=true) const
 
bool IsFieldVisible (long nRow, sal_uInt16 nColId, bool bComplete=false) const
 
long GetRowAtYPosPixel (long nY, bool bRelToBrowser=true) const
 
sal_uInt16 GetColumnAtXPosPixel (long nX) const
 
void Clear ()
 
void RowRemoved (long nRow, long nNumRows=1, bool bDoPaint=true)
 
void RowModified (long nRow, sal_uInt16 nColId=BROWSER_INVALIDID)
 
void RowInserted (long nRow, long nNumRows=1, bool bDoPaint=true, bool bKeepSelection=false)
 
bool ReserveControlArea (sal_uInt16 nWidth=USHRT_MAX)
 
tools::Rectangle GetControlArea () const
 
bool ProcessKey (const KeyEvent &rEvt)
 
void Dispatch (sal_uInt16 nId)
 
void SetMode (BrowserMode nMode)
 
BrowserMode GetMode () const
 
void SetCursorColor (const Color &_rCol)
 
void EnableInteractiveRowHeight ()
 
bool IsInteractiveRowHeightEnabled () const
 
void DoPaintField (OutputDevice &rDev, const tools::Rectangle &rRect, sal_uInt16 nColumnId, BrowserColumnAccess) const
 
sal_uLong GetDefaultColumnWidth (const OUString &_rText) const
 
sal_uInt16 GetColumnCount () const override
 
void commitBrowseBoxEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
 
void commitTableEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
 
void commitHeaderBarEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue, bool _bColumnHeaderBar)
 
virtual tools::Rectangle calcHeaderRect (bool _bIsColumnBar, bool _bOnScreen=true) override
 
virtual tools::Rectangle calcTableRect (bool _bOnScreen=true) override
 
virtual tools::Rectangle GetFieldRectPixelAbs (sal_Int32 _nRowId, sal_uInt16 _nColId, bool _bIsHeader, bool _bOnScreen=true) override
 
bool isAccessibleAlive () const
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleRowHeader (sal_Int32 nRow) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleColumnHeader (sal_uInt16 nColumnPos) override
 
virtual bool ConvertPointToCellAddress (sal_Int32 &rnRow, sal_uInt16 &rnColumnId, const Point &rPoint) override
 
virtual bool ConvertPointToRowHeader (sal_Int32 &rnRow, const Point &rPoint) override
 
virtual bool ConvertPointToColumnHeader (sal_uInt16 &rnColumnPos, const Point &rPoint) override
 
virtual bool ConvertPointToControlIndex (sal_Int32 &rnIndex, const Point &rPoint) override
 
virtual OUString GetAccessibleObjectName (::vcl::AccessibleBrowseBoxObjType eObjType, sal_Int32 _nPosition=-1) const override
 
virtual OUString GetAccessibleObjectDescription (::vcl::AccessibleBrowseBoxObjType eObjType, sal_Int32 _nPosition=-1) const override
 
virtual OUString GetRowDescription (sal_Int32 nRow) const override
 
virtual OUString GetColumnDescription (sal_uInt16 _nColumn) const override
 
virtual void FillAccessibleStateSet (::utl::AccessibleStateSetHelper &rStateSet,::vcl::AccessibleBrowseBoxObjType eObjType) const override
 
virtual void FillAccessibleStateSetForCell (::utl::AccessibleStateSetHelper &_rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumn) const override
 
virtual sal_Int32 GetCurrRow () const override
 
virtual sal_uInt16 GetCurrColumn () const override
 
virtual bool HasRowHeader () const override
 
virtual bool GoToCell (sal_Int32 _nRow, sal_uInt16 _nColumn) override
 
virtual void SelectColumn (sal_uInt16 _nColumn, bool _bSelect=true) override
 
virtual bool IsColumnSelected (long _nColumn) const override
 
virtual sal_Int32 GetSelectedRowCount () const override
 
virtual sal_Int32 GetSelectedColumnCount () const override
 
virtual void GetAllSelectedRows (css::uno::Sequence< sal_Int32 > &_rRows) const override
 
virtual void GetAllSelectedColumns (css::uno::Sequence< sal_Int32 > &_rColumns) const override
 
virtual bool IsCellVisible (sal_Int32 _nRow, sal_uInt16 _nColumn) const override
 
virtual OUString GetAccessibleCellText (long _nRow, sal_uInt16 _nColPos) const override
 
virtual bool GetGlyphBoundRects (const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, MetricVector &rVector) override
 
virtual tools::Rectangle GetWindowExtentsRelative (vcl::Window *pRelativeWindow) const override
 
virtual void GrabFocus () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible () override
 
virtual vcl::WindowGetAccessibleParentWindow () const override
 
virtual vcl::WindowGetWindowInstance () override
 

Protected Member Functions

virtual bool SeekRow (long nRow) override
 
virtual void VisibleRowsChanged (long nNewTopRow, sal_uInt16 nNumRows) override
 
virtual void PaintCell (OutputDevice &rDev, const tools::Rectangle &rRect, sal_uInt16 nColId) const override
 
virtual RowStatus GetRowStatus (long nRow) const override
 
virtual bool CursorMoving (long nNewRow, sal_uInt16 nNewCol) override
 
virtual void CursorMoved () override
 
virtual void ArrangeControls (sal_uInt16 &nX, sal_uInt16 nY) override
 
virtual sal_uInt32 GetTotalCellWidth (long nRow, sal_uInt16 nColId) override
 
virtual void Command (const CommandEvent &rEvt) override
 
virtual bool PreNotify (NotifyEvent &rEvt) override
 
virtual void KeyInput (const KeyEvent &rEvt) override
 
virtual void StateChanged (StateChangedType nType) override
 
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
 
virtual void Select () override
 
virtual ::svt::CellControllerGetController (long nRow, sal_uInt16 nCol) override
 
virtual void CellModified () override
 
virtual bool SaveModified () override
 
virtual bool IsModified () const override
 
virtual sal_uInt16 AppendColumn (const OUString &rName, sal_uInt16 nWidth, sal_uInt16 nPos=HEADERBAR_APPEND, sal_uInt16 nId=sal_uInt16(-1)) override
 
void RemoveColumn (sal_uInt16 nId)
 
std::unique_ptr< DbGridColumnCreateColumn (sal_uInt16 nId) const
 
virtual void ColumnMoved (sal_uInt16 nId) override
 
virtual bool SaveRow () override
 
virtual bool IsTabAllowed (bool bForward) const override
 
virtual void HideColumn (sal_uInt16 nId)
 hide a column More...
 
virtual void ShowColumn (sal_uInt16 nId)
 show a column More...
 
virtual void PreExecuteRowContextMenu (sal_uInt16 nRow, PopupMenu &rMenu)
 This is called before executing a context menu for a row. More...
 
virtual void PostExecuteRowContextMenu (sal_uInt16 nRow, const PopupMenu &rMenu, sal_uInt16 nExecutionResult)
 After executing the context menu for a row this method is called. More...
 
void DataSourcePropertyChanged (const css::beans::PropertyChangeEvent &evt)
 
void FieldValueChanged (sal_uInt16 _nId)
 
void FieldListenerDisposing (sal_uInt16 _nId)
 
void disposing (sal_uInt16 _nId)
 
virtual void onRowChange ()
 called when the current row changed More...
 
virtual void onColumnChange ()
 called when the current column changed More...
 
virtual void StartDrag (sal_Int8 nAction, const Point &rPosPixel) override
 
void executeRowContextMenu (long _nRow, const Point &_rPreferredPos)
 
void RecalcRows (long nNewTopRow, sal_uInt16 nLinesOnScreen, bool bUpdateCursor)
 
bool SeekCursor (long nRow, bool bAbsolute=false)
 
void RemoveColumns ()
 
void AdjustRows ()
 
sal_Int32 AlignSeekCursor ()
 
bool SetCurrent (long nNewRow)
 
OUString GetCurrentRowCellText (DbGridColumn const *pCol, const DbGridRowRef &_rRow) const
 
virtual void DeleteSelectedRows ()
 
bool IsCurrentAppending () const
 
bool IsInsertionRow (long nRow) const
 
void SetSeekPos (sal_Int32 nPos)
 
sal_Int32 GetCurrentPos () const
 
sal_Int32 GetSeekPos () const
 
sal_Int32 GetTotalCount () const
 
const DbGridRowRefGetEmptyRow () const
 
const DbGridRowRefGetSeekRow () const
 
const DbGridRowRefGetPaintRow () const
 
void ConnectToFields ()
 
void DisconnectFromFields ()
 
void implAdjustInSolarThread (bool _bRows)
 
void ImplInitWindow (const InitWindowFacet _eInitWhat)
 
 DECL_LINK (OnDelete, void *, void)
 
 DECL_LINK (OnAsyncAdjust, void *, void)
 
- Protected Member Functions inherited from svt::EditBrowseBox
BrowserMouseEventPtr & getMouseEvent ()
 
BrowserHeaderGetHeaderBar () const
 
virtual VclPtr< BrowserHeaderCreateHeaderBar (BrowseBox *pParent) override
 
virtual VclPtr< BrowserHeaderimp_CreateHeaderBar (BrowseBox *pParent)
 
virtual void ColumnResized (sal_uInt16 nColId) override
 
virtual void Resize () override
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
virtual void MouseButtonDown (const BrowserMouseEvent &rEvt) override
 
virtual void MouseButtonUp (const BrowserMouseEvent &rEvt) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
virtual void EndScroll () override
 
tools::Rectangle GetCellRect (long nRow, sal_uInt16 nColId, bool bRelToBrowser=true) const
 
sal_uInt32 GetAutoColumnWidth (sal_uInt16 nColId)
 
virtual void PaintStatusCell (OutputDevice &rDev, const tools::Rectangle &rRect) const
 
virtual void RowHeightChanged () override
 
virtual void ImplStartTracking () override
 
virtual void ImplEndTracking () override
 
virtual void InitController (CellControllerRef &rController, long nRow, sal_uInt16 nCol)
 
virtual void DoubleClick (const BrowserMouseEvent &) override
 
void ActivateCell ()
 
Image GetImage (RowStatus) const
 
virtual bool IsCursorMoveAllowed (long nNewRow, sal_uInt16 nNewColId) const override
 
void PaintTristate (const tools::Rectangle &rRect, const TriState &eState, bool _bEnabled=true) const
 
void AsynchGetFocus ()
 
void implCreateActiveAccessible ()
 
- Protected Member Functions inherited from BrowseBox
::vcl::IAccessibleFactorygetAccessibleFactory ()
 
sal_uInt16 ColCount () const
 
void SetRealRowCount (const OUString &rRealRowCount)
 
void DrawCursor ()
 
void PaintData (vcl::Window const &rWin, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
sal_uInt16 GetVisibleRows () const
 
long GetTopRow () const
 
sal_uInt16 GetFirstVisibleColNumber () const
 
void DoShowCursor (const char *pWhoLog)
 
void DoHideCursor (const char *pWhoLog)
 
short GetCursorHideCount () const
 
void SetHeaderBar (BrowserHeader *)
 
long CalcReverseZoom (long nVal)
 
const DataFlavorExVectorGetDataFlavors () const
 
bool IsDropFormatSupported (SotClipboardFormatId nFormat)
 

Static Protected Member Functions

static bool IsValid (const DbGridRowRef &_xRow)
 
- Static Protected Member Functions inherited from svt::EditBrowseBox
static void ResizeController (CellControllerRef const &rController, const tools::Rectangle &)
 

Protected Attributes

std::unique_ptr< CursorWrapperm_pDataCursor
 
std::unique_ptr< CursorWrapperm_pSeekCursor
 
bool m_bUpdating: 1
 
- Protected Attributes inherited from svt::EditBrowseBox
VclPtr< BrowserHeaderpHeader
 

Private Attributes

Link< DbGridControlNavigationBarState, intm_aMasterStateProvider
 
Link< DbGridControlNavigationBarState, bool > m_aMasterSlotExecutor
 
css::uno::Reference< css::util::XNumberFormatter > m_xFormatter
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
std::vector< std::unique_ptr< DbGridColumn > > m_aColumns
 
VclPtr< NavigationBarm_aBar
 
DbGridRowRef m_xDataRow
 
DbGridRowRef m_xSeekRow
 
DbGridRowRef m_xEmptyRow
 
ImplSVEventm_nAsynAdjustEvent
 
rtl::Reference<::comphelper::OPropertyChangeMultiplexerm_pDataSourcePropMultiplexer
 
FmXGridSourcePropListenerm_pDataSourcePropListener
 
css::uno::Reference< css::sdb::XRowsChangeListener > m_xRowSetListener
 
voidm_pFieldListeners
 
std::unique_ptr< DisposeListenerGridBridgem_pCursorDisposeListener
 
FmGridListenerm_pGridListener
 
DbGridRowRef m_xCurrentRow
 
DbGridRowRef m_xPaintRow
 
sal_Int32 m_nSeekPos
 
sal_Int32 m_nTotalCount
 
osl::Mutex m_aDestructionSafety
 
osl::Mutex m_aAdjustSafety
 
css::util::Date m_aNullDate
 
BrowserMode m_nMode
 
sal_Int32 m_nCurrentPos
 
ImplSVEventm_nDeleteEvent
 
DbGridControlOptions m_nOptions
 
DbGridControlOptions m_nOptionMask
 
sal_uInt16 m_nLastColId
 
long m_nLastRowId
 
bool m_bDesignMode: 1
 
bool m_bRecordCountFinal: 1
 
bool m_bNavigationBar: 1
 
bool m_bSynchDisplay: 1
 
bool m_bHandle: 1
 
bool m_bFilterMode: 1
 
bool m_bWantDestruction: 1
 
bool m_bPendingAdjustRows: 1
 
bool m_bHideScrollbars: 1
 

Friends

class FmXGridSourcePropListener
 
class GridFieldValueListener
 
class DisposeListenerGridBridge
 
class DbGridControl::NavigationBar
 

Additional Inherited Members

- Public Types inherited from svt::EditBrowseBox
enum  RowStatus
 
- Public Attributes inherited from svt::EditBrowseBox
 CLEAN
 
 CURRENT
 
 CURRENTNEW
 
 MODIFIED
 
 NEW
 
 DELETED
 
 PRIMARYKEY
 
 CURRENT_PRIMARYKEY
 
 FILTER
 
 HEADERFOOTER
 
- Public Attributes inherited from BrowseBox
MultiSelectionpSel
 
long nSel
 
- Static Public Attributes inherited from BrowseBox
static const sal_uInt16 HandleColumnId
 

Detailed Description

Definition at line 163 of file gridctrl.hxx.

Constructor & Destructor Documentation

DbGridControl::DbGridControl ( css::uno::Reference< css::uno::XComponentContext > const &  _rxContext,
vcl::Window pParent,
WinBits  nBits 
)
DbGridControl::~DbGridControl ( )
overridevirtual

Definition at line 994 of file gridctrl.cxx.

Member Function Documentation

void DbGridControl::AdjustDataSource ( bool  bFull = false)
void DbGridControl::AdjustRows ( )
protected
sal_Int32 DbGridControl::AlignSeekCursor ( )
protected
sal_uInt16 DbGridControl::AppendColumn ( const OUString &  rName,
sal_uInt16  nWidth,
sal_uInt16  nPos = HEADERBAR_APPEND,
sal_uInt16  nId = sal_uInt16(-1) 
)
overrideprotectedvirtual
void DbGridControl::AppendNew ( )
void DbGridControl::ArrangeControls ( sal_uInt16 &  nX,
sal_uInt16  nY 
)
overrideprotectedvirtual
void DbGridControl::BeginCursorAction ( )
virtual
bool DbGridControl::canCopyCellText ( sal_Int32  _nRow,
sal_uInt16  _nColId 
)

returns <TRUE> if the text of the given cell can be copied into the clipboard

Definition at line 2764 of file gridctrl.cxx.

References GetModelColumnPos(), BrowseBox::GetRowCount(), GRID_COLUMN_NOT_FOUND, and BrowseBox::HandleColumnId.

Referenced by Command(), and copyCellText().

void DbGridControl::CellModified ( )
overrideprotectedvirtual
void DbGridControl::ColumnMoved ( sal_uInt16  nId)
overrideprotectedvirtual

Reimplemented from svt::EditBrowseBox.

Reimplemented in FmGridControl.

Definition at line 1692 of file gridctrl.cxx.

References DBG_ASSERT, GetModelColumnPos(), GetViewColumnPos(), DbGridColumn::IsHidden(), and m_aColumns.

Referenced by FmGridControl::ColumnMoved().

void DbGridControl::Command ( const CommandEvent rEvt)
overrideprotectedvirtual
void DbGridControl::ConnectToFields ( )
protected
void DbGridControl::copyCellText ( sal_Int32  _nRow,
sal_uInt16  _nColId 
)

copies the text of the given cell into the clipboard

Definition at line 2772 of file gridctrl.cxx.

References canCopyCellText(), DBG_ASSERT, GetCurrentRowCellText(), GetModelColumnPos(), m_aColumns, m_xPaintRow, and SeekRow().

Referenced by Command().

Reference< XAccessible > DbGridControl::CreateAccessibleCell ( sal_Int32  nRow,
sal_uInt16  nColumnId 
)
overridevirtual

Creates the accessible object of a data table cell.

Parameters
nRowThe row index of the cell.
nColumnIdThe column ID of the cell.
Returns
The XAccessible interface of the specified cell.

Reimplemented from BrowseBox.

Definition at line 3618 of file gridctrl.cxx.

References DbGridColumn::GetCell(), BrowseBox::GetColumnId(), GetModelColumnPos(), m_aColumns, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.

Reference< XAccessible > DbGridControl::CreateAccessibleControl ( sal_Int32  _nIndex)
overridevirtual

Creates the accessible object of an additional control.

Parameters
_nIndexThe 0-based index of the control.
Returns
The XAccessible interface of the specified control.

Reimplemented from svt::EditBrowseBox.

Definition at line 3606 of file gridctrl.cxx.

References m_aBar.

std::unique_ptr< DbGridColumn > DbGridControl::CreateColumn ( sal_uInt16  nId) const
protected

Definition at line 1641 of file gridctrl.cxx.

Referenced by AppendColumn().

void DbGridControl::CursorMoved ( )
overrideprotectedvirtual
bool DbGridControl::CursorMoving ( long  nNewRow,
sal_uInt16  nNewCol 
)
overrideprotectedvirtual
void DbGridControl::DataChanged ( const DataChangedEvent rDCEvt)
overrideprotectedvirtual

Reimplemented from svt::EditBrowseBox.

Definition at line 1070 of file gridctrl.cxx.

References All, DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), and ImplInitWindow().

void DbGridControl::DataSourcePropertyChanged ( const css::beans::PropertyChangeEvent &  evt)
protected
DbGridControl::DECL_LINK ( OnDelete  ,
void ,
void   
)
protected
DbGridControl::DECL_LINK ( OnAsyncAdjust  ,
void ,
void   
)
protected
void DbGridControl::DeleteSelectedRows ( )
protectedvirtual

Reimplemented in FmGridControl.

Definition at line 2849 of file gridctrl.cxx.

References DBG_ASSERT, BrowseBox::GetSelection(), and m_pSeekCursor.

void DbGridControl::DisconnectFromFields ( )
protected

Definition at line 3520 of file gridctrl.cxx.

References DBG_ASSERT, and m_pFieldListeners.

Referenced by dispose(), and setDataSource().

void DbGridControl::Dispatch ( sal_uInt16  nId)
overridevirtual

Reimplemented from svt::EditBrowseBox.

Definition at line 2938 of file gridctrl.cxx.

References AppendNew(), BROWSER_CURSORENDOFFILE, Insert, m_nOptions, and MoveToLast().

void DbGridControl::dispose ( void  )
overridevirtual
void DbGridControl::disposing ( sal_uInt16  _nId)
protected
void DbGridControl::EnableHandle ( bool  bEnable)
void DbGridControl::EnableNavigationBar ( bool  bEnable)
void DbGridControl::EnablePermanentCursor ( bool  bEnable)
void DbGridControl::EndCursorAction ( )
virtual
void DbGridControl::executeRowContextMenu ( long  _nRow,
const Point _rPreferredPos 
)
protected
void DbGridControl::FieldListenerDisposing ( sal_uInt16  _nId)
protected

Definition at line 3566 of file gridctrl.cxx.

References m_pFieldListeners.

Referenced by GridFieldValueListener::dispose().

void DbGridControl::FieldValueChanged ( sal_uInt16  _nId)
protected
void DbGridControl::ForceHideScrollbars ( )

forces both scrollbars to be hidden

For the horizontal scrollbar, this is overruled by enabling the navigation bar: A navigation bar always implies a horizontal scroll bar EnableNavigationBar

Definition at line 1349 of file gridctrl.cxx.

References m_bHideScrollbars, m_bNavigationBar, m_nMode, and BrowseBox::SetMode().

sal_Int32 DbGridControl::GetAccessibleControlCount ( ) const
overridevirtual
Returns
The count of additional controls of the control area.

Reimplemented from svt::EditBrowseBox.

Definition at line 3601 of file gridctrl.cxx.

OUString DbGridControl::GetCellText ( long  _nRow,
sal_uInt16  _nColId 
) const
overridevirtual

GetCellText returns the text at the given position.

Parameters
_nRowthe number of the row
_nColIdthe ID of the column
Returns
the text out of the cell

Reimplemented from BrowseBox.

Definition at line 2628 of file gridctrl.cxx.

References GetCurrentRowCellText(), GetModelColumnPos(), m_aColumns, and m_xPaintRow.

sal_uInt16 DbGridControl::GetColumnIdFromModelPos ( sal_uInt16  nPos) const
sal_uInt16 DbGridControl::GetColumnIdFromViewPos ( sal_uInt16  nPos) const
inline
const std::vector< std::unique_ptr<DbGridColumn> >& DbGridControl::GetColumns ( ) const
inline
const css::uno::Reference< css::uno::XComponentContext >& DbGridControl::getContext ( ) const
inline

Definition at line 501 of file gridctrl.hxx.

References m_xContext.

Referenced by DbGridColumn::CreateControl().

CellController * DbGridControl::GetController ( long  nRow,
sal_uInt16  nCol 
)
overrideprotectedvirtual
sal_Int32 DbGridControl::GetCurrentPos ( ) const
inlineprotected
const DbGridRowRef& DbGridControl::GetCurrentRow ( ) const
inline
OUString DbGridControl::GetCurrentRowCellText ( DbGridColumn const *  pCol,
const DbGridRowRef _rRow 
) const
protected
CursorWrapper* DbGridControl::getDataSource ( ) const
inline
bool DbGridControl::getDisplaySynchron ( ) const
inline

Definition at line 470 of file gridctrl.hxx.

References m_bSynchDisplay.

Referenced by FmXEditCell::getText(), and SeekRow().

const DbGridRowRef& DbGridControl::GetEmptyRow ( ) const
inlineprotected

Definition at line 574 of file gridctrl.hxx.

Referenced by FmGridControl::DeleteSelectedRows().

sal_uInt16 DbGridControl::GetModelColCount ( ) const
inline
sal_uInt16 DbGridControl::GetModelColumnPos ( sal_uInt16  nId) const
NavigationBar& DbGridControl::GetNavigationBar ( )
inline

Definition at line 435 of file gridctrl.hxx.

References VclPtr< reference_type >::get().

Referenced by FmXGridPeer::statusChanged().

const css::util::Date& DbGridControl::getNullDate ( ) const
inline
const css::uno::Reference< css::util::XNumberFormatter >& DbGridControl::getNumberFormatter ( ) const
inline
DbGridControlOptions DbGridControl::GetOptions ( ) const
inline
const DbGridRowRef& DbGridControl::GetPaintRow ( ) const
inlineprotected

Definition at line 576 of file gridctrl.hxx.

Referenced by FmXGridPeer::queryFieldData().

svt::EditBrowseBox::RowStatus DbGridControl::GetRowStatus ( long  nRow) const
overrideprotectedvirtual
CursorWrapper* DbGridControl::GetSeekCursor ( GrantControlAccess  ) const
inline

Definition at line 522 of file gridctrl.hxx.

Referenced by RowSetEventListener::rowsChanged().

sal_Int32 DbGridControl::GetSeekPos ( ) const
inlineprotected

Definition at line 571 of file gridctrl.hxx.

Referenced by FmGridControl::DeleteSelectedRows().

const DbGridRowRef& DbGridControl::GetSeekRow ( GrantControlAccess  ) const
inline
const DbGridRowRef& DbGridControl::GetSeekRow ( ) const
inlineprotected
sal_uInt32 DbGridControl::GetTotalCellWidth ( long  nRow,
sal_uInt16  nColId 
)
overrideprotectedvirtual
sal_Int32 DbGridControl::GetTotalCount ( ) const
inlineprotected

Definition at line 572 of file gridctrl.hxx.

Referenced by FmGridControl::DeleteSelectedRows().

sal_uInt16 DbGridControl::GetViewColCount ( ) const
inline
sal_uInt16 DbGridControl::GetViewColumnPos ( sal_uInt16  nId) const
inline
bool DbGridControl::HasHandle ( ) const
inline

Definition at line 405 of file gridctrl.hxx.

References m_bHandle.

Referenced by FmXGridPeer::getProperty(), and InsertHandleColumn().

bool DbGridControl::HasNavigationBar ( ) const
inline

Definition at line 432 of file gridctrl.hxx.

References m_bNavigationBar.

Referenced by FmXGridPeer::getProperty().

void DbGridControl::HideColumn ( sal_uInt16  nId)
protectedvirtual
void DbGridControl::implAdjustInSolarThread ( bool  _bRows)
protected
void DbGridControl::ImplInitWindow ( const InitWindowFacet  _eInitWhat)
protected
void DbGridControl::Init ( void  )
overridevirtual
virtual void DbGridControl::InitColumnsByFields ( const css::uno::Reference< css::container::XIndexAccess > &  xFields)
pure virtual

Implemented in FmGridControl.

Referenced by setDataSource().

void DbGridControl::InsertHandleColumn ( )
bool DbGridControl::IsCurrentAppending ( ) const
protected
bool DbGridControl::IsDesignMode ( ) const
inline
bool DbGridControl::IsFilterMode ( ) const
inline
bool DbGridControl::IsFilterRow ( long  nRow) const
inline

Definition at line 429 of file gridctrl.hxx.

References m_bFilterMode.

Referenced by GetRowStatus(), SeekCursor(), SeekRow(), and SetCurrent().

bool DbGridControl::IsInsertionRow ( long  nRow) const
protected
bool DbGridControl::IsModified ( ) const
overrideprotectedvirtual
bool DbGridControl::IsOpen ( ) const
inline
bool DbGridControl::IsPermanentCursorEnabled ( ) const

Definition at line 1387 of file gridctrl.cxx.

References m_nMode.

Referenced by EnablePermanentCursor(), and setDataSource().

bool DbGridControl::IsTabAllowed ( bool  bForward) const
overrideprotectedvirtual
bool DbGridControl::IsUpdating ( ) const
inline

Definition at line 462 of file gridctrl.hxx.

References m_bUpdating.

Referenced by AdjustRows(), FmGridControl::commit(), and DataSourcePropertyChanged().

static bool DbGridControl::IsValid ( const DbGridRowRef _xRow)
inlinestaticprotected
void DbGridControl::KeyInput ( const KeyEvent rEvt)
overrideprotectedvirtual
void DbGridControl::MoveToFirst ( )

Definition at line 2423 of file gridctrl.cxx.

References BrowseBox::GetCurRow(), m_pSeekCursor, and MoveToPosition().

Referenced by IMPL_LINK().

void DbGridControl::MoveToLast ( )
void DbGridControl::MoveToNext ( )
void DbGridControl::MoveToPosition ( sal_uInt32  nPos)
void DbGridControl::MoveToPrev ( )

Definition at line 2461 of file gridctrl.cxx.

References BrowseBox::GetCurRow(), and MoveToPosition().

Referenced by IMPL_LINK().

void DbGridControl::onColumnChange ( )
protectedvirtual

called when the current column changed

Definition at line 2160 of file gridctrl.cxx.

References FmGridListener::columnChanged(), and m_pGridListener.

Referenced by CursorMoved().

void DbGridControl::onRowChange ( )
protectedvirtual

called when the current row changed

Definition at line 2155 of file gridctrl.cxx.

Referenced by CursorMoved().

void DbGridControl::PaintCell ( OutputDevice rDev,
const tools::Rectangle rRect,
sal_uInt16  nColId 
) const
overrideprotectedvirtual
void DbGridControl::PostExecuteRowContextMenu ( sal_uInt16  nRow,
const PopupMenu rMenu,
sal_uInt16  nExecutionResult 
)
protectedvirtual

After executing the context menu for a row this method is called.

Definition at line 2678 of file gridctrl.cxx.

References Menu::GetItemId(), LINK, m_nDeleteEvent, Application::PostUserEvent(), Application::RemoveUserEvent(), SaveRow(), and Undo().

Referenced by executeRowContextMenu().

void DbGridControl::PreExecuteRowContextMenu ( sal_uInt16  nRow,
PopupMenu rMenu 
)
protectedvirtual

This is called before executing a context menu for a row.

rMenu contains the initial entries handled by this base class' method (which always has to be called). Derived classes may alter the menu in any way and handle any additional entries in PostExecuteColumnContextMenu. All disabled entries will be removed before executing the menu, so be careful with separators near entries you probably wish to disable ...

Definition at line 2659 of file gridctrl.cxx.

References Link< class, class >::Call(), Delete, Menu::EnableItem(), Menu::GetItemId(), BrowseBox::GetRowCount(), BrowseBox::GetSelectRowCount(), Insert, IsCurrentAppending(), IsModified(), BrowseBox::IsRowSelected(), Link< class, class >::IsSet(), m_aMasterStateProvider, m_nOptions, and Undo.

Referenced by executeRowContextMenu().

bool DbGridControl::PreNotify ( NotifyEvent rEvt)
overrideprotectedvirtual
void DbGridControl::RecalcRows ( long  nNewTopRow,
sal_uInt16  nLinesOnScreen,
bool  bUpdateCursor 
)
protected
void DbGridControl::refreshController ( sal_uInt16  _nColId,
GrantControlAccess  _aAccess 
)

called when a controller needs to be re-initialized

Definition at line 1392 of file gridctrl.cxx.

References svt::EditBrowseBox::ActivateCell(), svt::EditBrowseBox::DeactivateCell(), BrowseBox::GetCurColumnId(), and svt::EditBrowseBox::IsEditing().

Referenced by DbCellControl::invalidatedController().

void DbGridControl::RemoveColumn ( sal_uInt16  nId)
protected
void DbGridControl::RemoveColumns ( )
protected
void DbGridControl::RemoveRows ( )
overridevirtual
void DbGridControl::RemoveRows ( bool  bNewCursor)
void DbGridControl::resetCurrentRow ( )
void DbGridControl::RowInserted ( long  nRow,
long  nNumRows = 1,
bool  bDoPaint = true 
)
void DbGridControl::RowModified ( long  nRow)
void DbGridControl::RowRemoved ( long  nRow,
long  nNumRows = 1,
bool  bDoPaint = true 
)
bool DbGridControl::SaveModified ( )
overrideprotectedvirtual
bool DbGridControl::SaveRow ( )
overrideprotectedvirtual
bool DbGridControl::SeekCursor ( long  nRow,
bool  bAbsolute = false 
)
protected
bool DbGridControl::SeekRow ( long  nRow)
overrideprotectedvirtual
void DbGridControl::Select ( )
overrideprotectedvirtual

Reimplemented from BrowseBox.

Reimplemented in FmGridControl.

Definition at line 1081 of file gridctrl.cxx.

References Count, m_aBar, m_pGridListener, and FmGridListener::selectionChanged().

Referenced by FmGridControl::Select().

bool DbGridControl::SetCurrent ( long  nNewRow)
protected
void DbGridControl::setDataSource ( const css::uno::Reference< css::sdbc::XRowSet > &  rCursor,
DbGridControlOptions  nOpts = DbGridControlOptions::Insert | DbGridControlOptions::Update | DbGridControlOptions::Delete 
)
void DbGridControl::SetDesignMode ( bool  bMode)
virtual
void DbGridControl::setDisplaySynchron ( bool  bSync)

Definition at line 2166 of file gridctrl.cxx.

References AdjustDataSource(), and m_bSynchDisplay.

Referenced by FmXGridPeer::setProperty().

void DbGridControl::SetFilterMode ( bool  bMode)
void DbGridControl::setGridListener ( FmGridListener _pListener)
inline

Definition at line 509 of file gridctrl.hxx.

Referenced by FmXGridPeer::Create().

DbGridControlOptions DbGridControl::SetOptions ( DbGridControlOptions  nOpt)
void DbGridControl::SetSeekPos ( sal_Int32  nPos,
GrantControlAccess   
)
inline
void DbGridControl::SetSeekPos ( sal_Int32  nPos)
inlineprotected

Definition at line 569 of file gridctrl.hxx.

void DbGridControl::SetSlotExecutor ( const Link< DbGridControlNavigationBarState, bool > &  rExecutor)
inline

Definition at line 485 of file gridctrl.hxx.

Referenced by FmXGridPeer::Create().

void DbGridControl::SetStateProvider ( const Link< DbGridControlNavigationBarState, int > &  rProvider)
inline

Definition at line 479 of file gridctrl.hxx.

Referenced by FmXGridPeer::Create().

void DbGridControl::ShowColumn ( sal_uInt16  nId)
protectedvirtual
void DbGridControl::StartDrag ( sal_Int8  nAction,
const Point rPosPixel 
)
overrideprotectedvirtual
void DbGridControl::StateChanged ( StateChangedType  nType)
overrideprotectedvirtual
void DbGridControl::Undo ( )
void DbGridControl::VisibleRowsChanged ( long  nNewTopRow,
sal_uInt16  nNumRows 
)
overrideprotectedvirtual

Reimplemented from BrowseBox.

Definition at line 1819 of file gridctrl.cxx.

References RecalcRows().

Friends And Related Function Documentation

friend class DbGridControl::NavigationBar
friend

Definition at line 223 of file gridctrl.hxx.

friend class DisposeListenerGridBridge
friend

Definition at line 167 of file gridctrl.hxx.

Referenced by setDataSource().

friend class FmXGridSourcePropListener
friend

Definition at line 165 of file gridctrl.hxx.

Referenced by setDataSource().

friend class GridFieldValueListener
friend

Definition at line 166 of file gridctrl.hxx.

Referenced by ConnectToFields().

Member Data Documentation

osl::Mutex DbGridControl::m_aAdjustSafety
private

Definition at line 273 of file gridctrl.hxx.

Referenced by CellModified(), disposing(), implAdjustInSolarThread(), and setDataSource().

VclPtr<NavigationBar> DbGridControl::m_aBar
private
std::vector< std::unique_ptr<DbGridColumn> > DbGridControl::m_aColumns
private
osl::Mutex DbGridControl::m_aDestructionSafety
private

Definition at line 272 of file gridctrl.hxx.

Referenced by dispose(), and FieldValueChanged().

Link<DbGridControlNavigationBarState,bool> DbGridControl::m_aMasterSlotExecutor
private

Definition at line 227 of file gridctrl.hxx.

Referenced by IMPL_LINK(), and Undo().

Link<DbGridControlNavigationBarState,int> DbGridControl::m_aMasterStateProvider
private
css::util::Date DbGridControl::m_aNullDate
private

Definition at line 276 of file gridctrl.hxx.

Referenced by getNullDate(), and setDataSource().

bool DbGridControl::m_bDesignMode
private

Definition at line 289 of file gridctrl.hxx.

Referenced by IsDesignMode(), and SetDesignMode().

bool DbGridControl::m_bFilterMode
private

Definition at line 295 of file gridctrl.hxx.

Referenced by IsFilterMode(), IsFilterRow(), and SetFilterMode().

bool DbGridControl::m_bHandle
private

Definition at line 294 of file gridctrl.hxx.

Referenced by EnableHandle(), and HasHandle().

bool DbGridControl::m_bHideScrollbars
private

Definition at line 298 of file gridctrl.hxx.

Referenced by EnableNavigationBar(), ForceHideScrollbars(), and setDataSource().

bool DbGridControl::m_bNavigationBar
private
bool DbGridControl::m_bPendingAdjustRows
private

Definition at line 297 of file gridctrl.hxx.

Referenced by CellModified(), and implAdjustInSolarThread().

bool DbGridControl::m_bRecordCountFinal
private
bool DbGridControl::m_bSynchDisplay
private

Definition at line 293 of file gridctrl.hxx.

Referenced by AdjustDataSource(), AdjustRows(), getDisplaySynchron(), and setDisplaySynchron().

bool DbGridControl::m_bUpdating
protected

Definition at line 301 of file gridctrl.hxx.

Referenced by IsUpdating(), and SaveRow().

bool DbGridControl::m_bWantDestruction
private

Definition at line 296 of file gridctrl.hxx.

Referenced by dispose(), and FieldValueChanged().

ImplSVEvent* DbGridControl::m_nAsynAdjustEvent
private

Definition at line 241 of file gridctrl.hxx.

Referenced by CellModified(), disposing(), implAdjustInSolarThread(), and setDataSource().

sal_Int32 DbGridControl::m_nCurrentPos
private
ImplSVEvent* DbGridControl::m_nDeleteEvent
private

Definition at line 280 of file gridctrl.hxx.

Referenced by dispose(), PostExecuteRowContextMenu(), and PreNotify().

sal_uInt16 DbGridControl::m_nLastColId
private

Definition at line 286 of file gridctrl.hxx.

Referenced by CursorMoved().

long DbGridControl::m_nLastRowId
private

Definition at line 287 of file gridctrl.hxx.

Referenced by CursorMoved().

BrowserMode DbGridControl::m_nMode
private
DbGridControlOptions DbGridControl::m_nOptionMask
private

Definition at line 283 of file gridctrl.hxx.

Referenced by setDataSource(), and SetOptions().

DbGridControlOptions DbGridControl::m_nOptions
private
sal_Int32 DbGridControl::m_nSeekPos
private
sal_Int32 DbGridControl::m_nTotalCount
private
std::unique_ptr<DisposeListenerGridBridge> DbGridControl::m_pCursorDisposeListener
private

Definition at line 254 of file gridctrl.hxx.

Referenced by dispose(), and setDataSource().

std::unique_ptr<CursorWrapper> DbGridControl::m_pDataCursor
protected
FmXGridSourcePropListener* DbGridControl::m_pDataSourcePropListener
private

Definition at line 247 of file gridctrl.hxx.

Referenced by BeginCursorAction(), dispose(), EndCursorAction(), and setDataSource().

rtl::Reference<::comphelper::OPropertyChangeMultiplexer> DbGridControl::m_pDataSourcePropMultiplexer
private

Definition at line 246 of file gridctrl.hxx.

Referenced by dispose(), and setDataSource().

void* DbGridControl::m_pFieldListeners
private
FmGridListener* DbGridControl::m_pGridListener
private

Definition at line 259 of file gridctrl.hxx.

Referenced by onColumnChange(), and Select().

std::unique_ptr<CursorWrapper> DbGridControl::m_pSeekCursor
protected
css::uno::Reference< css::uno::XComponentContext > DbGridControl::m_xContext
private

Definition at line 230 of file gridctrl.hxx.

Referenced by getContext(), and setDataSource().

DbGridRowRef DbGridControl::m_xCurrentRow
private
DbGridRowRef DbGridControl::m_xDataRow
private
DbGridRowRef DbGridControl::m_xEmptyRow
private
css::uno::Reference< css::util::XNumberFormatter > DbGridControl::m_xFormatter
private
DbGridRowRef DbGridControl::m_xPaintRow
private
css::uno::Reference< css::sdb::XRowsChangeListener> DbGridControl::m_xRowSetListener
private

Definition at line 249 of file gridctrl.hxx.

Referenced by dispose(), and setDataSource().

DbGridRowRef DbGridControl::m_xSeekRow
private

The documentation for this class was generated from the following files: