LibreOffice Module svx (master) 1
|
#include <AccessibleTableShape.hxx>
Public Member Functions | |
AccessibleTableShape (const AccessibleShapeInfo &rShapeInfo, const AccessibleShapeTreeInfo &rShapeTreeInfo) | |
virtual | ~AccessibleTableShape () override |
AccessibleTableShape (const AccessibleTableShape &)=delete | |
AccessibleTableShape & | operator= (const AccessibleTableShape &)=delete |
virtual void | Init () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual sal_Int64 SAL_CALL | getAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 i) override |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override |
virtual sal_Int32 SAL_CALL | getAccessibleRowCount () override |
virtual sal_Int32 SAL_CALL | getAccessibleColumnCount () override |
virtual OUString SAL_CALL | getAccessibleRowDescription (sal_Int32 nRow) override |
virtual OUString SAL_CALL | getAccessibleColumnDescription (sal_Int32 nColumn) override |
virtual sal_Int32 SAL_CALL | getAccessibleRowExtentAt (sal_Int32 nRow, sal_Int32 nColumn) override |
virtual sal_Int32 SAL_CALL | getAccessibleColumnExtentAt (sal_Int32 nRow, sal_Int32 nColumn) override |
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL | getAccessibleRowHeaders () override |
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL | getAccessibleColumnHeaders () override |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | getSelectedAccessibleRows () override |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | getSelectedAccessibleColumns () override |
virtual sal_Bool SAL_CALL | isAccessibleRowSelected (sal_Int32 nRow) override |
virtual sal_Bool SAL_CALL | isAccessibleColumnSelected (sal_Int32 nColumn) override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleCellAt (sal_Int32 nRow, sal_Int32 nColumn) override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleCaption () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleSummary () override |
virtual sal_Bool SAL_CALL | isAccessibleSelected (sal_Int32 nRow, sal_Int32 nColumn) override |
virtual sal_Int64 SAL_CALL | getAccessibleIndex (sal_Int32 nRow, sal_Int32 nColumn) override |
virtual sal_Int32 SAL_CALL | getAccessibleRow (sal_Int64 nChildIndex) override |
virtual sal_Int32 SAL_CALL | getAccessibleColumn (sal_Int64 nChildIndex) override |
virtual void SAL_CALL | selectAccessibleChild (sal_Int64 nChildIndex) override |
virtual sal_Bool SAL_CALL | isAccessibleChildSelected (sal_Int64 nChildIndex) override |
virtual void SAL_CALL | clearAccessibleSelection () override |
virtual void SAL_CALL | selectAllAccessibleChildren () override |
virtual sal_Int64 SAL_CALL | getSelectedAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getSelectedAccessibleChild (sal_Int64 nSelectedChildIndex) override |
virtual void SAL_CALL | deselectAccessibleChild (sal_Int64 nChildIndex) override |
virtual sal_Bool SAL_CALL | selectRow (sal_Int32 row) override |
virtual sal_Bool SAL_CALL | selectColumn (sal_Int32 column) override |
virtual sal_Bool SAL_CALL | unselectRow (sal_Int32 row) override |
virtual sal_Bool SAL_CALL | unselectColumn (sal_Int32 column) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | selectionChanged (const css::lang::EventObject &rEvent) override |
void | getColumnAndRow (sal_Int64 nChildIndex, sal_Int32 &rnColumn, sal_Int32 &rnRow) |
virtual bool | SetState (sal_Int64 aState) override |
virtual bool | ResetState (sal_Int64 aState) override |
bool | SetStateDirectly (sal_Int64 aState) |
bool | ResetStateDirectly (sal_Int64 aState) |
AccessibleCell * | GetActiveAccessibleCell () |
void | disposing (const css::lang::EventObject &Source) |
Listen for disposing events of the model. More... | |
virtual void SAL_CALL | disposing () override |
This method is called from the component helper base class while disposing. More... | |
Private Member Functions | |
virtual OUString | CreateAccessibleBaseName () override |
sdr::table::SvxTableController * | getTableController () |
void | checkCellPosition (sal_Int32 nCol, sal_Int32 nRow) |
sal_Int64 | GetIndexOfSelectedChild (sal_Int64 nSelectedChildIndex) const |
Private Attributes | |
sal_Int32 | mnPreviousSelectionCount |
rtl::Reference< AccessibleTableShapeImpl > | mxImpl |
Friends | |
class | AccessibleTableHeaderShape |
Definition at line 44 of file AccessibleTableShape.hxx.
accessibility::AccessibleTableShape::AccessibleTableShape | ( | const AccessibleShapeInfo & | rShapeInfo, |
const AccessibleShapeTreeInfo & | rShapeTreeInfo | ||
) |
Definition at line 321 of file accessibletableshape.cxx.
|
overridevirtual |
Definition at line 329 of file accessibletableshape.cxx.
|
delete |
|
overridevirtualnoexcept |
Definition at line 379 of file accessibletableshape.cxx.
|
private |
css::lang::IndexOutOfBoundsException |
Definition at line 993 of file accessibletableshape.cxx.
References mxImpl.
Referenced by getAccessibleCellAt(), getAccessibleColumnDescription(), getAccessibleColumnExtentAt(), getAccessibleIndex(), getAccessibleRowDescription(), getAccessibleRowExtentAt(), isAccessibleColumnSelected(), isAccessibleRowSelected(), and isAccessibleSelected().
|
overridevirtual |
Definition at line 738 of file accessibletableshape.cxx.
References sdr::table::SvxTableController::clearSelection(), and getTableController().
|
overrideprivatevirtual |
Definition at line 400 of file accessibletableshape.cxx.
|
overridevirtual |
Definition at line 799 of file accessibletableshape.cxx.
References sdr::table::SvxTableController::clearSelection(), sdr::table::SvxTableController::getSelectedCells(), getTableController(), sdr::table::SvxTableController::hasSelectedCells(), sdr::table::CellPos::mnCol, sdr::table::CellPos::mnRow, mxImpl, and sdr::table::SvxTableController::setSelectedCells().
|
overridevirtual |
Definition at line 428 of file accessibletableshape.cxx.
References accessibility::AccessibleShape::disposing(), and mxImpl.
|
override |
This method is called from the component helper base class while disposing.
Definition at line 396 of file AccessibleShape.cxx.
void accessibility::AccessibleShape::disposing | ( | const css::lang::EventObject & | Source | ) |
Listen for disposing events of the model.
The accessible shape remains functional when this happens.
|
overridevirtual |
|
overridevirtual |
Definition at line 638 of file accessibletableshape.cxx.
|
overridevirtual |
Definition at line 625 of file accessibletableshape.cxx.
References checkCellPosition(), getAccessibleChild(), and mxImpl.
|
overridevirtual |
Definition at line 413 of file accessibletableshape.cxx.
Referenced by getAccessibleCellAt(), and getSelectedAccessibleChild().
|
overridevirtual |
Definition at line 406 of file accessibletableshape.cxx.
References mxImpl.
Referenced by GetIndexOfSelectedChild(), getSelectedAccessibleChild(), and isAccessibleChildSelected().
|
overridevirtual |
Definition at line 687 of file accessibletableshape.cxx.
References mxImpl.
|
overridevirtual |
Definition at line 447 of file accessibletableshape.cxx.
References mxImpl.
Referenced by getSelectedAccessibleColumns().
|
overridevirtual |
Definition at line 461 of file accessibletableshape.cxx.
References checkCellPosition().
|
overridevirtual |
Definition at line 483 of file accessibletableshape.cxx.
References checkCellPosition(), and mxImpl.
|
overridevirtual |
Definition at line 512 of file accessibletableshape.cxx.
References AccessibleTableHeaderShape, getTableController(), and sdr::table::SvxTableController::isColumnHeader().
|
overridevirtual |
Definition at line 670 of file accessibletableshape.cxx.
References checkCellPosition(), and mxImpl.
|
overridevirtual |
Definition at line 422 of file accessibletableshape.cxx.
|
overridevirtual |
Definition at line 678 of file accessibletableshape.cxx.
References mxImpl.
|
overridevirtual |
Definition at line 440 of file accessibletableshape.cxx.
References mxImpl.
Referenced by getSelectedAccessibleRows().
|
overridevirtual |
Definition at line 454 of file accessibletableshape.cxx.
References checkCellPosition().
|
overridevirtual |
Definition at line 469 of file accessibletableshape.cxx.
References checkCellPosition(), and mxImpl.
|
overridevirtual |
Definition at line 497 of file accessibletableshape.cxx.
References AccessibleTableHeaderShape, getTableController(), and sdr::table::SvxTableController::isRowHeader().
|
overridevirtual |
Definition at line 645 of file accessibletableshape.cxx.
AccessibleCell * accessibility::AccessibleTableShape::GetActiveAccessibleCell | ( | ) |
Definition at line 929 of file accessibletableshape.cxx.
References sdr::table::SdrTableObj::getActiveCell(), sdr::table::SdrTableObj::getActiveCellPos(), getTableController(), sdr::table::SvxTableController::GetTableObj(), sdr::table::CellPos::mnCol, sdr::table::CellPos::mnRow, and mxImpl.
Referenced by ResetState(), and SetState().
void accessibility::AccessibleTableShape::getColumnAndRow | ( | sal_Int64 | nChildIndex, |
sal_Int32 & | rnColumn, | ||
sal_Int32 & | rnRow | ||
) |
css::lang::IndexOutOfBoundsException |
Definition at line 886 of file accessibletableshape.cxx.
References mxImpl.
Referenced by accessibility::AccessibleCell::getAccessibleName().
|
overridevirtual |
Definition at line 394 of file accessibletableshape.cxx.
|
private |
Definition at line 863 of file accessibletableshape.cxx.
References getAccessibleChildCount(), isAccessibleChildSelected(), and n.
Referenced by getSelectedAccessibleChild().
|
overridevirtual |
Definition at line 778 of file accessibletableshape.cxx.
References getAccessibleChild(), getAccessibleChildCount(), and GetIndexOfSelectedChild().
|
overridevirtual |
Definition at line 759 of file accessibletableshape.cxx.
References sdr::table::SvxTableController::getSelectedCells(), getTableController(), sdr::table::SvxTableController::hasSelectedCells(), sdr::table::CellPos::mnCol, and sdr::table::CellPos::mnRow.
Referenced by selectionChanged().
|
overridevirtual |
Definition at line 563 of file accessibletableshape.cxx.
References getAccessibleColumnCount(), i, isAccessibleColumnSelected(), nCount, and nPos.
|
overridevirtual |
Definition at line 527 of file accessibletableshape.cxx.
References getAccessibleRowCount(), i, isAccessibleRowSelected(), nCount, and nPos.
|
private |
Definition at line 352 of file accessibletableshape.cxx.
References SdrObjEditView::getSelectionController().
Referenced by clearAccessibleSelection(), deselectAccessibleChild(), getAccessibleColumnHeaders(), getAccessibleRowHeaders(), GetActiveAccessibleCell(), getSelectedAccessibleChildCount(), isAccessibleColumnSelected(), isAccessibleRowSelected(), isAccessibleSelected(), selectAccessibleChild(), selectAllAccessibleChildren(), selectColumn(), selectRow(), unselectColumn(), and unselectRow().
|
overridevirtual |
Definition at line 334 of file accessibletableshape.cxx.
References Exception, mxImpl, mxShape, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 724 of file accessibletableshape.cxx.
References getAccessibleChildCount(), isAccessibleSelected(), sdr::table::CellPos::mnCol, sdr::table::CellPos::mnRow, and mxImpl.
Referenced by GetIndexOfSelectedChild(), and selectionChanged().
|
overridevirtual |
Definition at line 612 of file accessibletableshape.cxx.
References checkCellPosition(), getTableController(), and sdr::table::SvxTableController::isColumnSelected().
Referenced by getSelectedAccessibleColumns().
|
overridevirtual |
Definition at line 599 of file accessibletableshape.cxx.
References checkCellPosition(), getTableController(), and sdr::table::SvxTableController::isRowSelected().
Referenced by getSelectedAccessibleRows().
|
overridevirtual |
Definition at line 652 of file accessibletableshape.cxx.
References checkCellPosition(), sdr::table::SvxTableController::getSelectedCells(), getTableController(), sdr::table::SvxTableController::hasSelectedCells(), sdr::table::CellPos::mnCol, and sdr::table::CellPos::mnRow.
Referenced by isAccessibleChildSelected().
|
delete |
|
overridevirtual |
Definition at line 365 of file accessibletableshape.cxx.
References Any.
|
overridevirtualnoexcept |
Definition at line 385 of file accessibletableshape.cxx.
|
overridevirtual |
Definition at line 971 of file accessibletableshape.cxx.
References GetActiveAccessibleCell(), accessibility::AccessibleShape::ResetState(), and accessibility::AccessibleCell::ResetState().
bool accessibility::AccessibleTableShape::ResetStateDirectly | ( | sal_Int64 | aState | ) |
Definition at line 988 of file accessibletableshape.cxx.
References accessibility::AccessibleContextBase::ResetState().
Referenced by accessibility::AccessibleTextHelper_Impl::SetShapeFocus().
|
overridevirtual |
Definition at line 699 of file accessibletableshape.cxx.
References sdr::table::SvxTableController::getSelectedCells(), getTableController(), sdr::table::SvxTableController::hasSelectedCells(), sdr::table::CellPos::mnCol, sdr::table::CellPos::mnRow, mxImpl, and sdr::table::SvxTableController::setSelectedCells().
|
overridevirtual |
Definition at line 748 of file accessibletableshape.cxx.
References getTableController(), and sdr::table::SvxTableController::selectAll().
|
overridevirtual |
Definition at line 836 of file accessibletableshape.cxx.
References getTableController(), and sdr::table::SvxTableController::selectColumn().
|
overridevirtual |
Definition at line 897 of file accessibletableshape.cxx.
References Any, getSelectedAccessibleChildCount(), isAccessibleChildSelected(), mnPreviousSelectionCount, mxImpl, nCount, and nIndex.
|
overridevirtual |
Definition at line 827 of file accessibletableshape.cxx.
References getTableController(), and sdr::table::SvxTableController::selectRow().
|
overridevirtual |
Definition at line 958 of file accessibletableshape.cxx.
References GetActiveAccessibleCell(), accessibility::AccessibleShape::SetState(), and accessibility::AccessibleCell::SetState().
bool accessibility::AccessibleTableShape::SetStateDirectly | ( | sal_Int64 | aState | ) |
Definition at line 983 of file accessibletableshape.cxx.
References accessibility::AccessibleContextBase::SetState().
Referenced by accessibility::AccessibleTextHelper_Impl::SetShapeFocus().
|
overridevirtual |
Definition at line 854 of file accessibletableshape.cxx.
References sdr::table::SvxTableController::deselectColumn(), and getTableController().
|
overridevirtual |
Definition at line 845 of file accessibletableshape.cxx.
References sdr::table::SvxTableController::deselectRow(), and getTableController().
|
friend |
Definition at line 112 of file AccessibleTableShape.hxx.
Referenced by getAccessibleColumnHeaders(), and getAccessibleRowHeaders().
|
private |
Definition at line 46 of file AccessibleTableShape.hxx.
Referenced by selectionChanged().
|
private |
Definition at line 133 of file AccessibleTableShape.hxx.
Referenced by checkCellPosition(), deselectAccessibleChild(), disposing(), getAccessibleCellAt(), getAccessibleChild(), getAccessibleChildCount(), getAccessibleColumn(), getAccessibleColumnCount(), getAccessibleColumnExtentAt(), getAccessibleIndex(), getAccessibleRow(), getAccessibleRowCount(), getAccessibleRowExtentAt(), GetActiveAccessibleCell(), getColumnAndRow(), Init(), isAccessibleChildSelected(), selectAccessibleChild(), and selectionChanged().