/** @brief This interface gives access to a two-dimensional table. Typicallyallaccessibleobjectsthatrepresentcellsorcell-clustersofatable willbeatthesametimechildrenofthetable.InthiscaseIAccessible2::indexInParent willreturnthechildindexwhichthencanbeusedwhencallingIAccessibleTable::rowIndex andIAccessibleTable::columnIndex.
/** @brief Returns the accessible object at the specified row and column in thetable.ThisobjectcouldbeanIAccessibleoranIAccessible2. @param[in]row The0basedrowindexforwhichtoretrievethecell. @param[in]column The0basedcolumnindexforwhichtoretrievethecell. @param[out]accessible Ifbothrowandcolumnindexarevalidthenthecorrespondingaccessible objectisreturnedthatrepresentstherequestedcellregardlessofwhether thecelliscurrentlyvisible(onthescreen). @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueisNULL
*/
[propget] HRESULT accessibleAt
(
[in] long row,
[in] long column,
[out, retval] IUnknown **accessible
);
/** @brief Returns the caption for the table. The returned object could be anIAccessibleoranIAccessible2. @param[out]accessible Ifthetablehasacaptionthenareferencetoitisreturned,elseaNULL pointerisreturned. @retvalS_OK @retvalS_FALSEifthereisnothingtoreturn,[out]valueisNULL
*/
[propget] HRESULT caption
(
[out, retval] IUnknown **accessible
);
/** @brief Translates the given row and column indexes into the corresponding cell index. @param[in]rowIndex 0basedrowindexforthecell. @param[in]columnIndex 0basedcolumnindexforthecell. @param[out]cellIndex Returnsthe0basedindexofthecellatthespecifiedrowandcolumnindexes. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueis0 @noteThereturnedvalueisnotnecessarilyachildindexoftheimmediateparent. Incaseswherethetablecellsarenotdirectchildrenofthetabletheindex isactuallythecellindex,i.e.conceptuallyit'sanindexintoaonedimensional arrayofcellslaidoutinroworder.
*/
[propget] HRESULT childIndex
(
[in] long rowIndex,
[in] long columnIndex,
[out, retval] long *cellIndex
);
/** @brief Returns the description text of the specified column in the table. @param[in]column The0basedindexofthecolumnforwhichtoretrievethedescription. @param[out]description Returnsthedescriptiontextofthespecifiedcolumninthetableifsucha descriptionexists.OtherwiseaNULLpointerisreturned. @retvalS_OK @retvalS_FALSEifthereisnothingtoreturn,[out]valueisNULL @retvalE_INVALIDARGifbad[in]passed,[out]valueisNULL
*/
[propget] HRESULT columnDescription
(
[in] long column,
[out, retval] BSTR *description
);
/** @brief Returns the number of columns occupied by the accessible object atthespecifiedrowandcolumninthetable. Theresultisgreaterthan1ifthespecifiedcellspansmultiplecolumns. @param[in]row 0basedrowindexoftheaccessibleforwhichtoreturnthecolumnextent. @param[in]column 0basedcolumnindexoftheaccessibleforwhichtoreturnthecolumnextent. @param[out]nColumnsSpanned Returnsthe1basedcolumnextentofthespecifiedcell. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueis0
*/
[propget] HRESULT columnExtentAt
(
[in] long row,
[in] long column,
[out, retval] long *nColumnsSpanned
);
/** @brief Returns the column headers as an %IAccessibleTable object. Contentandsizeofthereturnedtableareimplementationdependent. @param[out]accessibleTable Thecolumnheader @param[out]startingRowIndex The0basedrowindexwheretheheaderstarts,usually0. @retvalS_OK @retvalS_FALSEifthereisnoheader,[out]valuesareNULLand0respectively
*/
[propget] HRESULT columnHeader
(
[out] IAccessibleTable **accessibleTable,
[out, retval] long *startingRowIndex
);
/** @brief Translates the given cell index into the corresponding column index. @param[in]cellIndex 0basedindexofthecellintheparentorclosestancestortable.Typicallythis isthevaluereturnedfromIAccessible2::indexInParent,butinthecasewherethe tablecellsarenotdirectchildrenofthetablethisisthecellindexspecified bythe"table-cell-index"objectattributeobtainedfromparsingtheattributes stringreturnedbycallingIAccessible2::attributesonthecellobject. @param[out]columnIndex Returnsthe0basedcolumnindexofthecellofthespecifiedchildortheindexof thefirstcolumnifthechildspansmultiplecolumns. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueis0
*/
[propget] HRESULT columnIndex
(
[in] long cellIndex,
[out, retval] long *columnIndex
);
/** @brief Returns the total number of columns in table @param[out]columnCount Numberofcolumnsintable(includingcolumnsoutsidethecurrentviewport) @retvalS_OK
*/
[propget] HRESULT nColumns
(
[out, retval] long *columnCount
);
/** @brief Returns the total number of rows in table @param[out]rowCount Numberofrowsintable(includingrowsoutsidethecurrentviewport) @retvalS_OK
*/
[propget] HRESULT nRows
(
[out, retval] long *rowCount
);
/** @brief Returns the total number of selected cells @param[out]cellCount Numberofcellscurrentlyselected @retvalS_OK
*/
[propget] HRESULT nSelectedChildren
(
[out, retval] long *cellCount
);
/** @brief Returns the total number of selected columns @param[out]columnCount Numberofcolumnscurrentlyselected @retvalS_OK
*/
[propget] HRESULT nSelectedColumns
(
[out, retval] long *columnCount
);
/** @brief Returns the total number of selected rows @param[out]rowCount Numberofrowscurrentlyselected @retvalS_OK
*/
[propget] HRESULT nSelectedRows
(
[out, retval] long *rowCount
);
/** @brief Returns the description text of the specified row in the table. @param[in]row The0basedindexoftherowforwhichtoretrievethedescription. @param[out]description Returnsthedescriptiontextofthespecifiedrowinthetableifsucha descriptionexists.OtherwiseaNULLpointerisreturned. @retvalS_OK @retvalS_FALSEifthereisnothingtoreturn,[out]valueisNULL @retvalE_INVALIDARGifbad[in]passed,[out]valueisNULL
*/
[propget] HRESULT rowDescription
(
[in] long row,
[out, retval] BSTR *description
);
/** @brief Returns the number of rows occupied by the accessible object atthespecifiedrowandcolumninthetable. Theresultisgreaterthan1ifthespecifiedcellspansmultiplerows. @param[in]row 0basedrowindexoftheaccessibleforwhichtoreturntherowextent. @param[in]column 0basedcolumnindexoftheaccessibleforwhichtoreturntherowextent. @param[out]nRowsSpanned Returnstherowextentofthespecifiedcell. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueis0
*/
[propget] HRESULT rowExtentAt
(
[in] long row,
[in] long column,
[out, retval] long *nRowsSpanned
);
/** @brief Returns the row headers as an %IAccessibleTable object. Contentandsizeofthereturnedtableareimplementationdependent. @param[out]accessibleTable Therowheader. @param[out]startingColumnIndex The0basedcolumnindexwheretheheaderstarts,usually0. @retvalS_OK @retvalS_FALSEifthereisnoheader,[out]valuesareNULLand0respectively
*/
[propget] HRESULT rowHeader
(
[out] IAccessibleTable **accessibleTable,
[out, retval] long *startingColumnIndex
);
/** @brief Translates the given cell index into a row index. @param[in]cellIndex 0basedindexofthecellintheparentorclosestancestortable.Typicallythis isthevaluereturnedfromIAccessible2::indexInParent,butinthecasewherethe tablecellsarenotdirectchildrenofthetablethisisthecellindexspecified bythe"table-cell-index"objectattributeobtainedfromparsingtheattributes stringreturnedbycallingIAccessible2::attributesonthecellobject. @param[out]rowIndex 0basedrowindex @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueis0
*/
[propget] HRESULT rowIndex
(
[in] long cellIndex,
[out, retval] long *rowIndex
);
/** @brief Returns a list of cell indexes currently selected (0 based). @param[in]maxChildren Thisparameterisignored.Referto@ref_arrayConsideration "SpecialConsiderationwhenusingArrays"formoredetails. @param[out]children Anarrayofcellindexesofselectedcells(eachindexis0based), allocatedbytheserver.TheclientmustfreeitwithCoTaskMemFree. @param[out]nChildren Thenumberofcellindexesreturned;thesizeofthereturnedarray. @retvalS_OK @retvalS_FALSEiftherearenone,[out]valuesareNULLand0respectively
*/
[propget] HRESULT selectedChildren
(
[in] long maxChildren,
[out, size_is(,maxChildren), length_is(,*nChildren)] long **children,
[out, retval] long *nChildren
);
/** @brief Returns a list of column indexes currently selected (0 based). @param[in]maxColumns Thisparameterisignored.Referto@ref_arrayConsideration "SpecialConsiderationwhenusingArrays"formoredetails. @param[out]columns Anarrayofcolumnindexesofselectedcolumns(eachindexis0based),allocated bytheserver.TheclientmustfreeitwithCoTaskMemFree. @param[out]nColumns Thenumberofcolumnindexesreturned;thesizeofthereturnedarray. @retvalS_OK @retvalS_FALSEiftherearenone,[out]valuesareNULLand0respectively
*/
[propget] HRESULT selectedColumns
(
[in] long maxColumns,
[out, size_is(,maxColumns), length_is(,*nColumns)] long **columns,
[out, retval] long *nColumns
);
/** @brief Returns a list of row indexes currently selected (0 based). @param[in]maxRows Thisparameterisignored.Referto@ref_arrayConsideration "SpecialConsiderationwhenusingArrays"formoredetails. @param[out]rows Anarrayofrowindexesofselectedrows(eachindexis0based),allocated bytheserver.TheclientmustfreeitwithCoTaskMemFree. @param[out]nRows Thenumberofrowindexesreturned;thesizeofthereturnedarray. @retvalS_OK @retvalS_FALSEiftherearenone,[out]valuesareNULLand0respectively
*/
[propget] HRESULT selectedRows
(
[in] long maxRows,
[out, size_is(,maxRows), length_is(,*nRows)] long **rows,
[out, retval] long *nRows
);
/** @brief Returns the summary description of the table. The returned object could be anIAccessibleoranIAccessible2. @param[out]accessible Returnsareferencetoanimplementationdependentaccessibleobject representingthetable'ssummaryoraNULLpointerifthetable doesnotsupportasummary. @retvalS_OK @retvalS_FALSEifthereisnothingtoreturn,[out]valueisNULL
*/
[propget] HRESULT summary
(
[out, retval] IUnknown **accessible
);
/** @brief Returns a boolean value indicating whether the specified column is completelyselected. @param[in]column 0basedindexofthecolumnforwhichtodeterminewhetheritisselected. @param[out]isSelected ReturnsTRUEifthespecifiedcolumnisselectedcompletelyandFALSEotherwise. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueisFALSE
*/
[propget] HRESULT isColumnSelected
(
[in] long column,
[out, retval] boolean *isSelected
);
/** @brief Returns a boolean value indicating whether the specified row is completely selected. @param[in]row 0basedindexoftherowforwhichtodeterminewhetheritisselected. @param[out]isSelected ReturnsTRUEifthespecifiedrowisselectedcompletelyandFALSEotherwise. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueisFALSE
*/
[propget] HRESULT isRowSelected
(
[in] long row,
[out, retval] boolean *isSelected
);
/** @brief Returns a boolean value indicating whether the specified cell is selected. @param[in]row 0basedindexoftherowforthecelltodeterminewhetheritisselected. @param[in]column 0basedindexofthecolumnforthecelltodeterminewhetheritisselected. @param[out]isSelected ReturnsTRUEifthespecifiedcellisselectedandFALSEotherwise. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valueisFALSE
*/
[propget] HRESULT isSelected
(
[in] long row,
[in] long column,
[out, retval] boolean *isSelected
);
/** @brief Selects a row and unselects all previously selected rows. @param[in]row 0basedindexoftherowtobeselected. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed
*/
HRESULT selectRow
(
[in] long row
);
/** @brief Selects a column and unselects all previously selected columns. @param[in]column 0basedindexofthecolumntobeselected. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed
*/
HRESULT selectColumn
(
[in] long column
);
/** @brief Unselects one row, leaving other selected rows selected (if any). @param[in]row 0basedindexoftherowtobeunselected. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed
*/
HRESULT unselectRow
(
[in] long row
);
/** @brief Unselects one column, leaving other selected columns selected (if any). @param[in]column 0basedindexofthecolumntobeunselected. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed
*/
HRESULT unselectColumn
(
[in] long column
);
/** @brief Given a cell index, gets the row and column indexes and extents of a cell andwhetherornotitisselected.
Thisisaconveniencefunction.Itisnotmandatorytoimplementit. @param[in]index 0basedindexofthiscellinthetable. @param[out]row 0basedrowindex. @param[out]column 0basedcolumnindex. @param[out]rowExtents Numberofcellsspannedbythiscellinthisrow. @param[out]columnExtents Numberofcellsspannedbythiscellinthiscolumn. @param[out]isSelected Indicatesifthespecifiedcellisselected. @retvalS_OK @retvalE_INVALIDARGifbad[in]passed,[out]valuesare0sandFALSErespectively
*/
[propget] HRESULT rowColumnExtentsAtIndex
(
[in] long index,
[out] long *row,
[out] long *column,
[out] long *rowExtents,
[out] long *columnExtents,
[out, retval] boolean *isSelected
);
/** @brief Returns the type and extents describing how a table changed. ProvidedforusebytheIA2_EVENT_TABLE_MODEL_CHANGEDeventhandler.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.