28 Iterator
11:47:38 Create new Spreadsheet object
11:47:38 Set document properties
11:47:38 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
11:47:38 Add comments
11:47:38 Add rich-text string
11:47:38 Merge cells
11:47:38 Protect cells
11:47:38 Set cell number formats
11:47:38 Set column widths
11:47:38 Set fonts
11:47:38 Set alignments
11:47:38 Set thin black border outline around column
11:47:38 Set thick brown border outline around Total
11:47:38 Set fills
11:47:38 Set style for header row using alternative method
11:47:38 Unprotect a cell
11:47:38 Add a hyperlink to an external website
11:47:38 Add a hyperlink to another cell on a different worksheet within the workbook
11:47:38 Add a drawing to the worksheet
11:47:38 Add a drawing to the worksheet
11:47:38 Add a drawing to the worksheet
11:47:38 Play around with inserting and removing rows and columns
11:47:38 Set header/footer
11:47:38 Set page orientation and size
11:47:38 Rename first worksheet
11:47:38 Create a second Worksheet object
11:47:38 Add some data
11:47:38 Set the worksheet tab color
11:47:38 Set alignments
11:47:38 Set column widths
11:47:38 Set fonts
11:47:38 Add a drawing to the worksheet
11:47:38 Set page orientation and size
11:47:38 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