__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 Returns self
prepareForSave() prepareForSave(string $pFilename) : resource Save Spreadsheet to PDF file, pre-save. Parameters string $pFilename Name of the file to save as Returns resource