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 2012/10/31 18:09:06 UTC
[Bug 54082] collapseRow do not works as expected
https://issues.apache.org/bugzilla/show_bug.cgi?id=54082
michele.croci@immopac.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from michele.croci@immopac.ch ---
I have looked at the source code, one possible patch would be to modify the
writeHidden method in this way:
private int writeHidden(XSSFRow xRow, int rowIndex, boolean hidden) {
int level = xRow.getCTRow().getOutlineLevel();
int currentRow;
for (currentRow = rowIndex; currentRow < getLastRowNum(); currentRow++) {
if (getRow(currentRow) == null
|| getRow(currentRow).getCTRow().getOutlineLevel() < level) {
break;
}else{
getRow(currentRow).getCTRow().setHidden(hidden);
}
}
return currentRow;
}
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org