LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
accessibility::AccessibleTableShape Class Referencefinal

#include <AccessibleTableShape.hxx>

Inheritance diagram for accessibility::AccessibleTableShape:
[legend]
Collaboration diagram for accessibility::AccessibleTableShape:
[legend]

Public Member Functions

 AccessibleTableShape (const AccessibleShapeInfo &rShapeInfo, const AccessibleShapeTreeInfo &rShapeTreeInfo)
 
virtual ~AccessibleTableShape () override
 
 AccessibleTableShape (const AccessibleTableShape &)=delete
 
AccessibleTableShapeoperator= (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_Int32 SAL_CALL getAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int32 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_Int32 SAL_CALL getAccessibleIndex (sal_Int32 nRow, sal_Int32 nColumn) override
 
virtual sal_Int32 SAL_CALL getAccessibleRow (sal_Int32 nChildIndex) override
 
virtual sal_Int32 SAL_CALL getAccessibleColumn (sal_Int32 nChildIndex) override
 
virtual void SAL_CALL selectAccessibleChild (sal_Int32 nChildIndex) override
 
virtual sal_Bool SAL_CALL isAccessibleChildSelected (sal_Int32 nChildIndex) override
 
virtual void SAL_CALL clearAccessibleSelection () override
 
virtual void SAL_CALL selectAllAccessibleChildren () override
 
virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild (sal_Int32 nSelectedChildIndex) override
 
virtual void SAL_CALL deselectAccessibleChild (sal_Int32 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_Int32 nChildIndex, sal_Int32 &rnColumn, sal_Int32 &rnRow)
 
virtual bool SetState (sal_Int16 aState) override
 
virtual bool ResetState (sal_Int16 aState) override
 
bool SetStateDirectly (sal_Int16 aState)
 
bool ResetStateDirectly (sal_Int16 aState)
 
AccessibleCellGetActiveAccessibleCell ()
 
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::SvxTableControllergetTableController ()
 
void checkCellPosition (sal_Int32 nCol, sal_Int32 nRow)
 
sal_Int32 GetIndexOfSelectedChild (sal_Int32 nSelectedChildIndex) const
 

Private Attributes

sal_Int32 mnPreviousSelectionCount
 
rtl::Reference< AccessibleTableShapeImplmxImpl
 

Friends

class AccessibleTableHeaderShape
 

Detailed Description

Definition at line 44 of file AccessibleTableShape.hxx.

Constructor & Destructor Documentation

◆ AccessibleTableShape() [1/2]

accessibility::AccessibleTableShape::AccessibleTableShape ( const AccessibleShapeInfo rShapeInfo,
const AccessibleShapeTreeInfo rShapeTreeInfo 
)

Definition at line 324 of file accessibletableshape.cxx.

◆ ~AccessibleTableShape()

accessibility::AccessibleTableShape::~AccessibleTableShape ( )
overridevirtual

Definition at line 332 of file accessibletableshape.cxx.

◆ AccessibleTableShape() [2/2]

accessibility::AccessibleTableShape::AccessibleTableShape ( const AccessibleTableShape )
delete

Member Function Documentation

◆ acquire()

void SAL_CALL accessibility::AccessibleTableShape::acquire ( )
overridevirtualnoexcept

Definition at line 382 of file accessibletableshape.cxx.

◆ checkCellPosition()

void accessibility::AccessibleTableShape::checkCellPosition ( sal_Int32  nCol,
sal_Int32  nRow 
)
private

◆ clearAccessibleSelection()

void SAL_CALL accessibility::AccessibleTableShape::clearAccessibleSelection ( )
overridevirtual

◆ CreateAccessibleBaseName()

OUString accessibility::AccessibleTableShape::CreateAccessibleBaseName ( )
overrideprivatevirtual

Definition at line 403 of file accessibletableshape.cxx.

◆ deselectAccessibleChild()

void SAL_CALL accessibility::AccessibleTableShape::deselectAccessibleChild ( sal_Int32  nChildIndex)
overridevirtual

◆ disposing() [1/4]

void SAL_CALL accessibility::AccessibleTableShape::disposing ( )
overridevirtual

◆ disposing() [2/4]

void accessibility::AccessibleShape::disposing ( )
override

This method is called from the component helper base class while disposing.

Definition at line 398 of file AccessibleShape.cxx.

References utl::AccessibleStateSetHelper::AddState(), accessibility::AccessibleShape::mpText, and utl::AccessibleStateSetHelper::RemoveState().

◆ disposing() [3/4]

void accessibility::AccessibleShape::disposing ( const css::lang::EventObject &  Source)

Listen for disposing events of the model.

The accessible shape remains functional when this happens.

◆ disposing() [4/4]

virtual void SAL_CALL accessibility::AccessibleTableShape::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ getAccessibleCaption()

Reference< XAccessible > SAL_CALL accessibility::AccessibleTableShape::getAccessibleCaption ( )
overridevirtual

Definition at line 641 of file accessibletableshape.cxx.

◆ getAccessibleCellAt()

Reference< XAccessible > SAL_CALL accessibility::AccessibleTableShape::getAccessibleCellAt ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overridevirtual

Definition at line 628 of file accessibletableshape.cxx.

References checkCellPosition(), getAccessibleChild(), and mxImpl.

◆ getAccessibleChild()

Reference< XAccessible > SAL_CALL accessibility::AccessibleTableShape::getAccessibleChild ( sal_Int32  i)
overridevirtual

Definition at line 416 of file accessibletableshape.cxx.

References i, and mxImpl.

Referenced by getAccessibleCellAt(), and getSelectedAccessibleChild().

◆ getAccessibleChildCount()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleChildCount ( )
overridevirtual

Definition at line 409 of file accessibletableshape.cxx.

References mxImpl.

Referenced by GetIndexOfSelectedChild(), and getSelectedAccessibleChild().

◆ getAccessibleColumn()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleColumn ( sal_Int32  nChildIndex)
overridevirtual

Definition at line 690 of file accessibletableshape.cxx.

References mxImpl.

◆ getAccessibleColumnCount()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleColumnCount ( )
overridevirtual

Definition at line 450 of file accessibletableshape.cxx.

References mxImpl.

Referenced by getSelectedAccessibleColumns().

◆ getAccessibleColumnDescription()

OUString SAL_CALL accessibility::AccessibleTableShape::getAccessibleColumnDescription ( sal_Int32  nColumn)
overridevirtual

Definition at line 464 of file accessibletableshape.cxx.

References checkCellPosition().

◆ getAccessibleColumnExtentAt()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleColumnExtentAt ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overridevirtual

Definition at line 486 of file accessibletableshape.cxx.

References checkCellPosition(), and mxImpl.

◆ getAccessibleColumnHeaders()

Reference< XAccessibleTable > SAL_CALL accessibility::AccessibleTableShape::getAccessibleColumnHeaders ( )
overridevirtual

◆ getAccessibleIndex()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleIndex ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overridevirtual

Definition at line 673 of file accessibletableshape.cxx.

References checkCellPosition(), and mxImpl.

◆ getAccessibleRole()

sal_Int16 SAL_CALL accessibility::AccessibleTableShape::getAccessibleRole ( )
overridevirtual

Definition at line 425 of file accessibletableshape.cxx.

◆ getAccessibleRow()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleRow ( sal_Int32  nChildIndex)
overridevirtual

Definition at line 681 of file accessibletableshape.cxx.

References mxImpl.

◆ getAccessibleRowCount()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleRowCount ( )
overridevirtual

Definition at line 443 of file accessibletableshape.cxx.

References mxImpl.

Referenced by getSelectedAccessibleRows().

◆ getAccessibleRowDescription()

OUString SAL_CALL accessibility::AccessibleTableShape::getAccessibleRowDescription ( sal_Int32  nRow)
overridevirtual

Definition at line 457 of file accessibletableshape.cxx.

References checkCellPosition().

◆ getAccessibleRowExtentAt()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleRowExtentAt ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overridevirtual

Definition at line 472 of file accessibletableshape.cxx.

References checkCellPosition(), and mxImpl.

◆ getAccessibleRowHeaders()

Reference< XAccessibleTable > SAL_CALL accessibility::AccessibleTableShape::getAccessibleRowHeaders ( )
overridevirtual

◆ getAccessibleSummary()

Reference< XAccessible > SAL_CALL accessibility::AccessibleTableShape::getAccessibleSummary ( )
overridevirtual

Definition at line 648 of file accessibletableshape.cxx.

◆ GetActiveAccessibleCell()

AccessibleCell * accessibility::AccessibleTableShape::GetActiveAccessibleCell ( )

◆ getColumnAndRow()

void accessibility::AccessibleTableShape::getColumnAndRow ( sal_Int32  nChildIndex,
sal_Int32 &  rnColumn,
sal_Int32 &  rnRow 
)
Exceptions
css::lang::IndexOutOfBoundsException

Definition at line 885 of file accessibletableshape.cxx.

References mxImpl.

Referenced by accessibility::AccessibleCell::getAccessibleName().

◆ getImplementationName()

OUString SAL_CALL accessibility::AccessibleTableShape::getImplementationName ( )
overridevirtual

Definition at line 397 of file accessibletableshape.cxx.

◆ GetIndexOfSelectedChild()

sal_Int32 accessibility::AccessibleTableShape::GetIndexOfSelectedChild ( sal_Int32  nSelectedChildIndex) const
private

◆ getSelectedAccessibleChild()

Reference< XAccessible > SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleChild ( sal_Int32  nSelectedChildIndex)
overridevirtual

◆ getSelectedAccessibleChildCount()

sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleChildCount ( )
overridevirtual

◆ getSelectedAccessibleColumns()

Sequence< sal_Int32 > SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleColumns ( )
overridevirtual

◆ getSelectedAccessibleRows()

Sequence< sal_Int32 > SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleRows ( )
overridevirtual

◆ getTableController()

SvxTableController * accessibility::AccessibleTableShape::getTableController ( )
private

◆ Init()

void accessibility::AccessibleTableShape::Init ( void  )
overridevirtual

Definition at line 337 of file accessibletableshape.cxx.

References Exception, mxImpl, mxShape, and TOOLS_WARN_EXCEPTION.

◆ isAccessibleChildSelected()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleChildSelected ( sal_Int32  nChildIndex)
overridevirtual

◆ isAccessibleColumnSelected()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleColumnSelected ( sal_Int32  nColumn)
overridevirtual

◆ isAccessibleRowSelected()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleRowSelected ( sal_Int32  nRow)
overridevirtual

◆ isAccessibleSelected()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleSelected ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overridevirtual

◆ operator=()

AccessibleTableShape & accessibility::AccessibleTableShape::operator= ( const AccessibleTableShape )
delete

◆ queryInterface()

Any SAL_CALL accessibility::AccessibleTableShape::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Definition at line 368 of file accessibletableshape.cxx.

References Any.

◆ release()

void SAL_CALL accessibility::AccessibleTableShape::release ( )
overridevirtualnoexcept

Definition at line 388 of file accessibletableshape.cxx.

◆ ResetState()

bool accessibility::AccessibleTableShape::ResetState ( sal_Int16  aState)
overridevirtual

◆ ResetStateDirectly()

bool accessibility::AccessibleTableShape::ResetStateDirectly ( sal_Int16  aState)

◆ selectAccessibleChild()

void SAL_CALL accessibility::AccessibleTableShape::selectAccessibleChild ( sal_Int32  nChildIndex)
overridevirtual

◆ selectAllAccessibleChildren()

void SAL_CALL accessibility::AccessibleTableShape::selectAllAccessibleChildren ( )
overridevirtual

◆ selectColumn()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::selectColumn ( sal_Int32  column)
overridevirtual

◆ selectionChanged()

void SAL_CALL accessibility::AccessibleTableShape::selectionChanged ( const css::lang::EventObject &  rEvent)
overridevirtual

◆ selectRow()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::selectRow ( sal_Int32  row)
overridevirtual

◆ SetState()

bool accessibility::AccessibleTableShape::SetState ( sal_Int16  aState)
overridevirtual

◆ SetStateDirectly()

bool accessibility::AccessibleTableShape::SetStateDirectly ( sal_Int16  aState)

◆ unselectColumn()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::unselectColumn ( sal_Int32  column)
overridevirtual

◆ unselectRow()

sal_Bool SAL_CALL accessibility::AccessibleTableShape::unselectRow ( sal_Int32  row)
overridevirtual

Friends And Related Function Documentation

◆ AccessibleTableHeaderShape

friend class AccessibleTableHeaderShape
friend

Member Data Documentation

◆ mnPreviousSelectionCount

sal_Int32 accessibility::AccessibleTableShape::mnPreviousSelectionCount
private

Definition at line 46 of file AccessibleTableShape.hxx.

Referenced by selectionChanged().

◆ mxImpl

rtl::Reference< AccessibleTableShapeImpl > accessibility::AccessibleTableShape::mxImpl
private

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