You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by rsingh888 <rs...@ketera.com> on 2009/12/18 13:27:44 UTC
setCellComment not working properly in version 3.6
Hi,
I have tried creating comments in the excel file, using below code
ClientAnchor anchor = ch.createClientAnchor();
Comment comment = drawing.createCellComment(anchor);
comment.setString(ch.createRichTextString(alias));
cell.setCellComment(comment);
after writing the xls and opening the file it gives error "File error data
may have been lost" and opens the file
In the file content anchored to first cell as well as minimized which you
need to expand to see the comment.
When write the xlsx file it does not open with xlsx to xls converter.
--
View this message in context: http://old.nabble.com/setCellComment-not-working-properly-in-version-3.6-tp26842676p26842676.html
Sent from the POI - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org