Skip to content

Retrieve cell coords from TableCell interface when available

When the object for which the coordinates should be retrieved implements the AT-SPI TableCell interface, retrieve the position directly using that interface instead of via the parent table using the child/cell index.

This e.g. also works in case the child index does not fit into 32 bit, as is e.g. the case for some cells in LibreOffice Calc spreadsheets with 16k columns, which is enabled by default since LibreOffice 7.4.

Related LibreOffice bug:

Merge request reports