32 class TableControl_Impl;
56 std::shared_ptr<TableControl_Impl>
m_pImpl;
62 virtual void dispose()
override;
98 virtual void Resize()
override;
114 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessible()
override;
115 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessibleControl( sal_Int32 _nIndex )
override;
117 virtual void GoToCell( sal_Int32 _nColumnPos, sal_Int32 _nRow )
override;
133 virtual css::uno::Reference< css::accessibility::XAccessible >
GetAccessible()
override;
148 virtual OUString
GetRowName(sal_Int32 _nIndex)
const override;
149 virtual OUString
GetColumnName( sal_Int32 _nIndex )
const override;
156 virtual bool IsRowSelected( sal_Int32
const i_rowIndex )
const override;
157 virtual void SelectRow( sal_Int32
const i_rowIndex,
bool const i_select )
override;
defines a callback interface to be implemented by a concrete table control
a basic control which manages table-like data, i.e.
void SetModel(const PTableModel &_pModel)
sets a new table model
virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow, sal_Int32 _nColumnPos, const Point &_rPoint) override
virtual sal_Int32 GetSelectedRowCount() const override
virtual OUString GetAccessibleObjectName(vcl::table::AccessibleTableControlObjType eObjType, sal_Int32 _nRow, sal_Int32 _nCol) const override
virtual bool HasColHeader() override
virtual sal_Int32 GetAccessibleControlCount() const override
virtual vcl::Window * GetAccessibleParentWindow() const override
sal_Int32 GetCurrentRow() const override
retrieves the current row
virtual void SelectAllRows(bool const i_select) override
sal_Int32 GetCurrentColumn() const override
retrieves the current column
virtual bool HasRowHeader() override
virtual tools::Rectangle calcHeaderRect(bool _bIsColumnBar) override
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible() override
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl(sal_Int32 _nIndex) override
virtual bool IsRowSelected(sal_Int32 const i_rowIndex) const override
virtual tools::Rectangle calcHeaderCellRect(bool _bIsColumnBar, sal_Int32 nPos) override
virtual tools::Rectangle calcCellRect(sal_Int32 _nRowPos, sal_Int32 _nColPos) override
TableControl & operator=(const TableControl &)=delete
virtual void FillAccessibleStateSet(sal_Int64 &rStateSet, vcl::table::AccessibleTableControlObjType eObjType) const override
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override
Creates and returns the accessible object of the whole GridControl.
virtual sal_Int32 GetColumnCount() const override
virtual OUString GetAccessibleObjectDescription(vcl::table::AccessibleTableControlObjType eObjType) const override
virtual sal_Int32 GetSelectedRowIndex(sal_Int32 const i_selectionIndex) const override
virtual sal_Int32 GetRowCount() const override
virtual OUString GetRowName(sal_Int32 _nIndex) const override
virtual void GoToCell(sal_Int32 _nColumnPos, sal_Int32 _nRow) override
virtual void FillAccessibleStateSetForCell(sal_Int64 &_rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumnPos) const override
virtual vcl::Window * GetWindowInstance() override
virtual tools::Rectangle GetWindowExtentsAbsolute() const override
virtual void SelectRow(sal_Int32 const i_rowIndex, bool const i_select) override
virtual tools::Rectangle GetFieldCharacterBounds(sal_Int32 _nRow, sal_Int32 _nColumnPos, sal_Int32 nIndex) override
virtual void LoseFocus() override
PTableModel GetModel() const
retrieves the current table model
virtual void KeyInput(const KeyEvent &rKEvt) override
virtual tools::Rectangle calcTableRect() override
virtual tools::Rectangle GetWindowExtentsRelative(const vcl::Window &rRelativeWindow) const override
virtual bool ConvertPointToControlIndex(sal_Int32 &_rnIndex, const Point &_rPoint) override
ITableControl & getTableControlInterface()
TableControl(const TableControl &)=delete
virtual OUString GetAccessibleCellText(sal_Int32 _nRowPos, sal_Int32 _nColPos) const override
SelectionEngine * getSelEngine()
after removing a row, updates the vector which contains the selected rows if the row,...
vcl::Window & getDataWindow()
virtual ~TableControl() override
void GoTo(ColPos _nColumnPos, RowPos _nRow)
activates the cell at the given position
void commitTableEventIfAccessibleAlive(sal_Int16 const i_eventID, const css::uno::Any &i_newValue, const css::uno::Any &i_oldValue)
DECL_LINK(ImplSelectHdl, LinkParamNone *, void)
virtual void Resize() override
virtual void GetFocus() override
virtual void dispose() override
virtual void GrabFocus() override
std::shared_ptr< TableControl_Impl > m_pImpl
void commitCellEventIfAccessibleAlive(sal_Int16 const i_eventID, const css::uno::Any &i_newValue, const css::uno::Any &i_oldValue)
virtual void StateChanged(StateChangedType i_nStateChange) override
virtual OUString GetColumnName(sal_Int32 _nIndex) const override
TableControl(vcl::Window *_pParent, WinBits _nStyle)
virtual bool ConvertPointToCellAddress(sal_Int32 &_rnRow, sal_Int32 &_rnColPos, const Point &_rPoint) override
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
AccessibleTableControlObjType