$saveArrayReturnType $saveArrayReturnType : string Temporary storage for Save Array Return type. Type string
__construct() __construct(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet) Create a new PDF Writer instance. Parameters \PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet Spreadsheet object
setFont() setFont(string $fontName) : $this Set font. Examples: 'arialunicid0-chinese-simplified' 'arialunicid0-chinese-traditional' 'arialunicid0-korean' 'arialunicid0-japanese'. Parameters string $fontName Returns $this
setPaperSize() setPaperSize(string $pValue) : self Set Paper Size. Parameters string $pValue Paper size see PageSetup::PAPERSIZE_* Returns self
setOrientation() setOrientation(string $pValue) : self Set Orientation. Parameters string $pValue Page orientation see PageSetup::ORIENTATION_* Returns self
setTempDir() setTempDir(string $pValue) : self Set temporary storage directory. Parameters string $pValue Temporary storage directory Throws \PhpOffice\PhpSpreadsheet\Writer\Exception when directory does not exist Returns self
prepareForSave() prepareForSave(string $pFilename) : resource Save Spreadsheet to PDF file, pre-save. Parameters string $pFilename Name of the file to save as Throws \PhpOffice\PhpSpreadsheet\Writer\Exception Returns resource
restoreStateAfterSave() restoreStateAfterSave(resource $fileHandle) Save PhpSpreadsheet to PDF file, post-save. Parameters resource $fileHandle