/** * Create a new PHPExcel_Writer_PDF * * @param PHPExcel $phpExcel PHPExcel object */ public function __construct(PHPExcel $phpExcel) { parent::__construct($phpExcel); $this->setUseInlineCss(TRUE); $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir(); }
/** * Create a new PHPExcel_Writer_PDF * * @param PHPExcel $phpExcel PHPExcel object */ public function __construct(PHPExcel $phpExcel) { parent::__construct($phpExcel); $this->setUseInlineCss(true); $this->_tempDir = sys_get_temp_dir(); }