[Libreoffice-bugs] [Bug 126415] Seems to be missing API to get a cell from a row
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 16 01:46:28 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126415
Mike Kaganski <mikekaganski at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WORKSFORME |NOTABUG
--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
The row object is a cell range. It implements relevant services (e.g.,
com.sun.star.sheet.SheetCellRange, com.sun.star.table.CellRange), and
interfaces (com.sun.star.table.XCellRange, com.sun.star.sheet.XCellRangeData,
com.sun.star.sheet.XCellRangeFormula). The mentioned getCellByPosition (a
method of XCellRange interface) allows you to get com.sun.star.table.XCell. You
need to understand that indexing in a cell range object is relative to the
range bounds; so for a given row (= a rectangular range of 1 row and many
columns), the possible indices passed to aRow.getCellByPosition(colIx, rowIx)
are 0..1048575 for colIx, and 0 for rowIx (regardless which row is represented
by this aRow object).
Closing NOTABUG (WORKSFORME is only for real defects that were fixed by an
unknown commit).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190716/76958747/attachment.html>
More information about the Libreoffice-bugs
mailing list