defines a callback interface to be implemented by a concrete table control
virtual void showCursor()=0
shows the cell cursor
virtual void activateCell(ColPos const i_col, RowPos const i_row)=0
activates the given cell
virtual ::Size getTableSizePixel() const =0
retrieves the size of the table window, in pixels
virtual void captureMouse()=0
captures the mouse to the table window
virtual PTableModel getModel() const =0
returns the table model
virtual ColPos getCurrentColumn() const =0
returns the index of the currently active column
virtual bool isRowSelected(RowPos _nRow) const =0
determines whether a given row is selected
virtual void hideCursor()=0
hides the cell cursor
virtual void setPointer(PointerStyle i_pointer)=0
sets a new mouse pointer for the table window
virtual void hideTracking()=0
hides a previously shown tracking rectangle
virtual SelectionEngine * getSelEngine()=0
returns selection engine
virtual tools::Long pixelWidthToAppFont(tools::Long const i_pixels) const =0
calculates a width, given in pixels, into an AppFont-based width
virtual RowPos getCurrentRow() const =0
returns the index of the currently active row
virtual void releaseMouse()=0
releases the mouse, after it had previously been captured
virtual void showTracking(tools::Rectangle const &i_location, ShowTrackFlags const i_flags)=0
shows a tracking rectangle
virtual bool dispatchAction(TableControlAction _eAction)=0
dispatches an action to the table control
virtual void invalidate(TableArea const i_what)=0
invalidates the table window
virtual ColumnMetrics getColumnMetrics(ColPos const i_column) const =0
retrieves the metrics for a given column
virtual TableCell hitTest(const Point &rPoint) const =0
does a hit test for the given pixel coordinates
sal_Int32 RowPos
a value denoting a row position within a table
std::shared_ptr< ITableModel > PTableModel
sal_Int32 ColPos
a value denoting a column position within a table
@ cursorToFirstLine
moves the cursor to the first row, keeping the current column
@ cursorToLineStart
moves the cursor to the beginning of the current line
@ cursorLeft
moves the cursor in the table control one column to the left, if possible, by keeping the current row
@ cursorPageDown
moves the cursor one page down, keeping the current column
@ cursorSelectRowUp
selects the rows, above the actual cursor is
@ cursorBottomRight
moves the cursor to the bottom-most, right-most cell
@ cursorDown
moves the cursor in the table control one row down, if possible, by keeping the current column
@ invalidTableControlAction
invalid and final enumeration value, not to be actually used
@ cursorPageUp
moves the cursor one page up, keeping the current column
@ cursorSelectRowDown
selects the row, beneath the actual cursor is
@ cursorUp
moves the cursor in the table control one row up, if possible, by keeping the current column
@ cursorToLineEnd
moves the cursor to the end of the current line
@ cursorSelectRow
selects the row, where the actual cursor is
@ cursorTopLeft
moves the cursor to the top-most, left-most cell
@ cursorSelectRowAreaBottom
selects the row, from the actual cursor till bottom
@ cursorRight
moves the cursor in the table control one column to the right, if possible, by keeping the current ro...
@ cursorSelectRowAreaTop
selects the row, from the actual cursor till top
@ cursorToLastLine
moves the cursor to the last row, keeping the current column
tools::Long nEndPixel
the end of the column, in pixels, plus 1.
ColumnMetrics(tools::Long const i_start, tools::Long const i_end)
tools::Long nStartPixel
the start of the column, in pixels.
TableCell(ColPos const i_column, RowPos const i_row)