55 if (is_null($pdfLibraryName)) {
60 if (is_null($pdfLibraryName)) {
63 $includePath = str_replace(
'\\',
'/', get_include_path());
64 $rendererPath = str_replace(
'\\',
'/', $pdfLibraryPath);
65 if (strpos($rendererPath, $includePath) ===
false) {
66 set_include_path(get_include_path() . PATH_SEPARATOR . $pdfLibraryPath);
83 if ($this->_renderer === NULL) {
87 return call_user_func_array(array($this->_renderer,
$name), $arguments);
93 public function save($pFilename =
null)
95 $this->_renderer->save($pFilename);
$rendererName
Include PHPExcel.
An exception for terminatinating execution or to throw for unit testing.
static getPdfRendererName()
Return the PDF Rendering Library that PHPExcel is currently configured to use (e.g.
static getPdfRendererPath()
Return the directory path to the PDF Rendering Library that PHPExcel is currently configured to use.
__call($name, $arguments)
Magic method to handle direct calls to the configured PDF renderer wrapper class.
save($pFilename=null)
{Save PHPExcel to file.}
__construct(PHPExcel $phpExcel)
Instantiate a new renderer of the configured type within this container class.