title: PHPExcel set setRowHeight(-1) and setWrapText(true) not automatically resizing height of the row
body: <p>Have tried the following, it didn't help, what should I try next? Anything I have missed?</p>
  
  <pre><code>$objPHPExcel-&gt;getActiveSheet()-&gt;setCellValue('A10', 'Value1, Value2, Value3, Value4, Value5');
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(10)-&gt;setRowHeight(-1);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('A10')-&gt;getAlignment()-&gt;setWrapText(true);
  </code></pre>
  
  <p>Then </p>
  
  <pre><code>$objPHPExcel-&gt;getDefaultStyle()-&gt;getAlignment()-&gt;setWrapText(true);
  foreach($objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimensions() as $rd) { 
      $rd-&gt;setRowHeight(-1); 
  }
  </code></pre>
  
  <p>Also</p>
  
  <pre><code>$objPHPExcel-&gt;getActiveSheet(0)-&gt;getStyle('A1:D10')-&gt;getAlignment()-&gt;setWrapText(true);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(1)-&gt;setRowHeight(-1);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(2)-&gt;setRowHeight(-1);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(3)-&gt;setRowHeight(-1);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(4)-&gt;setRowHeight(-1);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(5)-&gt;setRowHeight(-1);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(6)-&gt;setRowHeight(-1);
  $objPHPExcel-&gt;getActiveSheet()-&gt;getRowDimension(7)-&gt;setRowHeight(-1);
  </code></pre>