title: Auto size height for rows in Apache POI
body: <p>I am inputting values into a spreadsheet using Apache POI. These values have newlines, and I was able to use this code successfully:</p>
  
  <pre><code>CellStyle style = cell.getCellStyle()
  style.setWrapText(true)
  cell.setCellStyle(style)
  </code></pre>
  
  <p>Unfortunately, while the text is wrapping correctly, the rows are not always growing in height enough to show the content. How do I ensure that my rows are always the correct height?</p>