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 () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
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 ()
 

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 50 of file AccessibleTableShape.hxx.

Constructor & Destructor Documentation

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

Definition at line 319 of file accessibletableshape.cxx.

accessibility::AccessibleTableShape::~AccessibleTableShape ( )
overridevirtual

Definition at line 327 of file accessibletableshape.cxx.

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

Member Function Documentation

void SAL_CALL accessibility::AccessibleTableShape::acquire ( )
throw (
)
overridevirtual

Definition at line 377 of file accessibletableshape.cxx.

void accessibility::AccessibleTableShape::checkCellPosition ( sal_Int32  nCol,
sal_Int32  nRow 
)
private
void SAL_CALL accessibility::AccessibleTableShape::clearAccessibleSelection ( )
overridevirtual
OUString accessibility::AccessibleTableShape::CreateAccessibleBaseName ( )
overrideprivatevirtual

Definition at line 398 of file accessibletableshape.cxx.

void SAL_CALL accessibility::AccessibleTableShape::deselectAccessibleChild ( sal_Int32  nChildIndex)
overridevirtual
void SAL_CALL accessibility::AccessibleTableShape::disposing ( )
overridevirtual
virtual void SAL_CALL accessibility::AccessibleTableShape::disposing ( const css::lang::EventObject &  Source)
overridevirtual
Reference< XAccessible > SAL_CALL accessibility::AccessibleTableShape::getAccessibleCaption ( )
overridevirtual

Definition at line 638 of file accessibletableshape.cxx.

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

Definition at line 625 of file accessibletableshape.cxx.

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

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

Definition at line 411 of file accessibletableshape.cxx.

References mxImpl.

Referenced by getAccessibleCellAt(), and getSelectedAccessibleChild().

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

Definition at line 404 of file accessibletableshape.cxx.

References mxImpl.

Referenced by GetIndexOfSelectedChild(), and getSelectedAccessibleChild().

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

Definition at line 687 of file accessibletableshape.cxx.

References mxImpl.

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

Definition at line 445 of file accessibletableshape.cxx.

References mxImpl.

Referenced by getSelectedAccessibleColumns().

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

Definition at line 459 of file accessibletableshape.cxx.

References checkCellPosition().

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

Definition at line 481 of file accessibletableshape.cxx.

References checkCellPosition(), and mxImpl.

Reference< XAccessibleTable > SAL_CALL accessibility::AccessibleTableShape::getAccessibleColumnHeaders ( )
overridevirtual
sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getAccessibleIndex ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overridevirtual

Definition at line 670 of file accessibletableshape.cxx.

References checkCellPosition(), and mxImpl.

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

Definition at line 420 of file accessibletableshape.cxx.

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

Definition at line 678 of file accessibletableshape.cxx.

References mxImpl.

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

Definition at line 438 of file accessibletableshape.cxx.

References mxImpl.

Referenced by getSelectedAccessibleRows().

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

Definition at line 452 of file accessibletableshape.cxx.

References checkCellPosition().

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

Definition at line 467 of file accessibletableshape.cxx.

References checkCellPosition(), and mxImpl.

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

Definition at line 645 of file accessibletableshape.cxx.

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

Definition at line 882 of file accessibletableshape.cxx.

References mxImpl.

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

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

Definition at line 392 of file accessibletableshape.cxx.

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

Definition at line 859 of file accessibletableshape.cxx.

References getAccessibleChildCount().

Referenced by getSelectedAccessibleChild().

Reference< XAccessible > SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleChild ( sal_Int32  nSelectedChildIndex)
overridevirtual
sal_Int32 SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleChildCount ( )
overridevirtual
Sequence< sal_Int32 > SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleColumns ( )
overridevirtual
Sequence< sal_Int32 > SAL_CALL accessibility::AccessibleTableShape::getSelectedAccessibleRows ( )
overridevirtual

Definition at line 527 of file accessibletableshape.cxx.

References getAccessibleRowCount(), i, isAccessibleRowSelected(), and nPos.

SvxTableController * accessibility::AccessibleTableShape::getTableController ( )
private
void accessibility::AccessibleTableShape::Init ( void  )
overridevirtual

Definition at line 332 of file accessibletableshape.cxx.

References Exception, mxImpl, and mxShape.

sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleChildSelected ( sal_Int32  nChildIndex)
overridevirtual
sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleColumnSelected ( sal_Int32  nColumn)
overridevirtual
sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleRowSelected ( sal_Int32  nRow)
overridevirtual
sal_Bool SAL_CALL accessibility::AccessibleTableShape::isAccessibleSelected ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overridevirtual
AccessibleTableShape& accessibility::AccessibleTableShape::operator= ( const AccessibleTableShape )
delete
Any SAL_CALL accessibility::AccessibleTableShape::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Definition at line 363 of file accessibletableshape.cxx.

References Any.

void SAL_CALL accessibility::AccessibleTableShape::release ( )
throw (
)
overridevirtual

Definition at line 383 of file accessibletableshape.cxx.

bool accessibility::AccessibleTableShape::ResetState ( sal_Int16  aState)
overridevirtual
bool accessibility::AccessibleTableShape::ResetStateDirectly ( sal_Int16  aState)
void SAL_CALL accessibility::AccessibleTableShape::selectAccessibleChild ( sal_Int32  nChildIndex)
overridevirtual
void SAL_CALL accessibility::AccessibleTableShape::selectAllAccessibleChildren ( )
overridevirtual
sal_Bool SAL_CALL accessibility::AccessibleTableShape::selectColumn ( sal_Int32  column)
overridevirtual
void SAL_CALL accessibility::AccessibleTableShape::selectionChanged ( const css::lang::EventObject &  rEvent)
overridevirtual
sal_Bool SAL_CALL accessibility::AccessibleTableShape::selectRow ( sal_Int32  row)
overridevirtual
bool accessibility::AccessibleTableShape::SetState ( sal_Int16  aState)
overridevirtual
bool accessibility::AccessibleTableShape::SetStateDirectly ( sal_Int16  aState)
sal_Bool SAL_CALL accessibility::AccessibleTableShape::unselectColumn ( sal_Int32  column)
overridevirtual
sal_Bool SAL_CALL accessibility::AccessibleTableShape::unselectRow ( sal_Int32  row)
overridevirtual

Friends And Related Function Documentation

friend class AccessibleTableHeaderShape
friend

Member Data Documentation

sal_Int32 accessibility::AccessibleTableShape::mnPreviousSelectionCount
private

Definition at line 52 of file AccessibleTableShape.hxx.

Referenced by selectionChanged().

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

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