$parentWriter
$parentWriter : \PhpOffice\PhpSpreadsheet\Writer\Xlsx
Parent Xlsx object.
$parentWriter : \PhpOffice\PhpSpreadsheet\Writer\Xlsx
Parent Xlsx object.
writeWorkbook(\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet, bool $recalcRequired = false) : string
Write workbook to XML format.
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet | |
bool | $recalcRequired | Indicate whether formulas should be recalculated before writing |
XML Output
writeWorkbookProtection(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, \PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet) : void
Write WorkbookProtection.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
\PhpOffice\PhpSpreadsheet\Spreadsheet | $spreadsheet |
writeSheet(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, string $pSheetname, int $pSheetId = 1, int $pRelId = 1, string $sheetState = 'visible') : void
Write sheet.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
string | $pSheetname | Sheet name |
int | $pSheetId | Sheet id |
int | $pRelId | Relationship ID |
string | $sheetState | Sheet state (visible, hidden, veryHidden) |