You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2007/03/12 16:59:28 UTC
DO NOT REPLY [Bug 41198] - HSSF: Support for excel cell comments
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41198>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41198
------- Additional Comments From yegor@dinom.ru 2007-03-12 08:59 -------
Trejkaz,
Well, your example is a singular case.
In XLS it's possible to have comments for non-existing cells.
In your file the comment points to cell (0,0) which does not exist. HSSF returns
null for that cell and there was no way to get the comment.
I improved the API. Now it's possible to retrieve cell comments in two ways:
- HSSFCell.getCellComment()
- HSSFSheet.getCellComment(int row, int column) - new method that returns cell
comment for a particular cell.
These methods share the same low-level code. use whatever is appropriate.
Regards,
Yegor
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/