You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by eGorka <i....@retorsia.com> on 2009/10/16 16:09:52 UTC
POI 3.5 HSSF cell comment
Hello
Our project is using cell comments to get some info from .xls files.
Code:
Iterator<Row> rowIterator = sheet.rowIterator();
while (rowIterator.hasNext()) {
HSSFRow row = (HSSFRow) rowIterator.next();
...
Iterator<Cell> cellIterator = row.cellIterator();
while (cellIterator.hasNext()) {
Cell сcell = cellIterator.next();
HSSFCell cell = (HSSFCell) сcell;
...
HSSFComment comment = cell.getCellComment();
...
After the upgrade from POI 3.0 to POI 3.5, I get comments in a wrong sequence as in original .xls file.
Can anybody suggest...
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org