|
| __construct (PHPExcel $phpExcel) |
| Instantiate a new renderer of the configured type within this container class. More...
|
|
| __call ($name, $arguments) |
| Magic method to handle direct calls to the configured PDF renderer wrapper class. More...
|
|
| save ($pFilename=null) |
| {Save PHPExcel to file.- Parameters
-
string | $pFilename | Name of the file to save |
- Exceptions
-
} More...
|
|
Definition at line 36 of file PDF.php.
◆ __construct()
PHPExcel_Writer_PDF::__construct |
( |
PHPExcel |
$phpExcel | ) |
|
Instantiate a new renderer of the configured type within this container class.
- Parameters
-
- Exceptions
-
Definition at line 52 of file PDF.php.
References $rendererName, PHPExcel_Settings\getPdfRendererName(), and PHPExcel_Settings\getPdfRendererPath().
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);
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()
PHPExcel_Writer_PDF::__call |
( |
|
$name, |
|
|
|
$arguments |
|
) |
| |
Magic method to handle direct calls to the configured PDF renderer wrapper class.
- Parameters
-
string | $name | Renderer library method name |
| mixed[] | $arguments Array of arguments to pass to the renderer method |
- Returns
- mixed Returned data from the PDF renderer wrapper method
Definition at line 81 of file PDF.php.
References $name, and array.
83 if ($this->_renderer === NULL) {
87 return call_user_func_array(
array($this->_renderer,
$name), $arguments);
Create styles array
The data for the language used.
◆ save()
PHPExcel_Writer_PDF::save |
( |
|
$pFilename = null | ) |
|
{Save PHPExcel to file.
- Parameters
-
string | $pFilename | Name of the file to save |
- Exceptions
-
}
Implements PHPExcel_Writer_IWriter.
Definition at line 93 of file PDF.php.
95 $this->_renderer->save($pFilename);
◆ $_renderer
PHPExcel_Writer_PDF::$_renderer = NULL |
|
private |
The documentation for this class was generated from the following file:
- libs/composer/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/PDF.php