I have a merged rows inside HSSFSheet And I trying to set row\'s height automatically this way:
borderedStyle.setWrapText(true); row.setHeight((short)-1);