LibreOffice Module winaccessibility (master) 1
|
CAccTable implements the IAccessibleTable and IAccessibleTable2 interfaces. More...
#include <AccTable.h>
Public Member Functions | |
CAccTable () | |
virtual | ~CAccTable () |
HRESULT | SmartQI (REFIID iid, void **ppvObject) |
STDMETHOD() | get_accessibleAt (long row, long column, IUnknown **accessible) override |
Gets accessible table cell. More... | |
STDMETHOD() | get_cellAt (long row, long column, IUnknown **cell) override |
STDMETHOD() | get_caption (IUnknown **accessible) override |
Gets accessible table caption. More... | |
STDMETHOD() | get_columnDescription (long column, BSTR *description) override |
Gets accessible column description (as string). More... | |
STDMETHOD() | get_columnExtentAt (long row, long column, long *nColumnsSpanned) override |
Gets number of columns spanned by table cell. More... | |
STDMETHOD() | get_columnHeader (IAccessibleTable __RPC_FAR *__RPC_FAR *accessibleTable, long *startingRowIndex) override |
Gets accessible column header. More... | |
STDMETHOD() | get_nColumns (long *columnCount) override |
Gets total number of columns in table. More... | |
STDMETHOD() | get_nRows (long *rowCount) override |
Gets total number of rows in table. More... | |
STDMETHOD() | get_nSelectedColumns (long *columnCount) override |
Gets total number of selected columns. More... | |
STDMETHOD() | get_nSelectedRows (long *rowCount) override |
Gets total number of selected rows. More... | |
STDMETHOD() | get_rowDescription (long row, BSTR *description) override |
Gets accessible row description (as string). More... | |
STDMETHOD() | get_rowExtentAt (long row, long column, long *nRowsSpanned) override |
Gets number of rows spanned by a table cell. More... | |
STDMETHOD() | get_rowHeader (IAccessibleTable __RPC_FAR *__RPC_FAR *accessibleTable, long *startingColumnIndex) override |
Gets accessible row header. More... | |
STDMETHOD() | get_selectedRows (long **rows, long *nRows) override |
Gets list of row indexes currently selected (0-based). More... | |
STDMETHOD() | get_selectedRows (long maxRows, long **rows, long *nRows) override |
Gets list of row indexes currently selected (0-based). More... | |
STDMETHOD() | get_selectedColumns (long **columns, long *numColumns) override |
Gets list of column indexes currently selected (0-based). More... | |
STDMETHOD() | get_selectedColumns (long maxColumns, long **columns, long *numColumns) override |
Gets list of column indexes currently selected (0-based). More... | |
STDMETHOD() | get_summary (IUnknown **accessible) override |
Gets accessible table summary. More... | |
STDMETHOD() | get_isColumnSelected (long column, boolean *isSelected) override |
Determines if table column is selected. More... | |
STDMETHOD() | get_isRowSelected (long row, boolean *isSelected) override |
Determines if table row is selected. More... | |
STDMETHOD() | get_isSelected (long row, long column, boolean *isSelected) override |
Determines if table cell is selected. More... | |
STDMETHOD() | selectRow (long row) override |
Selects a row and unselect all previously selected rows. More... | |
STDMETHOD() | selectColumn (long column) override |
Selects a column and unselect all previously selected columns. More... | |
STDMETHOD() | unselectRow (long row) override |
Unselects one row, leaving other selected rows selected (if any). More... | |
STDMETHOD() | unselectColumn (long column) override |
Unselects one column, leaving other selected columns selected (if any). More... | |
STDMETHOD() | get_columnIndex (long childIndex, long *columnIndex) override |
Gets columnIndex of childIndex. More... | |
STDMETHOD() | get_rowIndex (long childIndex, long *rowIndex) override |
Gets rowIndex of childIndex. More... | |
STDMETHOD() | get_childIndex (long rowIndex, long columnIndex, long *childIndex) override |
Gets childIndex of childIndex. More... | |
STDMETHOD() | get_nSelectedChildren (long *childCount) override |
STDMETHOD() | get_nSelectedCells (long *childCount) override |
STDMETHOD() | get_selectedChildren (long maxChildren, long **children, long *nChildren) override |
STDMETHOD() | get_selectedCells (IUnknown ***cells, long *nSelectedCells) override |
Returns a list of accessibles currently selected. More... | |
STDMETHOD() | get_rowColumnExtentsAtIndex (long index, long *row, long *column, long *rowExtents, long *columnExtents, boolean *isSelected) override |
STDMETHOD() | get_modelChange (IA2TableModelChange *modelChange) override |
STDMETHOD() | put_XInterface (hyper pXInterface) override |
Override of IUNOXWrapper. More... | |
HRESULT | selectRow ([in] long row) |
Selects a row and unselects all previously selected rows. More... | |
HRESULT | selectColumn ([in] long column) |
Selects a column and unselects all previously selected columns. More... | |
HRESULT | unselectRow ([in] long row) |
Unselects one row, leaving other selected rows selected (if any). More... | |
HRESULT | unselectColumn ([in] long column) |
Unselects one column, leaving other selected columns selected (if any). More... | |
HRESULT | selectRow ([in] long row) |
Selects a row and unselects all previously selected rows. More... | |
HRESULT | selectColumn ([in] long column) |
Selects a column and unselects all previously selected columns. More... | |
HRESULT | unselectRow ([in] long row) |
Unselects one row, leaving other selected rows selected (if any). More... | |
HRESULT | unselectColumn ([in] long column) |
Unselects one column, leaving other selected columns selected (if any). More... | |
Public Member Functions inherited from CUNOXWrapper | |
CUNOXWrapper () | |
STDMETHOD() | put_XInterface (hyper pXInterface) override |
STDMETHOD() | put_XSubInterface (hyper) override |
HRESULT | put_XInterface (hyper pXInterface) |
HRESULT | put_XSubInterface (hyper pXSubInterface) |
Static Public Member Functions | |
static HRESULT WINAPI | SmartQI_ (void *pv, REFIID iid, void **ppvObject, DWORD_PTR) |
Private Attributes | |
css::uno::Reference< css::accessibility::XAccessibleTable > | pRXTable |
Additional Inherited Members | |
Protected Member Functions inherited from CUNOXWrapper | |
~CUNOXWrapper () | |
Protected Attributes inherited from CUNOXWrapper | |
css::accessibility::XAccessible * | pUNOInterface |
Properties inherited from IAccessibleTable | |
IUnknown | accessibleAt ([in] long row,[in] long column) [get] |
Returns the accessible object at the specified row and column in the table. More... | |
IUnknown | caption [get] |
Returns the caption for the table. More... | |
long | childIndex ([in] long rowIndex,[in] long columnIndex) [get] |
Translates the given row and column indexes into the corresponding cell index. More... | |
BSTR | columnDescription ([in] long column) [get] |
Returns the description text of the specified column in the table. More... | |
long | columnExtentAt ([in] long row,[in] long column) [get] |
Returns the number of columns occupied by the accessible object at the specified row and column in the table. More... | |
long | columnHeader ([out] IAccessibleTable accessibleTable) [get] |
Returns the column headers as an IAccessibleTable object. More... | |
long | columnIndex ([in] long cellIndex) [get] |
Translates the given cell index into the corresponding column index. More... | |
long | nColumns [get] |
Returns the total number of columns in table. More... | |
long | nRows [get] |
Returns the total number of rows in table. More... | |
long | nSelectedChildren [get] |
Returns the total number of selected cells. More... | |
long | nSelectedColumns [get] |
Returns the total number of selected columns. More... | |
long | nSelectedRows [get] |
Returns the total number of selected rows. More... | |
BSTR | rowDescription ([in] long row) [get] |
Returns the description text of the specified row in the table. More... | |
long | rowExtentAt ([in] long row,[in] long column) [get] |
Returns the number of rows occupied by the accessible object at the specified row and column in the table. More... | |
long | rowHeader ([out] IAccessibleTable accessibleTable) [get] |
Returns the row headers as an IAccessibleTable object. More... | |
long | rowIndex ([in] long cellIndex) [get] |
Translates the given cell index into a row index. More... | |
long | selectedChildren ([in] long maxChildren,[out, size_is(, maxChildren), length_is(, *nChildren)] long children) [get] |
Returns a list of cell indexes currently selected (0 based). More... | |
long | selectedColumns ([in] long maxColumns,[out, size_is(, maxColumns), length_is(, *nColumns)] long columns) [get] |
Returns a list of column indexes currently selected (0 based). More... | |
long | selectedRows ([in] long maxRows,[out, size_is(, maxRows), length_is(, *nRows)] long rows) [get] |
Returns a list of row indexes currently selected (0 based). More... | |
IUnknown | summary [get] |
Returns the summary description of the table. More... | |
boolean | isColumnSelected ([in] long column) [get] |
Returns a boolean value indicating whether the specified column is completely selected. More... | |
boolean | isRowSelected ([in] long row) [get] |
Returns a boolean value indicating whether the specified row is completely selected. More... | |
boolean | isSelected ([in] long row,[in] long column) [get] |
Returns a boolean value indicating whether the specified cell is selected. More... | |
boolean | rowColumnExtentsAtIndex ([in] long index,[out] long row,[out] long column,[out] long rowExtents,[out] long columnExtents) [get] |
Given a cell index, gets the row and column indexes and extents of a cell and whether or not it is selected. More... | |
IA2TableModelChange | modelChange [get] |
Returns the type and extents describing how a table changed. More... | |
Properties inherited from IAccessibleTable2 | |
IUnknown | cellAt ([in] long row,[in] long column) [get] |
Returns the accessible object at the specified row and column in the table. More... | |
IUnknown | caption [get] |
Returns the caption for the table. More... | |
BSTR | columnDescription ([in] long column) [get] |
Returns the description text of the specified column in the table. More... | |
long | nColumns [get] |
Returns the total number of columns in table. More... | |
long | nRows [get] |
Returns the total number of rows in table. More... | |
long | nSelectedCells [get] |
Returns the total number of selected cells. More... | |
long | nSelectedColumns [get] |
Returns the total number of selected columns. More... | |
long | nSelectedRows [get] |
Returns the total number of selected rows. More... | |
BSTR | rowDescription ([in] long row) [get] |
Returns the description text of the specified row in the table. More... | |
long | selectedCells ([out, size_is(, *nSelectedCells)] IUnknown cells) [get] |
Returns a list of accessibles currently selected. More... | |
long | selectedColumns ([out, size_is(, *nColumns)] long selectedColumns) [get] |
Returns a list of column indexes currently selected (0 based). More... | |
long | selectedRows ([out, size_is(, *nRows)] long selectedRows) [get] |
Returns a list of row indexes currently selected (0 based). More... | |
IUnknown | summary [get] |
Returns the summary description of the table. More... | |
boolean | isColumnSelected ([in] long column) [get] |
Returns a boolean value indicating whether the specified column is completely selected. More... | |
boolean | isRowSelected ([in] long row) [get] |
Returns a boolean value indicating whether the specified row is completely selected. More... | |
IA2TableModelChange | modelChange [get] |
Returns the type and extents describing how a table changed. More... | |
CAccTable implements the IAccessibleTable and IAccessibleTable2 interfaces.
Definition at line 31 of file AccTable.h.
|
inline |
Definition at line 40 of file AccTable.h.
|
inlinevirtual |
Definition at line 43 of file AccTable.h.
|
override |
Gets accessible table cell.
row | the row of the specified cell. |
column | the column of the specified cell. |
accessible | the accessible object of the cell. |
Definition at line 46 of file AccTable.cxx.
References CMAccessible::g_pAgent, CMAccessible::get_IAccessibleFromXAccessible(), AccObjectManagerAgent::InsertAccObj(), and pRXTable.
Referenced by get_cellAt().
|
override |
Gets accessible table caption.
accessible | the accessible object of table caption. |
Definition at line 105 of file AccTable.cxx.
|
override |
Definition at line 95 of file AccTable.cxx.
References get_accessibleAt().
|
override |
Gets childIndex of childIndex.
childIndex | childIndex |
Definition at line 913 of file AccTable.cxx.
References IAccessibleTable::childIndex, IAccessibleTable::columnIndex, nIndex, pRXTable, and SAL_WARN.
|
override |
Gets accessible column description (as string).
column | the column index. |
description | the description of the specified column. |
Definition at line 116 of file AccTable.cxx.
References pRXTable.
|
override |
Gets number of columns spanned by table cell.
row | the row of the specified cell. |
column | the column of the specified cell. |
spanColumns | the column span of the specified cell. |
Definition at line 149 of file AccTable.cxx.
References pRXTable.
|
override |
Gets accessible column header.
column | the column index. |
accessible | the accessible object of the specified column. |
Definition at line 174 of file AccTable.cxx.
References hr, pRXTable, and IMAccessible::SetXAccessible().
|
override |
Gets columnIndex of childIndex.
childIndex | childIndex |
Definition at line 864 of file AccTable.cxx.
References IAccessibleTable::childIndex, IAccessibleTable::columnIndex, and pRXTable.
|
override |
Determines if table column is selected.
column | the column index. |
isSelected | the result. |
Definition at line 573 of file AccTable.cxx.
References IAccessibleTable::isSelected, and pRXTable.
|
override |
Determines if table row is selected.
row | the row index. |
isSelected | the result. |
Definition at line 599 of file AccTable.cxx.
References IAccessibleTable::isSelected, and pRXTable.
|
override |
Determines if table cell is selected.
row | the row index. |
column | the column index. |
isSelected | the result. |
Definition at line 626 of file AccTable.cxx.
References IAccessibleTable::isSelected, and pRXTable.
|
override |
Definition at line 953 of file AccTable.cxx.
|
override |
Gets total number of columns in table.
columnCount | the number of columns in table. |
Definition at line 224 of file AccTable.cxx.
References pRXTable.
|
override |
Gets total number of rows in table.
rowCount | the number of rows in table. |
Definition at line 249 of file AccTable.cxx.
References pRXTable.
|
override |
Definition at line 994 of file AccTable.cxx.
References get_nSelectedChildren().
|
override |
Definition at line 961 of file AccTable.cxx.
References pRXTable, and SAL_WARN.
Referenced by get_nSelectedCells().
|
override |
Gets total number of selected columns.
columnCount | the number of selected columns. |
Definition at line 274 of file AccTable.cxx.
References pRXTable.
|
override |
Gets total number of selected rows.
rowCount | the number of selected rows. |
Definition at line 300 of file AccTable.cxx.
References pRXTable.
|
override |
Definition at line 943 of file AccTable.cxx.
|
override |
Gets accessible row description (as string).
row | the row index. |
description | the description of the specified row. |
Definition at line 327 of file AccTable.cxx.
References pRXTable.
|
override |
Gets number of rows spanned by a table cell.
row | the row of the specified cell. |
column | the column of the specified cell. |
spanRows | the row span of the specified cell. |
Definition at line 360 of file AccTable.cxx.
References pRXTable.
|
override |
Gets accessible row header.
row | the row index. |
accessible | the accessible object of the row header. |
Definition at line 386 of file AccTable.cxx.
References hr, pRXTable, and IMAccessible::SetXAccessible().
|
override |
Gets rowIndex of childIndex.
childIndex | childIndex |
Definition at line 888 of file AccTable.cxx.
References IAccessibleTable::childIndex, pRXTable, and IAccessibleTable::rowIndex.
|
override |
Returns a list of accessibles currently selected.
cells | Pointer to an array of references to selected accessibles. The array is allocated by the server with CoTaskMemAlloc and freed by the client with CoTaskMemFree. |
nSelectedCells | The number of accessibles returned; the size of the returned array. |
Definition at line 1070 of file AccTable.cxx.
References CMAccessible::g_pAgent, CMAccessible::get_IAccessibleFromXAccessible(), i, AccObjectManagerAgent::InsertAccObj(), IAccessibleTable2::nSelectedCells, pRXTable, and SAL_WARN.
|
override |
Definition at line 1006 of file AccTable.cxx.
|
override |
Gets list of column indexes currently selected (0-based).
accessible | the accessible object array of the selected columns. |
numColumns | the actual size of accessible object array. |
Definition at line 487 of file AccTable.cxx.
References count, i, and pRXTable.
Referenced by get_selectedColumns().
|
override |
Gets list of column indexes currently selected (0-based).
maxColumns | This parameter is ignored |
accessible | the accessible object array of the selected columns. |
numColumns | the actual size of accessible object array. |
Definition at line 526 of file AccTable.cxx.
References get_selectedColumns().
|
override |
Gets list of row indexes currently selected (0-based).
accessible | the accessible object array of the selected rows. |
nRows | the actual size of the accessible object array. |
Definition at line 437 of file AccTable.cxx.
References count, i, IAccessibleTable::nRows, and pRXTable.
Referenced by get_selectedRows().
|
override |
Gets list of row indexes currently selected (0-based).
maxRows | This parameter is ignored. |
accessible | the accessible object array of the selected rows. |
nRows | the actual size of the accessible object array. |
Definition at line 476 of file AccTable.cxx.
References get_selectedRows(), and IAccessibleTable::nRows.
|
override |
Gets accessible table summary.
accessible | the accessible object of the summary. |
Definition at line 536 of file AccTable.cxx.
References CMAccessible::get_IAccessibleFromXAccessible(), and pRXTable.
|
override |
Override of IUNOXWrapper.
pXInterface | the pointer of UNO interface. |
Implements IUNOXWrapper.
Definition at line 833 of file AccTable.cxx.
References pRXTable, CUNOXWrapper::pUNOInterface, and CUNOXWrapper::put_XInterface().
|
override |
Selects a column and unselect all previously selected columns.
column | the column index. |
success | the result. |
Implements IAccessibleTable.
Definition at line 696 of file AccTable.cxx.
References pRXTable.
|
override |
Selects a row and unselect all previously selected rows.
row | the row index. |
success | the result. |
Implements IAccessibleTable.
Definition at line 652 of file AccTable.cxx.
References pRXTable.
|
inline |
Definition at line 67 of file AccTable.h.
|
inlinestatic |
Definition at line 61 of file AccTable.h.
|
override |
Unselects one column, leaving other selected columns selected (if any).
column | the column index. |
success | the result. |
Implements IAccessibleTable.
Definition at line 788 of file AccTable.cxx.
References pRXTable.
|
override |
Unselects one row, leaving other selected rows selected (if any).
row | the row index. |
success | the result. |
Implements IAccessibleTable.
Definition at line 741 of file AccTable.cxx.
References pRXTable.
|
private |
Definition at line 181 of file AccTable.h.
Referenced by get_accessibleAt(), get_childIndex(), get_columnDescription(), get_columnExtentAt(), get_columnHeader(), get_columnIndex(), get_isColumnSelected(), get_isRowSelected(), get_isSelected(), get_nColumns(), get_nRows(), get_nSelectedChildren(), get_nSelectedColumns(), get_nSelectedRows(), get_rowDescription(), get_rowExtentAt(), get_rowHeader(), get_rowIndex(), get_selectedCells(), get_selectedChildren(), get_selectedColumns(), get_selectedRows(), get_summary(), put_XInterface(), selectColumn(), selectRow(), unselectColumn(), and unselectRow().