https://bz.apache.org/bugzilla/show_bug.cgi?id=58365
Bug ID: 58365
Summary: Add Sheet.getAllCellCommentRefs()
Product: POI
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: SS Common
Assignee: [email protected]
Reporter: [email protected]
The current Sheet interface allows the retrieval of comments only by location
(row,col). In XSLX files, it is easily possible to have a comment reference a
cell that is not physically present in the file.
Iterating over all rows and columns as reported by get{First,Last}RowNum and
get{First,Last}CellNum with hence miss comments that reference positions in
"null" rows as well as positions to the left/right of physically present cells
in a given row.
As discussed on poi-dev[1], I propose adding the following method to Sheet:
/**
* Returns all cell addresses of this sheet
* having one or more comments associated.
* @return A set of cell references (in no particular order).
*/
Set<String> getAllCellCommentRefs();
[1]
http://mail-archives.apache.org/mod_mbox/poi-dev/201509.mbox/ajax/%3C55E84053.4080002%40erven.at%3E
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]