LibreOffice Module svx (master) 1
|
#include <gridctrl.hxx>
Classes | |
struct | GrantControlAccess |
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 (sal_Int32 _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 |
CursorWrapper * | getDataSource () 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 (sal_Int32 nRow) const |
void | EnableNavigationBar (bool bEnable) |
bool | HasNavigationBar () const |
DbGridControlOptions | GetOptions () const |
NavigationBar & | GetNavigationBar () |
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 (sal_Int32 nRow, sal_Int32 nNumRows=1, bool bDoPaint=true) |
void | RowInserted (sal_Int32 nRow, sal_Int32 nNumRows=1, bool bDoPaint=true) |
void | RowModified (sal_Int32 nRow) |
void | resetCurrentRow () |
bool | getDisplaySynchron () const |
void | setDisplaySynchron (bool bSync) |
const DbGridRowRef & | GetCurrentRow () 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... | |
CursorWrapper * | GetSeekCursor (GrantControlAccess) const |
const DbGridRowRef & | GetSeekRow (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 |
virtual void | dispose () override |
bool | IsEditing () const |
void | InvalidateStatusCell (sal_Int32 nRow) |
void | InvalidateHandleColumn () |
virtual void | Init () |
virtual void | RemoveRows () |
virtual void | Dispatch (sal_uInt16 nId) |
const CellControllerRef & | Controller () const |
EditBrowseBoxFlags | GetBrowserFlags () const |
void | SetBrowserFlags (EditBrowseBoxFlags nFlags) |
virtual void | ActivateCell (sal_Int32 nRow, sal_uInt16 nCol, bool bSetCellFocus=true) |
virtual void | DeactivateCell (bool bUpdate=true) |
virtual sal_Int32 | GetAccessibleControlCount () const override |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessibleControl (sal_Int32 nIndex) override |
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 |
virtual bool | ProcessKey (const KeyEvent &rEvt) override |
virtual void | ChildFocusIn () override |
virtual void | ChildFocusOut () override |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessibleCheckBoxCell (sal_Int32 _nRow, sal_uInt16 _nColumnPos, const TriState &eState) |
bool | ControlHasFocus () const |
Public Member Functions inherited from BrowseBox | |
virtual sal_Int32 | GetRowCount () const override |
BrowseBox (vcl::Window *pParent, WinBits nBits, BrowserMode nMode=BrowserMode::NONE) | |
virtual | ~BrowseBox () override |
virtual void | dispose () override |
virtual void | StateChanged (StateChangedType nStateChange) override |
virtual void | MouseButtonDown (const MouseEvent &rEvt) override |
virtual void | MouseMove (const MouseEvent &rEvt) override |
virtual void | MouseButtonUp (const MouseEvent &rEvt) override |
virtual void | KeyInput (const KeyEvent &rEvt) override |
virtual void | LoseFocus () override |
virtual void | GetFocus () override |
virtual void | Resize () override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | Draw (OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags) override |
virtual void | Command (const CommandEvent &rEvt) override |
virtual void | StartDrag (sal_Int8 _nAction, const Point &_rPosPixel) 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) |
virtual void | MouseButtonDown (const BrowserMouseEvent &rEvt) |
virtual void | MouseButtonUp (const BrowserMouseEvent &rEvt) |
void | StartScroll () |
virtual void | EndScroll () |
virtual void | Select () |
virtual void | DoubleClick (const BrowserMouseEvent &rEvt) |
virtual bool | IsCursorMoveAllowed (sal_Int32 nNewRow, sal_uInt16 nNewColId) const |
virtual void | CursorMoved () |
virtual void | ColumnMoved (sal_uInt16 nColId) |
virtual void | ColumnResized (sal_uInt16 nColId) |
virtual void | RowHeightChanged () |
virtual tools::Long | QueryMinimumRowHeight () |
void | SetUpdateMode (bool bUpdate) |
bool | GetUpdateMode () const |
void | SetFont (const vcl::Font &rNewFont) |
const vcl::Font & | GetFont () const |
void | SetTitleFont (const vcl::Font &rNewFont) |
void | InsertHandleColumn (sal_uLong nWidth) |
void | InsertDataColumn (sal_uInt16 nItemId, const OUString &rText, tools::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 (tools::Long nPixel) |
tools::Long | GetDataRowHeight () const |
void | SetTitleLines (sal_uInt16 nLines) |
tools::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 |
sal_Int32 | ScrollColumns (sal_Int32 nColumns) |
sal_Int32 | ScrollRows (sal_Int32 nRows) |
void | MakeFieldVisible (sal_Int32 nRow, sal_uInt16 nColId) |
sal_Int32 | GetCurRow () const |
sal_uInt16 | GetCurColumnId () const |
bool | GoToRow (sal_Int32 nRow) |
bool | GoToColumnId (sal_uInt16 nColId) |
bool | GoToRowColumnId (sal_Int32 nRow, sal_uInt16 nColId) |
virtual void | SetNoSelection () override |
virtual void | SelectAll () override |
virtual void | SelectRow (sal_Int32 nRow, bool _bSelect=true, bool bExpand=true) override |
void | SelectColumnPos (sal_uInt16 nCol, bool _bSelect=true) |
void | SelectColumnId (sal_uInt16 nColId) |
sal_Int32 | GetSelectRowCount () const |
sal_uInt16 | GetSelectColumnCount () const |
virtual bool | IsRowSelected (sal_Int32 nRow) const override |
bool | IsColumnSelected (sal_uInt16 nColumnId) const |
sal_Int32 | FirstSelectedRow () |
sal_Int32 | LastSelectedRow () |
sal_Int32 | NextSelectedRow () |
const MultiSelection * | GetColumnSelection () const |
const MultiSelection * | GetSelection () const |
sal_Int32 | FirstSelectedColumn () const |
bool | IsResizing () const |
BrowserDataWin & | GetDataWindow () const |
tools::Rectangle | GetRowRectPixel (sal_Int32 nRow) const |
tools::Rectangle | GetFieldRectPixel (sal_Int32 nRow, sal_uInt16 nColId, bool bRelToBrowser=true) const |
bool | IsFieldVisible (sal_Int32 nRow, sal_uInt16 nColId, bool bComplete=false) const |
sal_Int32 | GetRowAtYPosPixel (tools::Long nY, bool bRelToBrowser=true) const |
sal_uInt16 | GetColumnAtXPosPixel (tools::Long nX) const |
void | Clear () |
void | RowRemoved (sal_Int32 nRow, sal_Int32 nNumRows=1, bool bDoPaint=true) |
void | RowModified (sal_Int32 nRow, sal_uInt16 nColId=BROWSER_INVALIDID) |
void | RowInserted (sal_Int32 nRow, sal_Int32 nNumRows=1, bool bDoPaint=true, bool bKeepSelection=false) |
bool | ReserveControlArea (sal_uInt16 nWidth=USHRT_MAX) |
tools::Rectangle | GetControlArea () const |
virtual bool | ProcessKey (const KeyEvent &rEvt) |
virtual void | ChildFocusIn () |
virtual void | ChildFocusOut () |
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 |
virtual OUString | GetCellText (sal_Int32 _nRow, sal_uInt16 _nColId) 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 | GetFieldRectPixel (sal_Int32 _nRowId, sal_uInt16 _nColId, bool _bIsHeader, bool _bOnScreen) override |
bool | isAccessibleAlive () const |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () override |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessibleCell (sal_Int32 nRow, sal_uInt16 nColumnPos) 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 sal_Int32 | GetAccessibleControlCount () const override |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessibleControl (sal_Int32 nIndex) 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 (AccessibleBrowseBoxObjType eObjType, sal_Int32 _nPosition=-1) const override |
virtual OUString | GetAccessibleObjectDescription (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 (sal_Int64 &rStateSet, AccessibleBrowseBoxObjType eObjType) const override |
virtual void | FillAccessibleStateSetForCell (sal_Int64 &_rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumn) const override |
virtual void | GrabTableFocus () 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 (sal_Int32 _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 (sal_Int32 _nRow, sal_uInt16 _nColPos) const override |
virtual bool | GetGlyphBoundRects (const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, std::vector< tools::Rectangle > &rVector) override |
virtual tools::Rectangle | GetWindowExtentsAbsolute () const override |
virtual tools::Rectangle | GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const override |
virtual void | GrabFocus () override |
virtual css::uno::Reference< css::accessibility::XAccessible > | GetAccessible () override |
virtual vcl::Window * | GetAccessibleParentWindow () const override |
virtual vcl::Window * | GetWindowInstance () override |
Protected Member Functions | |
virtual bool | SeekRow (sal_Int32 nRow) override |
virtual void | VisibleRowsChanged (sal_Int32 nNewTopRow, sal_uInt16 nNumRows) override |
virtual void | PaintCell (OutputDevice &rDev, const tools::Rectangle &rRect, sal_uInt16 nColId) const override |
virtual RowStatus | GetRowStatus (sal_Int32 nRow) const override |
virtual bool | CursorMoving (sal_Int32 nNewRow, sal_uInt16 nNewCol) override |
virtual void | CursorMoved () override |
virtual void | ArrangeControls (sal_uInt16 &nX, sal_uInt16 nY) override |
virtual sal_uInt32 | GetTotalCellWidth (sal_Int32 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::CellController * | GetController (sal_Int32 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< DbGridColumn > | CreateColumn (sal_uInt16 nId) |
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 (weld::Menu &rMenu) |
This is called before executing a context menu for a row. More... | |
virtual void | PostExecuteRowContextMenu (const OUString &rExecutionResult) |
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 (const Point &_rPreferredPos) |
void | RecalcRows (sal_Int32 nNewTopRow, sal_uInt16 nLinesOnScreen, bool bUpdateCursor) |
bool | SeekCursor (sal_Int32 nRow, bool bAbsolute=false) |
void | RemoveColumns () |
void | AdjustRows () |
sal_Int32 | AlignSeekCursor () |
bool | SetCurrent (sal_Int32 nNewRow) |
OUString | GetCurrentRowCellText (DbGridColumn const *pCol, const DbGridRowRef &_rRow) const |
virtual void | DeleteSelectedRows () |
bool | IsCurrentAppending () const |
bool | IsInsertionRow (sal_Int32 nRow) const |
void | SetSeekPos (sal_Int32 nPos) |
sal_Int32 | GetCurrentPos () const |
sal_Int32 | GetSeekPos () const |
sal_Int32 | GetTotalCount () const |
const DbGridRowRef & | GetEmptyRow () const |
const DbGridRowRef & | GetSeekRow () const |
const DbGridRowRef & | GetPaintRow () const |
void | ConnectToFields () |
void | DisconnectFromFields () |
void | implAdjustInSolarThread (bool _bRows) |
void | ImplInitWindow (const InitWindowFacet _eInitWhat) |
DECL_DLLPRIVATE_LINK (OnDelete, void *, void) | |
DECL_DLLPRIVATE_LINK (OnAsyncAdjust, void *, void) | |
Protected Member Functions inherited from svt::EditBrowseBox | |
BrowserMouseEventPtr & | getMouseEvent () |
BrowserHeader * | GetHeaderBar () const |
virtual VclPtr< BrowserHeader > | CreateHeaderBar (BrowseBox *pParent) override |
virtual VclPtr< BrowserHeader > | imp_CreateHeaderBar (BrowseBox *pParent) |
virtual void | ColumnMoved (sal_uInt16 nId) override |
virtual void | ColumnResized (sal_uInt16 nColId) override |
virtual void | Resize () override |
virtual void | ArrangeControls (sal_uInt16 &nX, sal_uInt16 nY) |
virtual bool | SeekRow (sal_Int32 nRow) override |
virtual void | GetFocus () override |
virtual void | LoseFocus () override |
virtual void | KeyInput (const KeyEvent &rEvt) override |
virtual void | MouseButtonDown (const BrowserMouseEvent &rEvt) override |
virtual void | MouseButtonUp (const BrowserMouseEvent &rEvt) override |
virtual void | StateChanged (StateChangedType nType) override |
virtual void | DataChanged (const DataChangedEvent &rDCEvt) override |
virtual bool | PreNotify (NotifyEvent &rNEvt) override |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
virtual void | EndScroll () override |
tools::Rectangle | GetCellRect (sal_Int32 nRow, sal_uInt16 nColId, bool bRelToBrowser=true) const |
virtual sal_uInt32 | GetTotalCellWidth (sal_Int32 nRow, sal_uInt16 nColId) |
sal_uInt32 | GetAutoColumnWidth (sal_uInt16 nColId) |
virtual void | PaintStatusCell (OutputDevice &rDev, const tools::Rectangle &rRect) const |
virtual void | PaintCell (OutputDevice &rDev, const tools::Rectangle &rRect, sal_uInt16 nColId) const=0 |
virtual RowStatus | GetRowStatus (sal_Int32 nRow) const |
virtual void | RowHeightChanged () override |
virtual void | ImplStartTracking () override |
virtual void | ImplEndTracking () override |
virtual bool | CursorMoving (sal_Int32 nNewRow, sal_uInt16 nNewCol) |
virtual void | CursorMoved () override |
virtual void | CellModified () |
virtual bool | SaveModified () |
virtual bool | SaveRow () |
virtual bool | IsModified () const |
virtual CellController * | GetController (sal_Int32 nRow, sal_uInt16 nCol) |
virtual void | InitController (CellControllerRef &rController, sal_Int32 nRow, sal_uInt16 nCol) |
virtual void | DoubleClick (const BrowserMouseEvent &) override |
void | ActivateCell () |
Image | GetImage (RowStatus) const |
virtual sal_uInt16 | AppendColumn (const OUString &rName, sal_uInt16 nWidth, sal_uInt16 nPos=HEADERBAR_APPEND, sal_uInt16 nId=sal_uInt16(-1)) |
virtual bool | IsTabAllowed (bool bForward) const |
virtual bool | IsCursorMoveAllowed (sal_Int32 nNewRow, sal_uInt16 nNewColId) const override |
void | PaintTristate (const tools::Rectangle &rRect, const TriState &eState, bool _bEnabled=true) const |
void | AsynchGetFocus () |
void | implCreateActiveAccessible () |
virtual void | MouseButtonUp (const MouseEvent &rEvt) override |
virtual void | MouseButtonUp (const BrowserMouseEvent &rEvt) |
virtual void | MouseButtonDown (const MouseEvent &rEvt) override |
virtual void | MouseButtonDown (const BrowserMouseEvent &rEvt) |
Protected Member Functions inherited from BrowseBox | |
::vcl::IAccessibleFactory & | getAccessibleFactory () |
sal_uInt16 | ColCount () const |
void | SetRealRowCount (const OUString &rRealRowCount) |
virtual bool | SeekRow (sal_Int32 nRow)=0 |
void | DrawCursor () |
void | PaintData (vcl::Window const &rWin, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
virtual void | PaintField (vcl::RenderContext &rDev, const tools::Rectangle &rRect, sal_uInt16 nColumnId) const=0 |
virtual void | VisibleRowsChanged (sal_Int32 nNewTopRow, sal_uInt16 nNumRows) |
sal_uInt16 | GetVisibleRows () const |
sal_Int32 | GetTopRow () const |
sal_uInt16 | GetFirstVisibleColNumber () const |
void | DoShowCursor () |
void | DoHideCursor () |
short | GetCursorHideCount () const |
virtual VclPtr< BrowserHeader > | CreateHeaderBar (BrowseBox *pParent) |
void | SetHeaderBar (BrowserHeader *) |
tools::Long | CalcReverseZoom (tools::Long nVal) const |
const DataFlavorExVector & | GetDataFlavors () const |
bool | IsDropFormatSupported (SotClipboardFormatId nFormat) const |
void | DisposeAccessible () |
virtual void | ImplStartTracking () |
virtual void | ImplEndTracking () |
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< CursorWrapper > | m_pDataCursor |
std::unique_ptr< CursorWrapper > | m_pSeekCursor |
bool | m_bUpdating: 1 |
Protected Attributes inherited from svt::EditBrowseBox | |
VclPtr< BrowserHeader > | pHeader |
Protected Attributes inherited from BrowseBox | |
bool | m_bNavigationBar |
Private Member Functions | |
void | InsertHandleColumn (sal_uLong nWidth) |
Friends | |
class | FmXGridSourcePropListener |
class | GridFieldValueListener |
class | DisposeListenerGridBridge |
class | 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 | |
MultiSelection * | pSel |
sal_Int32 | nSel |
Static Public Attributes inherited from BrowseBox | |
static const sal_uInt16 | HandleColumnId |
Definition at line 219 of file gridctrl.hxx.
DbGridControl::DbGridControl | ( | css::uno::Reference< css::uno::XComponentContext > const & | _rxContext, |
vcl::Window * | pParent, | ||
WinBits | nBits | ||
) |
Definition at line 687 of file gridctrl.cxx.
References All, Delete, getStandardDate(), ImplInitWindow(), Insert(), m_aBar, BrowseBox::m_bNavigationBar, m_nCurrentPos, m_xContext, NONE, Readonly, sName, SvxResId(), and Update.
|
overridevirtual |
Definition at line 747 of file gridctrl.cxx.
void DbGridControl::AdjustDataSource | ( | bool | bFull = false | ) |
Definition at line 1925 of file gridctrl.cxx.
References AdjustRows(), AlignSeekCursor(), CompareBookmark(), DBG_ASSERT, FM_PROP_ISNEW, tools::SvRef< typename T >::is(), m_aBar, m_bSynchDisplay, m_nCurrentPos, m_pDataCursor, m_xCurrentRow, m_xDataRow, m_xPaintRow, m_xSeekRow, RowModified(), ROWSTATUS, SAL_INFO, SetCurrent(), and BrowseBox::SetNoSelection().
Referenced by CellModified(), FmGridControl::DeleteSelectedRows(), implAdjustInSolarThread(), and setDisplaySynchron().
|
protected |
Definition at line 1668 of file gridctrl.cxx.
References AlignSeekCursor(), Count, FM_PROP_ROWCOUNT, FM_PROP_ROWCOUNTFINAL, BrowseBox::GetColumnId(), BrowseBox::GetCurColumnId(), BrowseBox::GetRowCount(), BrowseBox::GetTopRow(), BrowseBox::GetVisibleRows(), BrowseBox::GoToRowColumnId(), Insert, IsModified(), BrowseBox::IsResizing(), IsUpdating(), m_aBar, m_bRecordCountFinal, m_bSynchDisplay, m_nCurrentPos, m_nOptions, m_nTotalCount, m_pDataCursor, m_pSeekCursor, m_xCurrentRow, m_xEmptyRow, RecalcRows(), RowInserted(), RowRemoved(), and SetCurrent().
Referenced by AdjustDataSource(), AppendNew(), CellModified(), implAdjustInSolarThread(), MoveToLast(), MoveToNext(), MoveToPosition(), and RecalcRows().
|
protected |
Definition at line 1995 of file gridctrl.cxx.
References CompareBookmark(), Exception, FM_PROP_ISNEW, BrowseBox::GetRowCount(), m_nSeekPos, m_pDataCursor, m_pSeekCursor, and SAL_INFO.
Referenced by AdjustDataSource(), and AdjustRows().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 1395 of file gridctrl.cxx.
References BROWSER_INVALIDID, CreateColumn(), DBG_ASSERT, GetModelColumnPos(), GetViewColumnPos(), GRID_COLUMN_NOT_FOUND, HEADERBAR_APPEND, IsHidden(), m_aColumns, and nId.
Referenced by FmGridControl::InitColumnsByModels().
void DbGridControl::AppendNew | ( | ) |
Definition at line 2288 of file gridctrl.cxx.
References AdjustRows(), Exception, BrowseBox::GetCurRow(), Insert, m_nOptions, m_nSeekPos, m_nTotalCount, m_pSeekCursor, and MoveToPosition().
Referenced by Dispatch(), and IMPL_LINK().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 928 of file gridctrl.cxx.
References BrowseBox::GetControlArea(), tools::Rectangle::GetSize(), Size::Height(), m_aBar, BrowseBox::m_bNavigationBar, and Size::Width().
Referenced by EnableNavigationBar(), and StateChanged().
|
virtual |
Reimplemented in FmGridControl.
Definition at line 3206 of file gridctrl.cxx.
References m_pDataSourcePropListener, m_pFieldListeners, GridFieldValueListener::suspend(), and FmXGridSourcePropListener::suspend().
Referenced by FmGridControl::BeginCursorAction(), SaveRow(), SetCurrent(), and Undo().
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 2513 of file gridctrl.cxx.
References GetModelColumnPos(), BrowseBox::GetRowCount(), GRID_COLUMN_NOT_FOUND, and BrowseBox::HandleColumnId.
Referenced by Command(), and copyCellText().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Reimplemented in FmGridControl.
Definition at line 2642 of file gridctrl.cxx.
References AdjustDataSource(), AdjustRows(), BrowseBox::GetRowCount(), svt::EditBrowseBox::InvalidateStatusCell(), IsFilterMode(), IsValid(), m_aAdjustSafety, m_aBar, m_bPendingAdjustRows, m_nAsynAdjustEvent, m_nCurrentPos, m_pDataCursor, m_xCurrentRow, Modified, RowInserted(), ROWSTATUS, and SAL_INFO.
Referenced by FmGridControl::CellModified().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Reimplemented in FmGridControl.
Definition at line 1441 of file gridctrl.cxx.
References DBG_ASSERT, GetModelColumnPos(), GetViewColumnPos(), DbGridColumn::IsHidden(), IsHidden(), m_aColumns, and nId.
Referenced by FmGridControl::ColumnMoved().
|
overrideprotectedvirtual |
Reimplemented from BrowseBox.
Reimplemented in FmGridControl.
Definition at line 2541 of file gridctrl.cxx.
References canCopyCellText(), copyCellText(), Application::CreateBuilder(), executeRowContextMenu(), BrowseBox::FirstSelectedRow(), BrowseBox::GetColumnAtXPosPixel(), BrowseBox::GetColumnId(), CommandEvent::GetCommand(), CommandEvent::GetMousePosPixel(), weld::GetPopupParent(), BrowseBox::GetRowAtYPosPixel(), BrowseBox::GetRowRectPixel(), BrowseBox::GetSelectRowCount(), BrowseBox::HandleColumnId, CommandEvent::IsMouseEvent(), tools::Rectangle::LeftCenter(), m_pSeekCursor, Point::X(), and Point::Y().
Referenced by FmGridControl::Command().
|
protected |
Definition at line 3240 of file gridctrl.cxx.
References DBG_ASSERT, GetViewColumnPos(), GRID_COLUMN_NOT_FOUND, GridFieldValueListener, m_aColumns, and m_pFieldListeners.
Referenced by setDataSource().
void DbGridControl::copyCellText | ( | sal_Int32 | _nRow, |
sal_uInt16 | _nColId | ||
) |
copies the text of the given cell into the clipboard
Definition at line 2521 of file gridctrl.cxx.
References canCopyCellText(), DBG_ASSERT, GetCurrentRowCellText(), GetModelColumnPos(), m_aColumns, m_xPaintRow, and SeekRow().
Referenced by Command().
|
overridevirtual |
Creates the accessible object of a data table cell.
nRow | The row index of the cell. |
nColumnId | The column ID of the cell. |
Reimplemented from BrowseBox.
Definition at line 3366 of file gridctrl.cxx.
References get(), DbGridColumn::GetCell(), BrowseBox::GetColumnId(), GetModelColumnPos(), m_aColumns, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
|
overridevirtual |
Creates the accessible object of an additional control.
_nIndex | The 0-based index of the control. |
Reimplemented from svt::EditBrowseBox.
Definition at line 3354 of file gridctrl.cxx.
References m_aBar.
|
protected |
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 1876 of file gridctrl.cxx.
References svt::EditBrowseBox::DeactivateCell(), BrowseBox::GetCurColumnId(), BrowseBox::GetCurRow(), BrowseBox::GetSelectedColumnCount(), IsDesignMode(), m_aBar, m_nCurrentPos, m_nLastColId, m_nLastRowId, m_pDataCursor, onColumnChange(), onRowChange(), BrowseBox::SelectColumnId(), and SetCurrent().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 1774 of file gridctrl.cxx.
References svt::EditBrowseBox::ActivateCell(), svt::EditBrowseBox::DeactivateCell(), m_nCurrentPos, m_pDataCursor, and SetCurrent().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 820 of file gridctrl.cxx.
References All, DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), and ImplInitWindow().
|
protected |
css::uno::RuntimeException |
Definition at line 2442 of file gridctrl.cxx.
References Clean, DBG_ASSERT, FM_PROP_ISMODIFIED, FM_PROP_ISNEW, FM_PROP_ROWCOUNT, FM_PROP_ROWCOUNTFINAL, BrowseBox::GetRowCount(), svt::EditBrowseBox::InvalidateStatusCell(), tools::SvRef< typename T >::is(), IsUpdating(), m_aBar, m_nCurrentPos, m_xCurrentRow, Modified, RowInserted(), RowRemoved(), ROWSTATUS, and SAL_INFO.
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in FmGridControl.
Definition at line 2602 of file gridctrl.cxx.
References DBG_ASSERT, BrowseBox::GetSelection(), and m_pSeekCursor.
|
protected |
Definition at line 3268 of file gridctrl.cxx.
References DBG_ASSERT, and m_pFieldListeners.
Referenced by dispose(), and setDataSource().
|
overridevirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 2691 of file gridctrl.cxx.
References AppendNew(), BROWSER_CURSORENDOFFILE, Insert, m_nOptions, MoveToLast(), and nId.
|
overridevirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 752 of file gridctrl.cxx.
References DisconnectFromFields(), VclPtr< class reference_type >::disposeAndClear(), m_aBar, m_aDestructionSafety, m_bWantDestruction, m_nDeleteEvent, m_pCursorDisposeListener, m_pDataCursor, m_pDataSourcePropListener, m_pDataSourcePropMultiplexer, m_pFieldListeners, m_pSeekCursor, m_xRowSetListener, RemoveColumns(), and Application::RemoveUserEvent().
|
protected |
Definition at line 3335 of file gridctrl.cxx.
References m_aAdjustSafety, m_nAsynAdjustEvent, Readonly, and setDataSource().
Referenced by DisposeListenerGridBridge::disposing().
void DbGridControl::EnableHandle | ( | bool | bEnable | ) |
Definition at line 939 of file gridctrl.cxx.
References BrowseBox::HandleColumnId, InsertHandleColumn(), m_bHandle, and RemoveColumn().
void DbGridControl::EnableNavigationBar | ( | bool | bEnable | ) |
Definition at line 984 of file gridctrl.cxx.
References ArrangeControls(), BrowseBox::GetControlArea(), m_aBar, m_bHideScrollbars, BrowseBox::m_bNavigationBar, m_nCurrentPos, m_nMode, BrowseBox::ReserveControlArea(), BrowseBox::SetMode(), tools::Rectangle::TopLeft(), Point::X(), and Point::Y().
void DbGridControl::EnablePermanentCursor | ( | bool | bEnable | ) |
Definition at line 1109 of file gridctrl.cxx.
References svt::EditBrowseBox::ActivateCell(), svt::EditBrowseBox::DeactivateCell(), svt::EditBrowseBox::IsEditing(), IsPermanentCursorEnabled(), m_nMode, m_nOptions, BrowseBox::SetMode(), and Update.
|
virtual |
Reimplemented in FmGridControl.
Definition at line 3223 of file gridctrl.cxx.
References m_pDataSourcePropListener, m_pFieldListeners, GridFieldValueListener::resume(), and FmXGridSourcePropListener::resume().
Referenced by FmGridControl::EndCursorAction(), SaveRow(), SetCurrent(), and Undo().
|
protected |
Definition at line 2529 of file gridctrl.cxx.
References Application::CreateBuilder(), weld::GetPopupParent(), PostExecuteRowContextMenu(), and PreExecuteRowContextMenu().
Referenced by Command().
|
protected |
Definition at line 3314 of file gridctrl.cxx.
References m_pFieldListeners.
Referenced by GridFieldValueListener::dispose().
|
protected |
Definition at line 3285 of file gridctrl.cxx.
References tools::SvRef< typename T >::get(), get(), BrowseBox::GetCurRow(), GetModelColumnPos(), GetRowStatus(), m_aColumns, m_aDestructionSafety, m_bWantDestruction, m_xCurrentRow, m_xFormatter, RowModified(), and DbGridColumn::UpdateFromField().
Referenced by GridFieldValueListener::_propertyChanged().
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 @seealso EnableNavigationBar
Definition at line 1098 of file gridctrl.cxx.
References m_bHideScrollbars, BrowseBox::m_bNavigationBar, m_nMode, and BrowseBox::SetMode().
|
overridevirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 3349 of file gridctrl.cxx.
|
overridevirtual |
GetCellText returns the text at the given position.
_nRow | the number of the row |
_nColId | the ID of the column |
Reimplemented from BrowseBox.
Definition at line 2377 of file gridctrl.cxx.
References get(), GetCurrentRowCellText(), GetModelColumnPos(), m_aColumns, m_xPaintRow, and SeekRow().
sal_uInt16 DbGridControl::GetColumnIdFromModelPos | ( | sal_uInt16 | nPos | ) | const |
Definition at line 3127 of file gridctrl.cxx.
References DBG_ASSERT, GetColumnIdFromViewPos(), DbGridColumn::GetId(), GRID_COLUMN_NOT_FOUND, i, DbGridColumn::IsHidden(), IsHidden(), m_aColumns, and nPos.
Referenced by FmGridControl::InitColumnsByModels(), and FmGridControl::SetDesignMode().
|
inline |
Definition at line 423 of file gridctrl.hxx.
References BrowseBox::GetColumnId(), and nPos.
Referenced by GetColumnIdFromModelPos(), HideColumn(), and FmGridControl::Select().
|
inline |
Definition at line 405 of file gridctrl.hxx.
Referenced by FmGridControl::ColumnMoved(), FmGridControl::ColumnResized(), FmGridControl::HideColumn(), FmGridControl::InitColumnsByFields(), FmGridControl::InitColumnsByModels(), and FmGridControl::ShowColumn().
|
inline |
Definition at line 504 of file gridctrl.hxx.
References m_xContext.
Referenced by DbGridColumn::CreateControl().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 2610 of file gridctrl.cxx.
References FM_PROP_ENABLED, tools::SvRef< typename T >::get(), get(), DbGridColumn::GetController(), DbGridColumn::getModel(), GetModelColumnPos(), Insert, DbGridColumn::IsAutoValue(), IsFilterMode(), IsValid(), m_aColumns, m_nOptions, m_xCurrentRow, and Update.
|
inlineprotected |
Definition at line 572 of file gridctrl.hxx.
References m_nCurrentPos.
Referenced by FmGridControl::DeleteSelectedRows(), and FmGridControl::propertyChange().
|
inline |
Definition at line 480 of file gridctrl.hxx.
Referenced by FmGridControl::DeleteSelectedRows(), DbGridColumn::GetCurrentFieldValue(), FmGridControl::inserted(), and FmGridControl::propertyChange().
|
protected |
Definition at line 2387 of file gridctrl.cxx.
References tools::SvRef< typename T >::get(), DbGridColumn::GetCellText(), IsValid(), and m_xFormatter.
Referenced by copyCellText(), GetCellText(), GetTotalCellWidth(), KeyInput(), and StartDrag().
|
inline |
Definition at line 404 of file gridctrl.hxx.
Referenced by DbFilterField::commitControl(), DbGridColumn::CreateControl(), FmGridControl::DeleteSelectedRows(), DbNumericField::implAdjustGenericFieldSetting(), FmGridControl::propertyChange(), and resetCurrentRow().
|
inline |
Definition at line 473 of file gridctrl.hxx.
Referenced by FmXEditCell::getText(), and SeekRow().
|
inlineprotected |
Definition at line 576 of file gridctrl.hxx.
Referenced by FmGridControl::DeleteSelectedRows().
|
inline |
Definition at line 421 of file gridctrl.hxx.
Referenced by FmGridControl::InitColumnsByModels().
sal_uInt16 DbGridControl::GetModelColumnPos | ( | sal_uInt16 | nId | ) | const |
Definition at line 3154 of file gridctrl.cxx.
References GetId(), GRID_COLUMN_NOT_FOUND, i, m_aColumns, and nId.
Referenced by AppendColumn(), canCopyCellText(), FmGridControl::ColumnMoved(), ColumnMoved(), FmGridControl::ColumnResized(), copyCellText(), CreateAccessibleCell(), FieldValueChanged(), FmGridControl::GetAccessibleObjectDescription(), FmGridControl::GetAccessibleObjectName(), GetCellText(), GetController(), GetTotalCellWidth(), HideColumn(), FmGridControl::HideColumn(), KeyInput(), PaintCell(), RemoveColumn(), SaveModified(), FmGridControl::Select(), ShowColumn(), FmGridControl::ShowColumn(), and StartDrag().
|
inline |
Definition at line 438 of file gridctrl.hxx.
|
inline |
Definition at line 444 of file gridctrl.hxx.
Referenced by DbFormattedField::GetFormatText(), DbFilterField::Update(), and DbFormattedField::UpdateFromField().
|
inline |
Definition at line 396 of file gridctrl.hxx.
Referenced by DbFilterField::commitControl(), FmXEditCell::getText(), PaintCell(), DbFilterField::Update(), and FmXDataCell::UpdateFromColumn().
|
inline |
Definition at line 437 of file gridctrl.hxx.
Referenced by NavigationBar::GetState(), NavigationBar::InvalidateAll(), and NavigationBar::SetState().
|
inlineprotected |
Definition at line 578 of file gridctrl.hxx.
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 1731 of file gridctrl.cxx.
References IsFilterRow(), IsInsertionRow(), IsModified(), IsValid(), m_nCurrentPos, m_xCurrentRow, and m_xSeekRow.
Referenced by FieldValueChanged().
|
inline |
Definition at line 524 of file gridctrl.hxx.
|
inlineprotected |
Definition at line 573 of file gridctrl.hxx.
Referenced by FmGridControl::DeleteSelectedRows().
|
inlineprotected |
Definition at line 577 of file gridctrl.hxx.
Referenced by FmGridControl::DeleteSelectedRows(), and FmGridControl::getSelectionBookmarks().
|
inline |
Definition at line 525 of file gridctrl.hxx.
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 2396 of file gridctrl.cxx.
References get(), GetCurrentRowCellText(), BrowseBox::GetDataWindow(), GetModelColumnPos(), m_aColumns, m_xPaintRow, and SeekRow().
|
inlineprotected |
Definition at line 574 of file gridctrl.hxx.
Referenced by FmGridControl::DeleteSelectedRows().
|
inline |
Definition at line 420 of file gridctrl.hxx.
References BrowseBox::ColCount().
Referenced by IsTabAllowed().
|
inline |
Definition at line 412 of file gridctrl.hxx.
References BROWSER_INVALIDID, BrowseBox::GetColumnPos(), GRID_COLUMN_NOT_FOUND, nId, and nPos.
Referenced by AppendColumn(), ColumnMoved(), ConnectToFields(), HideColumn(), IsTabAllowed(), and ShowColumn().
|
inline |
Definition at line 408 of file gridctrl.hxx.
Referenced by InsertHandleColumn().
|
inline |
Definition at line 435 of file gridctrl.hxx.
References BrowseBox::m_bNavigationBar.
|
protectedvirtual |
hide a column
Reimplemented in FmGridControl.
Definition at line 3033 of file gridctrl.cxx.
References BrowseBox::CalcReverseZoom(), BrowseBox::ColCount(), DBG_ASSERT, svt::EditBrowseBox::DeactivateCell(), get(), GetColumnIdFromViewPos(), BrowseBox::GetColumnWidth(), BrowseBox::GetCurColumnId(), GetModelColumnPos(), GetViewColumnPos(), BrowseBox::GoToColumnId(), m_aColumns, DbGridColumn::m_bHidden, DbGridColumn::m_nLastVisibleWidth, nId, and nPos.
Referenced by FmGridControl::HideColumn().
|
protected |
Definition at line 3163 of file gridctrl.cxx.
References AdjustDataSource(), AdjustRows(), Application::IsMainThread(), LINK, m_aAdjustSafety, m_bPendingAdjustRows, m_nAsynAdjustEvent, and SAL_INFO.
Referenced by FmGridControl::positioned(), and FmGridControl::propertyChange().
|
protected |
Definition at line 842 of file gridctrl.cxx.
References Background, Font, BrowseBox::GetDataWindow(), GetFillColor(), m_aBar, m_aColumns, BrowseBox::m_bNavigationBar, and WritingMode.
Referenced by DataChanged(), DbGridControl(), and StateChanged().
|
overridevirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 735 of file gridctrl.cxx.
References svt::EditBrowseBox::CreateHeaderBar(), InsertHandleColumn(), m_nMode, svt::EditBrowseBox::pHeader, BrowseBox::SetCursorColor(), BrowseBox::SetHeaderBar(), and BrowseBox::SetMode().
|
pure virtual |
Implemented in FmGridControl.
Referenced by setDataSource().
void DbGridControl::InsertHandleColumn | ( | ) |
Definition at line 726 of file gridctrl.cxx.
References BrowseBox::GetDefaultColumnWidth(), HasHandle(), and BrowseBox::InsertHandleColumn().
Referenced by EnableHandle(), Init(), and FmGridControl::InitColumnsByModels().
|
private |
|
protected |
Definition at line 2819 of file gridctrl.cxx.
References tools::SvRef< typename T >::is(), and m_xCurrentRow.
Referenced by FmGridControl::DeleteSelectedRows(), NavigationBar::GetState(), PreExecuteRowContextMenu(), and NavigationBar::SetState().
|
inline |
Definition at line 427 of file gridctrl.hxx.
Referenced by FmGridControl::Command(), CursorMoved(), NavigationBar::GetState(), FmGridControl::KeyInput(), SetDesignMode(), and FmGridControl::SetDesignMode().
|
inline |
Definition at line 431 of file gridctrl.hxx.
Referenced by CellModified(), DbGridColumn::CreateControl(), GetController(), NavigationBar::GetState(), IsModified(), SeekRow(), SetFilterMode(), and Undo().
|
inline |
Definition at line 432 of file gridctrl.hxx.
Referenced by GetRowStatus(), SeekCursor(), SeekRow(), and SetCurrent().
|
protected |
Definition at line 2824 of file gridctrl.cxx.
References BrowseBox::GetRowCount(), Insert, m_nOptions, and m_nTotalCount.
Referenced by FmGridControl::DeleteSelectedRows(), GetRowStatus(), FmGridControl::getSelectionBookmarks(), SeekCursor(), SeekRow(), and SetCurrent().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 2814 of file gridctrl.cxx.
References IsFilterMode(), IsValid(), and m_xCurrentRow.
Referenced by AdjustRows(), GetRowStatus(), NavigationBar::GetState(), PreExecuteRowContextMenu(), PreNotify(), resetCurrentRow(), SaveRow(), NavigationBar::SetState(), and Undo().
|
inline |
Definition at line 428 of file gridctrl.hxx.
Referenced by NavigationBar::GetState().
bool DbGridControl::IsPermanentCursorEnabled | ( | ) | const |
Definition at line 1136 of file gridctrl.cxx.
References m_nMode.
Referenced by EnablePermanentCursor(), and setDataSource().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 3003 of file gridctrl.cxx.
References BrowseBox::GetCurColumnId(), BrowseBox::GetCurRow(), BrowseBox::GetRowCount(), GetViewColCount(), GetViewColumnPos(), and m_bRecordCountFinal.
|
inline |
Definition at line 465 of file gridctrl.hxx.
Referenced by AdjustRows(), FmGridControl::commit(), and DataSourcePropertyChanged().
|
inlinestaticprotected |
Definition at line 563 of file gridctrl.hxx.
References tools::SvRef< typename T >::is().
Referenced by CellModified(), GetController(), GetCurrentRowCellText(), GetRowStatus(), IsModified(), PaintCell(), SaveModified(), SaveRow(), SeekCursor(), and Undo().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Reimplemented in FmGridControl.
Definition at line 3016 of file gridctrl.cxx.
References BrowseBox::ColCount(), get(), BrowseBox::GetCurColumnId(), GetCurrentRowCellText(), BrowseBox::GetCurRow(), vcl::KeyCode::GetFunction(), KeyEvent::GetKeyCode(), GetModelColumnPos(), BrowseBox::GetRowCount(), m_aColumns, and m_xCurrentRow.
Referenced by FmGridControl::KeyInput().
void DbGridControl::MoveToFirst | ( | ) |
Definition at line 2172 of file gridctrl.cxx.
References BrowseBox::GetCurRow(), m_pSeekCursor, and MoveToPosition().
Referenced by IMPL_LINK().
void DbGridControl::MoveToLast | ( | ) |
Definition at line 2178 of file gridctrl.cxx.
References AdjustRows(), Exception, BrowseBox::GetRowCount(), Insert, m_nOptions, m_nSeekPos, m_nTotalCount, m_pSeekCursor, and MoveToPosition().
Referenced by Dispatch(), and IMPL_LINK().
void DbGridControl::MoveToNext | ( | ) |
Definition at line 2217 of file gridctrl.cxx.
References AdjustRows(), DBG_UNHANDLED_EXCEPTION, BrowseBox::GetCurRow(), BrowseBox::GetRowCount(), m_nSeekPos, m_nTotalCount, m_pSeekCursor, MoveToNext(), and MoveToPosition().
Referenced by IMPL_LINK(), and MoveToNext().
void DbGridControl::MoveToPosition | ( | sal_uInt32 | nPos | ) |
Definition at line 2259 of file gridctrl.cxx.
References AdjustRows(), Exception, BrowseBox::GetRowCount(), m_aBar, m_nCurrentPos, m_nSeekPos, m_nTotalCount, m_pSeekCursor, and nPos.
Referenced by AppendNew(), MoveToFirst(), MoveToLast(), MoveToNext(), and MoveToPrev().
void DbGridControl::MoveToPrev | ( | ) |
Definition at line 2210 of file gridctrl.cxx.
References BrowseBox::GetCurRow(), and MoveToPosition().
Referenced by IMPL_LINK().
|
protectedvirtual |
called when the current column changed
Definition at line 1909 of file gridctrl.cxx.
References FmGridListener::columnChanged(), and m_pGridListener.
Referenced by CursorMoved().
|
protectedvirtual |
called when the current row changed
Definition at line 1904 of file gridctrl.cxx.
Referenced by CursorMoved().
|
overrideprotectedvirtual |
Implements svt::EditBrowseBox.
Definition at line 1755 of file gridctrl.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustTop(), tools::SvRef< typename T >::get(), get(), BrowseBox::GetMode(), GetModelColumnPos(), getNumberFormatter(), IsValid(), m_aColumns, m_xPaintRow, and DbGridColumn::Paint().
|
protectedvirtual |
After executing the context menu for a row this method is called.
Definition at line 2427 of file gridctrl.cxx.
References LINK, m_nDeleteEvent, Application::PostUserEvent(), Application::RemoveUserEvent(), SaveRow(), and Undo().
Referenced by executeRowContextMenu().
|
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 2408 of file gridctrl.cxx.
References Link< typename Arg, typename Ret >::Call(), Delete, BrowseBox::GetRowCount(), BrowseBox::GetSelectRowCount(), Insert, IsCurrentAppending(), IsModified(), BrowseBox::IsRowSelected(), Link< typename Arg, typename Ret >::IsSet(), m_aMasterStateProvider, m_nOptions, nState, weld::Menu::set_visible(), and Undo.
Referenced by executeRowContextMenu().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 2946 of file gridctrl.cxx.
References Delete, KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), NotifyEvent::GetKeyEvent(), BrowseBox::GetSelectRowCount(), NotifyEvent::GetType(), NotifyEvent::GetWindow(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), IsModified(), vcl::KeyCode::IsShift(), KEY_DELETE, KEY_ESCAPE, KEY_TAB, vcl::Window::KeyInput(), LINK, m_aBar, m_nDeleteEvent, m_nOptions, Application::PostUserEvent(), Application::RemoveUserEvent(), and Undo().
|
protected |
Definition at line 1573 of file gridctrl.cxx.
References AdjustRows(), Any, DBG_ASSERT, FM_PROP_FETCHSIZE, BrowseBox::GetRowCount(), BrowseBox::GetTopRow(), m_nTotalCount, m_pSeekCursor, nCacheSize, and SeekCursor().
Referenced by AdjustRows(), setDataSource(), and VisibleRowsChanged().
void DbGridControl::refreshController | ( | sal_uInt16 | _nColId, |
GrantControlAccess | _aAccess | ||
) |
called when a controller needs to be re-initialized
Definition at line 1141 of file gridctrl.cxx.
References svt::EditBrowseBox::ActivateCell(), svt::EditBrowseBox::DeactivateCell(), BrowseBox::GetCurColumnId(), and svt::EditBrowseBox::IsEditing().
Referenced by DbCellControl::invalidatedController().
|
protected |
Definition at line 1430 of file gridctrl.cxx.
References GetModelColumnPos(), GRID_COLUMN_NOT_FOUND, m_aColumns, nId, and nIndex.
Referenced by EnableHandle().
|
protected |
Definition at line 1380 of file gridctrl.cxx.
References svt::EditBrowseBox::DeactivateCell(), svt::EditBrowseBox::IsEditing(), and m_aColumns.
Referenced by dispose(), and FmGridControl::InitColumnsByModels().
|
overridevirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 905 of file gridctrl.cxx.
References svt::EditBrowseBox::DeactivateCell(), svt::EditBrowseBox::IsEditing(), m_aBar, m_aColumns, m_nCurrentPos, m_nOptions, m_nSeekPos, m_nTotalCount, m_pDataCursor, m_pSeekCursor, m_xCurrentRow, m_xDataRow, m_xEmptyRow, m_xPaintRow, m_xSeekRow, and Readonly.
Referenced by RemoveRows(), setDataSource(), and SetFilterMode().
void DbGridControl::RemoveRows | ( | bool | bNewCursor | ) |
Definition at line 886 of file gridctrl.cxx.
References BrowseBox::GetRowCount(), m_nCurrentPos, m_nOptions, m_nSeekPos, m_nTotalCount, m_pSeekCursor, m_xCurrentRow, m_xDataRow, m_xEmptyRow, m_xPaintRow, m_xSeekRow, Readonly, RemoveRows(), and RowRemoved().
void DbGridControl::resetCurrentRow | ( | ) |
Definition at line 2767 of file gridctrl.cxx.
References FM_PROP_ISMODIFIED, BrowseBox::GetCurRow(), getDataSource(), CursorWrapper::getPropertySet(), BrowseBox::GetRowCount(), IsModified(), m_aBar, m_nCurrentPos, m_pDataCursor, m_xCurrentRow, m_xDataRow, m_xPaintRow, RowModified(), and RowRemoved().
void DbGridControl::RowInserted | ( | sal_Int32 | nRow, |
sal_Int32 | nNumRows = 1 , |
||
bool | bDoPaint = true |
||
) |
Definition at line 1629 of file gridctrl.cxx.
References Count, BrowseBox::GetRowCount(), tools::SvRef< typename T >::is(), m_aBar, m_bRecordCountFinal, m_nTotalCount, and m_xEmptyRow.
Referenced by AdjustRows(), CellModified(), DataSourcePropertyChanged(), setDataSource(), SetFilterMode(), and SetOptions().
void DbGridControl::RowModified | ( | sal_Int32 | nRow | ) |
Definition at line 2803 of file gridctrl.cxx.
References svt::EditBrowseBox::Controller(), BrowseBox::GetCurColumnId(), svt::EditBrowseBox::InitController(), svt::EditBrowseBox::IsEditing(), and m_nCurrentPos.
Referenced by AdjustDataSource(), FieldValueChanged(), FmGridControl::propertyChange(), resetCurrentRow(), SaveRow(), SetCurrent(), DbFilterField::SetText(), and Undo().
void DbGridControl::RowRemoved | ( | sal_Int32 | nRow, |
sal_Int32 | nNumRows = 1 , |
||
bool | bDoPaint = true |
||
) |
Definition at line 1649 of file gridctrl.cxx.
References Count, BrowseBox::GetRowCount(), tools::SvRef< typename T >::is(), m_aBar, m_bRecordCountFinal, m_nTotalCount, and m_xEmptyRow.
Referenced by AdjustRows(), DataSourcePropertyChanged(), RemoveRows(), resetCurrentRow(), SetOptions(), and Undo().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 2829 of file gridctrl.cxx.
References DbGridColumn::Commit(), svt::EditBrowseBox::Controller(), DBG_ASSERT, get(), BrowseBox::GetCurColumnId(), GetModelColumnPos(), svt::EditBrowseBox::InvalidateStatusCell(), IsValid(), m_aColumns, m_nCurrentPos, m_pDataCursor, m_xCurrentRow, ROWSTATUS, and SAL_INFO.
Referenced by FmGridControl::commit(), and SaveRow().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 2873 of file gridctrl.cxx.
References Any, BeginCursorAction(), svt::EditBrowseBox::Controller(), EndCursorAction(), Exception, IsModified(), IsValid(), m_bUpdating, m_nCurrentPos, m_nSeekPos, m_pDataCursor, m_pSeekCursor, m_xCurrentRow, m_xSeekRow, RowModified(), ROWSTATUS, SAL_INFO, and SaveModified().
Referenced by PostExecuteRowContextMenu().
|
protected |
Definition at line 2046 of file gridctrl.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, BrowseBox::GetRowCount(), Insert, IsFilterRow(), IsInsertionRow(), IsValid(), m_nCurrentPos, m_nOptions, m_nSeekPos, m_pSeekCursor, and m_xCurrentRow.
Referenced by FmGridControl::DeleteSelectedRows(), FmGridControl::getSelectionBookmarks(), RecalcRows(), SeekRow(), and SetCurrent().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 1535 of file gridctrl.cxx.
References DBG_ASSERT, getDisplaySynchron(), IsFilterMode(), IsFilterRow(), IsInsertionRow(), m_nCurrentPos, m_nSeekPos, m_pSeekCursor, m_xCurrentRow, m_xEmptyRow, m_xPaintRow, m_xSeekRow, and SeekCursor().
Referenced by copyCellText(), GetCellText(), and GetTotalCellWidth().
|
overrideprotectedvirtual |
Reimplemented from BrowseBox.
Reimplemented in FmGridControl.
Definition at line 831 of file gridctrl.cxx.
References Count, m_aBar, m_pGridListener, and FmGridListener::selectionChanged().
Referenced by FmGridControl::Select().
|
protected |
Definition at line 1791 of file gridctrl.cxx.
References Any, BeginCursorAction(), CompareBookmark(), DBG_UNHANDLED_EXCEPTION, EndCursorAction(), Exception, FM_PROP_ISNEW, BrowseBox::GetRowCount(), tools::SvRef< typename T >::is(), IsFilterRow(), IsInsertionRow(), m_nCurrentPos, m_pDataCursor, m_pSeekCursor, m_xCurrentRow, m_xDataRow, m_xEmptyRow, m_xPaintRow, RowModified(), and SeekCursor().
Referenced by AdjustDataSource(), AdjustRows(), CursorMoved(), and CursorMoving().
void DbGridControl::setDataSource | ( | const css::uno::Reference< css::sdbc::XRowSet > & | rCursor, |
DbGridControlOptions | nOpts = DbGridControlOptions::Insert | DbGridControlOptions::Update | DbGridControlOptions::Delete |
||
) |
Definition at line 1150 of file gridctrl.cxx.
References BROWSER_INVALIDID, BrowseBox::ColCount(), ConnectToFields(), DBG_UNHANDLED_EXCEPTION, svt::EditBrowseBox::DeactivateCell(), DEFAULT_BROWSE_MODE, Delete, DisconnectFromFields(), DisposeListenerGridBridge, Exception, FM_PROP_ISMODIFIED, FM_PROP_ISNEW, FM_PROP_PRIVILEGES, FM_PROP_RESULTSET_CONCURRENCY, FM_PROP_ROWCOUNT, FM_PROP_ROWCOUNTFINAL, FmXGridSourcePropListener, BrowseBox::GetColumnId(), BrowseBox::GetColumnPos(), getConnection(), BrowseBox::GetCurColumnId(), getNumberFormats(), BrowseBox::GetRowCount(), BrowseBox::GetTopRow(), BrowseBox::GetVisibleRows(), BrowseBox::GoToRowColumnId(), InitColumnsByFields(), Insert, svt::EditBrowseBox::IsEditing(), IsPermanentCursorEnabled(), BrowseBox::IsResizing(), m_aAdjustSafety, m_aBar, m_aNullDate, m_bHideScrollbars, BrowseBox::m_bNavigationBar, m_bRecordCountFinal, m_nAsynAdjustEvent, m_nCurrentPos, m_nMode, m_nOptionMask, m_nOptions, m_nSeekPos, m_pCursorDisposeListener, m_pDataCursor, m_pDataSourcePropListener, m_pDataSourcePropMultiplexer, m_pSeekCursor, m_xContext, m_xDataRow, m_xEmptyRow, m_xFormatter, m_xPaintRow, m_xRowSetListener, m_xSeekRow, RecalcRows(), RemoveRows(), RowInserted(), BrowseBox::SetMode(), BrowseBox::SetUpdateMode(), and Update.
Referenced by disposing(), and SetFilterMode().
|
virtual |
Reimplemented in FmGridControl.
Definition at line 2316 of file gridctrl.cxx.
References Disable, Enable, BrowseBox::GetDataWindow(), IsDesignMode(), m_aBar, m_bDesignMode, and m_nCurrentPos.
Referenced by FmGridControl::SetDesignMode().
void DbGridControl::setDisplaySynchron | ( | bool | bSync | ) |
Definition at line 1915 of file gridctrl.cxx.
References AdjustDataSource(), and m_bSynchDisplay.
void DbGridControl::SetFilterMode | ( | bool | bMode | ) |
Definition at line 2344 of file gridctrl.cxx.
References svt::EditBrowseBox::DeactivateCell(), svt::EditBrowseBox::IsEditing(), IsFilterMode(), m_aColumns, m_bFilterMode, m_xEmptyRow, RemoveRows(), RowInserted(), setDataSource(), and BrowseBox::SetUpdateMode().
|
inline |
Definition at line 512 of file gridctrl.hxx.
DbGridControlOptions DbGridControl::SetOptions | ( | DbGridControlOptions | nOpt | ) |
Definition at line 1019 of file gridctrl.cxx.
References svt::EditBrowseBox::ActivateCell(), DBG_ASSERT, svt::EditBrowseBox::DeactivateCell(), FM_PROP_PRIVILEGES, BrowseBox::GetCurColumnId(), BrowseBox::GetCurRow(), BrowseBox::GetRowCount(), BrowseBox::GoToRowColumnId(), Insert, tools::SvRef< typename T >::is(), m_nMode, m_nOptionMask, m_nOptions, m_pDataCursor, m_xCurrentRow, m_xEmptyRow, Readonly, RowInserted(), RowRemoved(), BrowseBox::SetMode(), and Update.
|
inlineprotected |
Definition at line 571 of file gridctrl.hxx.
References nPos.
|
inline |
Definition at line 526 of file gridctrl.hxx.
References nPos.
Referenced by FmGridControl::DeleteSelectedRows().
|
inline |
Definition at line 488 of file gridctrl.hxx.
|
inline |
Definition at line 482 of file gridctrl.hxx.
|
protectedvirtual |
show a column
Reimplemented in FmGridControl.
Definition at line 3062 of file gridctrl.cxx.
References svt::EditBrowseBox::ActivateCell(), aName, BROWSER_INVALIDID, DBG_ASSERT, svt::EditBrowseBox::DeactivateCell(), FM_PROP_LABEL, GetId(), DbGridColumn::getModel(), GetModelColumnPos(), GetViewColumnPos(), GRID_COLUMN_NOT_FOUND, i, BrowseBox::InsertDataColumn(), DbGridColumn::IsHidden(), m_aColumns, DbGridColumn::m_bHidden, DbGridColumn::m_nLastVisibleWidth, nId, and nPos.
Referenced by FmGridControl::ShowColumn().
|
overrideprotectedvirtual |
Reimplemented from BrowseBox.
Definition at line 2494 of file gridctrl.cxx.
References DND_ACTION_COPY, get(), BrowseBox::GetColumnAtXPosPixel(), BrowseBox::GetColumnId(), GetCurrentRowCellText(), BrowseBox::GetDataWindow(), GetModelColumnPos(), BrowseBox::GetRowAtYPosPixel(), BrowseBox::HandleColumnId, BrowseBox::IsResizing(), m_aColumns, m_pSeekCursor, m_xPaintRow, Point::X(), and Point::Y().
|
overrideprotectedvirtual |
Reimplemented from svt::EditBrowseBox.
Definition at line 782 of file gridctrl.cxx.
References ArrangeControls(), Background, Font, Foreground, BrowseBox::GetControlArea(), ImplInitWindow(), nType, BrowseBox::ReserveControlArea(), tools::Rectangle::TopLeft(), WritingMode, Point::X(), and Point::Y().
void DbGridControl::Undo | ( | ) |
Definition at line 2704 of file gridctrl.cxx.
References BeginCursorAction(), Link< typename Arg, typename Ret >::Call(), DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, EndCursorAction(), Exception, BrowseBox::GetRowCount(), IsFilterMode(), IsModified(), Link< typename Arg, typename Ret >::IsSet(), IsValid(), m_aBar, m_aMasterSlotExecutor, m_aMasterStateProvider, m_nCurrentPos, m_pDataCursor, m_xCurrentRow, m_xDataRow, m_xPaintRow, nState, RowModified(), RowRemoved(), and Undo.
Referenced by PostExecuteRowContextMenu(), and PreNotify().
|
overrideprotectedvirtual |
Reimplemented from BrowseBox.
Definition at line 1568 of file gridctrl.cxx.
References RecalcRows().
|
friend |
Definition at line 223 of file gridctrl.hxx.
Referenced by setDataSource().
|
friend |
Definition at line 221 of file gridctrl.hxx.
Referenced by setDataSource().
|
friend |
Definition at line 222 of file gridctrl.hxx.
Referenced by ConnectToFields().
|
friend |
Definition at line 227 of file gridctrl.hxx.
|
private |
Definition at line 277 of file gridctrl.hxx.
Referenced by CellModified(), disposing(), implAdjustInSolarThread(), and setDataSource().
|
private |
Definition at line 237 of file gridctrl.hxx.
Referenced by AdjustDataSource(), AdjustRows(), ArrangeControls(), CellModified(), CreateAccessibleControl(), CursorMoved(), DataSourcePropertyChanged(), DbGridControl(), dispose(), EnableNavigationBar(), ImplInitWindow(), MoveToPosition(), PreNotify(), RemoveRows(), resetCurrentRow(), RowInserted(), RowRemoved(), Select(), setDataSource(), SetDesignMode(), and Undo().
|
private |
Definition at line 236 of file gridctrl.hxx.
Referenced by AppendColumn(), ColumnMoved(), ConnectToFields(), copyCellText(), CreateAccessibleCell(), FieldValueChanged(), GetCellText(), GetColumnIdFromModelPos(), GetController(), GetModelColumnPos(), GetTotalCellWidth(), HideColumn(), ImplInitWindow(), KeyInput(), PaintCell(), RemoveColumn(), RemoveColumns(), RemoveRows(), SaveModified(), SetFilterMode(), ShowColumn(), and StartDrag().
|
private |
Definition at line 276 of file gridctrl.hxx.
Referenced by dispose(), and FieldValueChanged().
|
private |
Definition at line 231 of file gridctrl.hxx.
Referenced by IMPL_LINK(), and Undo().
|
private |
Definition at line 230 of file gridctrl.hxx.
Referenced by NavigationBar::GetState(), PreExecuteRowContextMenu(), and Undo().
|
private |
Definition at line 280 of file gridctrl.hxx.
Referenced by setDataSource().
|
private |
Definition at line 293 of file gridctrl.hxx.
Referenced by SetDesignMode().
|
private |
Definition at line 298 of file gridctrl.hxx.
Referenced by SetFilterMode().
|
private |
Definition at line 297 of file gridctrl.hxx.
Referenced by EnableHandle().
|
private |
Definition at line 301 of file gridctrl.hxx.
Referenced by EnableNavigationBar(), ForceHideScrollbars(), and setDataSource().
|
private |
Definition at line 300 of file gridctrl.hxx.
Referenced by CellModified(), and implAdjustInSolarThread().
|
private |
Definition at line 294 of file gridctrl.hxx.
Referenced by AdjustRows(), NavigationBar::GetState(), IsTabAllowed(), RowInserted(), RowRemoved(), setDataSource(), and NavigationBar::SetState().
|
private |
Definition at line 296 of file gridctrl.hxx.
Referenced by AdjustDataSource(), AdjustRows(), and setDisplaySynchron().
|
protected |
Definition at line 304 of file gridctrl.hxx.
Referenced by SaveRow().
|
private |
Definition at line 299 of file gridctrl.hxx.
Referenced by dispose(), and FieldValueChanged().
|
private |
Definition at line 245 of file gridctrl.hxx.
Referenced by CellModified(), disposing(), implAdjustInSolarThread(), and setDataSource().
|
private |
Definition at line 283 of file gridctrl.hxx.
Referenced by AdjustDataSource(), AdjustRows(), CellModified(), CursorMoved(), CursorMoving(), DataSourcePropertyChanged(), EnableNavigationBar(), GetRowStatus(), MoveToPosition(), RemoveRows(), resetCurrentRow(), RowModified(), SaveModified(), SaveRow(), SeekCursor(), SeekRow(), SetCurrent(), setDataSource(), SetDesignMode(), and Undo().
|
private |
Definition at line 284 of file gridctrl.hxx.
Referenced by dispose(), PostExecuteRowContextMenu(), and PreNotify().
|
private |
Definition at line 290 of file gridctrl.hxx.
Referenced by CursorMoved().
|
private |
Definition at line 291 of file gridctrl.hxx.
Referenced by CursorMoved().
|
private |
Definition at line 282 of file gridctrl.hxx.
Referenced by EnableNavigationBar(), EnablePermanentCursor(), ForceHideScrollbars(), Init(), IsPermanentCursorEnabled(), setDataSource(), and SetOptions().
|
private |
Definition at line 287 of file gridctrl.hxx.
Referenced by setDataSource(), and SetOptions().
|
private |
Definition at line 285 of file gridctrl.hxx.
Referenced by AdjustRows(), AppendNew(), Dispatch(), EnablePermanentCursor(), GetController(), IsInsertionRow(), MoveToLast(), PreExecuteRowContextMenu(), PreNotify(), RemoveRows(), SeekCursor(), setDataSource(), and SetOptions().
|
private |
Definition at line 273 of file gridctrl.hxx.
Referenced by AlignSeekCursor(), AppendNew(), MoveToLast(), MoveToNext(), MoveToPosition(), RemoveRows(), SaveRow(), SeekCursor(), SeekRow(), and setDataSource().
|
private |
Definition at line 274 of file gridctrl.hxx.
Referenced by AdjustRows(), AppendNew(), IsInsertionRow(), MoveToLast(), MoveToNext(), MoveToPosition(), RecalcRows(), RemoveRows(), RowInserted(), and RowRemoved().
|
private |
Definition at line 258 of file gridctrl.hxx.
Referenced by dispose(), and setDataSource().
|
protected |
Definition at line 266 of file gridctrl.hxx.
Referenced by AdjustDataSource(), AdjustRows(), AlignSeekCursor(), CellModified(), CursorMoved(), CursorMoving(), FmGridControl::DeleteSelectedRows(), dispose(), FmGridControl::inserted(), RemoveRows(), resetCurrentRow(), SaveModified(), SaveRow(), SetCurrent(), setDataSource(), SetOptions(), and Undo().
|
private |
Definition at line 251 of file gridctrl.hxx.
Referenced by BeginCursorAction(), dispose(), EndCursorAction(), and setDataSource().
|
private |
Definition at line 250 of file gridctrl.hxx.
Referenced by dispose(), and setDataSource().
|
private |
Definition at line 255 of file gridctrl.hxx.
Referenced by BeginCursorAction(), ConnectToFields(), DisconnectFromFields(), dispose(), EndCursorAction(), and FieldListenerDisposing().
|
private |
Definition at line 263 of file gridctrl.hxx.
Referenced by onColumnChange(), and Select().
|
protected |
Definition at line 267 of file gridctrl.hxx.
Referenced by AdjustRows(), AlignSeekCursor(), AppendNew(), Command(), DeleteSelectedRows(), FmGridControl::DeleteSelectedRows(), dispose(), FmGridControl::getSelectionBookmarks(), MoveToFirst(), MoveToLast(), MoveToNext(), MoveToPosition(), RecalcRows(), RemoveRows(), SaveRow(), SeekCursor(), SeekRow(), FmGridControl::selectBookmarks(), SetCurrent(), setDataSource(), and StartDrag().
|
private |
Definition at line 234 of file gridctrl.hxx.
Referenced by setDataSource().
|
private |
Definition at line 271 of file gridctrl.hxx.
Referenced by AdjustDataSource(), AdjustRows(), CellModified(), DataSourcePropertyChanged(), FieldValueChanged(), GetController(), GetRowStatus(), IsCurrentAppending(), IsModified(), KeyInput(), RemoveRows(), resetCurrentRow(), SaveModified(), SaveRow(), SeekCursor(), SeekRow(), SetCurrent(), SetOptions(), and Undo().
|
private |
Definition at line 238 of file gridctrl.hxx.
Referenced by AdjustDataSource(), RemoveRows(), resetCurrentRow(), SetCurrent(), setDataSource(), and Undo().
|
private |
Definition at line 243 of file gridctrl.hxx.
Referenced by AdjustRows(), RemoveRows(), RowInserted(), RowRemoved(), SeekRow(), SetCurrent(), setDataSource(), SetFilterMode(), and SetOptions().
|
private |
Definition at line 233 of file gridctrl.hxx.
Referenced by FieldValueChanged(), GetCurrentRowCellText(), and setDataSource().
|
private |
Definition at line 272 of file gridctrl.hxx.
Referenced by AdjustDataSource(), copyCellText(), GetCellText(), GetTotalCellWidth(), PaintCell(), RemoveRows(), resetCurrentRow(), SeekRow(), SetCurrent(), setDataSource(), StartDrag(), and Undo().
|
private |
Definition at line 253 of file gridctrl.hxx.
Referenced by dispose(), and setDataSource().
|
private |
Definition at line 240 of file gridctrl.hxx.
Referenced by AdjustDataSource(), GetRowStatus(), RemoveRows(), SaveRow(), SeekRow(), and setDataSource().