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);
81 public function __call($name, $arguments)
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);
save($pFilename=null)
{Save PHPExcel to file.Name of the file to save }
static getPdfRendererPath()
Return the directory path to the PDF Rendering Library that PHPExcel is currently configured to use...
static getPdfRendererName()
Return the PDF Rendering Library that PHPExcel is currently configured to use (e.g.
$rendererName
Include PHPExcel.
__call($name, $arguments)
Magic method to handle direct calls to the configured PDF renderer wrapper class. ...
Create styles array
The data for the language used.
__construct(PHPExcel $phpExcel)
Instantiate a new renderer of the configured type within this container class.