Bug 59852 - Comments resized when Row.setZeroHeight() hides row
Summary: Comments resized when Row.setZeroHeight() hides row
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.15-dev
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-13 17:44 UTC by David Ross
Modified: 2016-07-15 18:56 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Ross 2016-07-13 17:44:15 UTC
If a cell comment is added which spans several rows or columns, and one of those rows or columns is then hidden, the comment's size is reduced.  The same scenario within Excel does not result in the comment shrinking.

The calls I am using:

Spreadsheet.makeComment(row, c, comment, h, w, f);
sheet.getRow(i).setZeroHeight(true);