Mysql
 sql >> Database >  >> RDS >> Mysql

PHPExcel e disposizione del testo

Applica a un intervallo:

$objPHPExcel->getActiveSheet()->getStyle('D1:E999')
    ->getAlignment()->setWrapText(true); 

Applica a una colonna

$objPHPExcel->getActiveSheet()->getStyle('D1:D'.$objPHPExcel->getActiveSheet()->getHighestRow())
    ->getAlignment()->setWrapText(true);