Workbook
extends WriterPart
in package
Table of Contents
Methods
- __construct() : mixed
- Set parent Xlsx object.
- getParentWriter() : Xlsx
- Get parent Xlsx object.
- writeWorkbook() : string
- Write workbook to XML format.
Methods
__construct()
Set parent Xlsx object.
public
__construct(Xlsx $writer) : mixed
Parameters
- $writer : Xlsx
getParentWriter()
Get parent Xlsx object.
public
getParentWriter() : Xlsx
Return values
XlsxwriteWorkbook()
Write workbook to XML format.
public
writeWorkbook(Spreadsheet $spreadsheet[, bool $preCalculateFormulas = false ][, bool|null $forceFullCalc = null ]) : string
Parameters
- $spreadsheet : Spreadsheet
- $preCalculateFormulas : bool = false
-
If true, formulas will be calculated before writing
- $forceFullCalc : bool|null = null
-
If null, !$preCalculateFormulas
Return values
string —XML Output