Daniel Noll wrote:
Hi all.

Is there any way I can use HSSF to get the text of comments which have been attached to a cell?

Since nobody answered this one and I investigated it myself, I'll let you all know the answer.

The comments end up stored in TextObjectRecord records, which is where some of the other text (e.g. text on charts) is stored as well. So there is already enough of an API in HSSF to get at the text of the comments, even if there is no friendly API on HSSFCell to get the cell comment.

Daniel


--
Daniel Noll

Nuix Australia Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia
Phone: (02) 9280 0699
Fax:   (02) 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to