class PHPExcel_Writer_PDF implements PHPExcel_Writer_IWriter

PHPExcelWriterPDF

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

__construct(PHPExcel $phpExcel)

Instantiate a new renderer of the configured type within this container class

__call($name, $arguments)

Magic method to handle direct calls to the configured PDF renderer wrapper class.

save($pFilename = null)

Save PHPExcel to file

Details

at line 53
__construct(PHPExcel $phpExcel)

Instantiate a new renderer of the configured type within this container class

@param PHPExcel $phpExcel PHPExcel object

Parameters

PHPExcel $phpExcel

Exceptions

PHPExcel_Writer_Exception when PDF library is not configured

at line 82
__call($name, $arguments)

Magic method to handle direct calls to the configured PDF renderer wrapper class.

@param string $name Renderer library method name

Parameters

$name
$arguments

at line 94
save($pFilename = null)

Save PHPExcel to file

@param string $pFilename Name of the file to save

Parameters

$pFilename

Exceptions

PHPExcel_Writer_Exception