$tempDir
$tempDir : string
Temporary storage directory.
$tempDir : string
Temporary storage directory.
$font : string
Font.
$orientation : string
Orientation (Over-ride).
$paperSize : int
Paper size (Over-ride).
$paperSizes : array
Paper Sizes xRef List.
$spreadsheet : \PhpOffice\PhpSpreadsheet\Spreadsheet
Spreadsheet object.
$isPdf : bool
Is the current writer creating PDF?
$includeCharts : bool
Write charts that are defined in the workbook? Identifies whether the Writer should write definitions for any charts that exist in the PhpSpreadsheet object;.
$preCalculateFormulas : bool
Pre-calculate formulas Forces PhpSpreadsheet to 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.
$saveArrayReturnType : string
Temporary storage for Save Array Return type.
$sheetIndex : int
Sheet index to write.
$imagesRoot : string
Images root.
$embedImages : bool
embed images, or link to images.
$useInlineCss : bool
Use inline CSS?
$cssStyles : array
Array of CSS styles.
$columnWidths : array
Array of column widths in points.
$defaultFont : \PhpOffice\PhpSpreadsheet\Style\Font
Default font.
$spansAreCalculated : bool
Flag whether spans have been calculated.
$isSpannedCell : array
Excel cells that should not be written as HTML cells.
$isBaseCell : array
Excel cells that are upper-left corner in a cell merge.
$isSpannedRow : array
Excel rows that should not be written as HTML rows.
$generateSheetNavigationBlock : bool
Generate the Navigation block.
$useDiskCaching : bool
Use disk caching where possible?
$diskCachingDirectory : string
Disk caching directory.
setIncludeCharts(mixed $pValue) : \PhpOffice\PhpSpreadsheet\Writer\IWriter
Set write charts in workbook Set to true, to advise the Writer to include any charts that exist in the PhpSpreadsheet object.
Set to false (the default) to ignore charts.
mixed | $pValue |
getPreCalculateFormulas() : bool
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. This is faster for saving in PhpSpreadsheet, but slower when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself.
setPreCalculateFormulas(mixed $pValue) : \PhpOffice\PhpSpreadsheet\Writer\IWriter
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.
mixed | $pValue | Pre-Calculate Formulas? |
createExternalWriterInstance(string $orientation, string $unit, string $paperSize) : \TCPDF
Gets the implementation of external PDF library that should be used.
string | $orientation | Page orientation |
string | $unit | Unit measure |
string | $paperSize | Paper size |
implementation
writeImageInCell(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pSheet, string $coordinates) : string
Generate image tag in cell.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $pSheet | \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet |
string | $coordinates | Cell coordinates |
writeChartInCell(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pSheet, string $coordinates) : string
Generate chart tag in cell.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $pSheet | \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet |
string | $coordinates | Cell coordinates |
generateRow(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pSheet, array $pValues, int $pRow, string $cellType) : string
Generate row.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $pSheet | \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet |
array | $pValues | Array containing cells in a row |
int | $pRow | Row number (0-based) |
string | $cellType | eg: 'td' |