ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (Spreadsheet $spreadsheet) | |
Create a new PDF Writer instance. More... | |
getFont () | |
Get Font. More... | |
setFont ($fontName) | |
Set font. More... | |
getPaperSize () | |
Get Paper Size. More... | |
setPaperSize ($pValue) | |
Set Paper Size. More... | |
getOrientation () | |
Get Orientation. More... | |
setOrientation ($pValue) | |
Set Orientation. More... | |
getTempDir () | |
Get temporary storage directory. More... | |
setTempDir ($pValue) | |
Set temporary storage directory. More... | |
Public Member Functions inherited from PhpOffice\PhpSpreadsheet\Writer\Html | |
__construct (Spreadsheet $spreadsheet) | |
Create a new HTML. More... | |
save ($pFilename) | |
Save Spreadsheet to file. More... | |
generateHtmlAll () | |
Save Spreadsheet as html to variable. More... | |
setEditHtmlCallback (?callable $callback) | |
Set a callback to edit the entire HTML. More... | |
getSheetIndex () | |
Get sheet index. More... | |
setSheetIndex ($pValue) | |
Set sheet index. More... | |
getGenerateSheetNavigationBlock () | |
Get sheet index. More... | |
setGenerateSheetNavigationBlock ($pValue) | |
Set sheet index. More... | |
writeAllSheets () | |
Write all sheets (resets sheetIndex to NULL). More... | |
generateHTMLHeader ($pIncludeStyles=false) | |
Generate HTML header. More... | |
generateSheetData () | |
Generate sheet data. More... | |
generateNavigation () | |
Generate sheet tabs. More... | |
generateStyles ($generateSurroundingHTML=true) | |
Generate CSS styles. More... | |
buildCSS ($generateSurroundingHTML=true) | |
Build CSS styles. More... | |
generateHTMLFooter () | |
Generate HTML footer. More... | |
getImagesRoot () | |
Get images root. More... | |
setImagesRoot ($pValue) | |
Set images root. More... | |
getEmbedImages () | |
Get embed images. More... | |
setEmbedImages ($pValue) | |
Set embed images. More... | |
getUseInlineCss () | |
Get use inline CSS? More... | |
setUseInlineCss ($pValue) | |
Set use inline CSS? More... | |
getUseEmbeddedCSS () | |
Get use embedded CSS? More... | |
setUseEmbeddedCSS ($pValue) | |
Set use embedded CSS? More... | |
formatColor ($pValue, $pFormat) | |
Add color to formatted string as inline style. More... | |
Public Member Functions inherited from PhpOffice\PhpSpreadsheet\Writer\BaseWriter | |
getIncludeCharts () | |
Write charts in workbook? If this is true, then the Writer will write definitions for any charts that exist in the PhpSpreadsheet object. More... | |
setIncludeCharts ($pValue) | |
Set write charts in workbook Set to true, to advise the Writer to include any charts that exist in the PhpSpreadsheet object. More... | |
getPreCalculateFormulas () | |
Get Pre-Calculate Formulas flag If this is true (the default), then the writer will recalculate all formulae in a workbook when saving, so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet viewer when opening the file If false, then formulae are not calculated on save. More... | |
setPreCalculateFormulas ($pValue) | |
Set Pre-Calculate Formulas Set to true (the default) to advise the Writer to calculate all formulae on save Set to false to prevent precalculation of formulae on save. More... | |
getUseDiskCaching () | |
Get use disk caching where possible? More... | |
setUseDiskCaching ($pValue, $pDirectory=null) | |
Set use disk caching where possible? More... | |
getDiskCachingDirectory () | |
Get disk caching directory. More... | |
openFileHandle ($filename) | |
Open file handle. More... | |
Protected Member Functions | |
prepareForSave ($pFilename) | |
Save Spreadsheet to PDF file, pre-save. More... | |
restoreStateAfterSave () | |
Save PhpSpreadsheet to PDF file, post-save. More... | |
Protected Member Functions inherited from PhpOffice\PhpSpreadsheet\Writer\BaseWriter | |
maybeCloseFileHandle () | |
Close file handle only if we opened it ourselves. More... | |
Protected Attributes | |
$tempDir = '' | |
$font = 'freesans' | |
$orientation | |
$paperSize | |
Protected Attributes inherited from PhpOffice\PhpSpreadsheet\Writer\Html | |
$spreadsheet | |
$isPdf = false | |
Protected Attributes inherited from PhpOffice\PhpSpreadsheet\Writer\BaseWriter | |
$includeCharts = false | |
$preCalculateFormulas = true | |
$fileHandle | |
Static Protected Attributes | |
static | $paperSizes |
Additional Inherited Members | |
Static Public Member Functions inherited from PhpOffice\PhpSpreadsheet\Writer\Html | |
static | winFileToUrl ($filename) |
Convert Windows file name to file protocol URL. More... | |
Data Fields inherited from PhpOffice\PhpSpreadsheet\Writer\Html | |
const | VALIGN_ARR |
const | HALIGN_ARR |
const | BORDER_ARR |
PhpOffice\PhpSpreadsheet\Writer\Pdf::__construct | ( | Spreadsheet | $spreadsheet | ) |
Create a new PDF Writer instance.
Spreadsheet | $spreadsheet | Spreadsheet object |
Implements PhpOffice\PhpSpreadsheet\Writer\IWriter.
Definition at line 119 of file Pdf.php.
References PhpOffice\PhpSpreadsheet\Shared\File\sysGetTempDir().
PhpOffice\PhpSpreadsheet\Writer\Pdf::getFont | ( | ) |
Get Font.
Definition at line 132 of file Pdf.php.
References PhpOffice\PhpSpreadsheet\Writer\Pdf\$font.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf\save().
PhpOffice\PhpSpreadsheet\Writer\Pdf::getOrientation | ( | ) |
Get Orientation.
Definition at line 184 of file Pdf.php.
References PhpOffice\PhpSpreadsheet\Writer\Pdf\$orientation.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf\save(), PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf\save(), and PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf\save().
PhpOffice\PhpSpreadsheet\Writer\Pdf::getPaperSize | ( | ) |
Get Paper Size.
Definition at line 160 of file Pdf.php.
References PhpOffice\PhpSpreadsheet\Writer\Pdf\$paperSize.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf\save(), PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf\save(), and PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf\save().
PhpOffice\PhpSpreadsheet\Writer\Pdf::getTempDir | ( | ) |
Get temporary storage directory.
Definition at line 208 of file Pdf.php.
References PhpOffice\PhpSpreadsheet\Writer\Pdf\$tempDir.
|
protected |
Save Spreadsheet to PDF file, pre-save.
string | $pFilename | Name of the file to save as |
Definition at line 238 of file Pdf.php.
References PhpOffice\PhpSpreadsheet\Writer\BaseWriter\$fileHandle, and PhpOffice\PhpSpreadsheet\Writer\BaseWriter\openFileHandle().
|
protected |
Save PhpSpreadsheet to PDF file, post-save.
Definition at line 249 of file Pdf.php.
References PhpOffice\PhpSpreadsheet\Writer\BaseWriter\maybeCloseFileHandle().
PhpOffice\PhpSpreadsheet\Writer\Pdf::setFont | ( | $fontName | ) |
PhpOffice\PhpSpreadsheet\Writer\Pdf::setOrientation | ( | $pValue | ) |
Set Orientation.
string | $pValue | Page orientation see PageSetup::ORIENTATION_* |
Definition at line 196 of file Pdf.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf\save().
PhpOffice\PhpSpreadsheet\Writer\Pdf::setPaperSize | ( | $pValue | ) |
PhpOffice\PhpSpreadsheet\Writer\Pdf::setTempDir | ( | $pValue | ) |
|
protected |
Definition at line 24 of file Pdf.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\getFont().
|
protected |
Definition at line 31 of file Pdf.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf\createExternalWriterInstance(), PhpOffice\PhpSpreadsheet\Writer\Pdf\getOrientation(), PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf\save(), PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf\save(), and PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf\save().
|
protected |
Definition at line 38 of file Pdf.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf\createExternalWriterInstance(), PhpOffice\PhpSpreadsheet\Writer\Pdf\getPaperSize(), PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf\save(), PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf\save(), and PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf\save().
|
staticprotected |
|
protected |
Definition at line 17 of file Pdf.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Pdf\getTempDir().