28 Iterator
21:18:20 Create new Spreadsheet object
21:18:20 Set document properties
21:18:20 Add some data
Warning: Trying to access array offset on value of type float in
/var/www/erp/spreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php on line
74
21:18:20 Add comments
21:18:20 Add rich-text string
21:18:20 Merge cells
21:18:20 Protect cells
21:18:20 Set cell number formats
21:18:20 Set column widths
21:18:20 Set fonts
21:18:20 Set alignments
21:18:20 Set thin black border outline around column
21:18:20 Set thick brown border outline around Total
21:18:20 Set fills
21:18:20 Set style for header row using alternative method
21:18:20 Unprotect a cell
21:18:20 Add a hyperlink to an external website
21:18:20 Add a hyperlink to another cell on a different worksheet within the workbook
21:18:20 Add a drawing to the worksheet
21:18:20 Add a drawing to the worksheet
21:18:20 Add a drawing to the worksheet
21:18:20 Play around with inserting and removing rows and columns
21:18:20 Set header/footer
21:18:20 Set page orientation and size
21:18:20 Rename first worksheet
21:18:20 Create a second Worksheet object
21:18:20 Add some data
21:18:20 Set the worksheet tab color
21:18:20 Set alignments
21:18:20 Set column widths
21:18:20 Set fonts
21:18:20 Add a drawing to the worksheet
21:18:20 Set page orientation and size
21:18:20 Rename second worksheet
Fatal error: Uncaught Error: Class "ZipArchive" not found in /var/www/erp/spreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php:212
Stack trace:
#0 /var/www/erp/spreadsheet/samples/28_Iterator.php(9): PhpOffice\PhpSpreadsheet\Writer\Xlsx->save()
#1 {main}
thrown in
/var/www/erp/spreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php on line
212