$worksheet->write($start_row+$r, $c, $v, $format);
}
-// if(isset($col_cfg['autoHeight'])){
+ if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
-
- $height = MAX(count($vv) * 12, $height);;
+ $height = MAX(count($vv) * $line_height, $height);;
$worksheet->setRow($start_row+$r, $height);
-// }
+ }
}
$this->start_row++;