05 Feature demo
20:51:23 Create new Spreadsheet object
20:51:23 Set document properties
20:51:23 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
20:51:23 Add comments
20:51:23 Add rich-text string
20:51:23 Merge cells
20:51:23 Protect cells
20:51:23 Set cell number formats
20:51:23 Set column widths
20:51:23 Set fonts
20:51:23 Set alignments
20:51:23 Set thin black border outline around column
20:51:23 Set thick brown border outline around Total
20:51:23 Set fills
20:51:23 Set style for header row using alternative method
20:51:23 Unprotect a cell
20:51:23 Add a hyperlink to an external website
20:51:23 Add a hyperlink to another cell on a different worksheet within the workbook
20:51:23 Add a drawing to the worksheet
20:51:23 Add a drawing to the worksheet
20:51:23 Add a drawing to the worksheet
20:51:23 Play around with inserting and removing rows and columns
20:51:23 Set header/footer
20:51:23 Set page orientation and size
20:51:23 Rename first worksheet
20:51:23 Create a second Worksheet object
20:51:23 Add some data
20:51:23 Set the worksheet tab color
20:51:23 Set alignments
20:51:23 Set column widths
20:51:23 Set fonts
20:51:23 Add a drawing to the worksheet
20:51:23 Set page orientation and size
20:51:23 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/src/PhpSpreadsheet/Helper/Sample.php(100): PhpOffice\PhpSpreadsheet\Writer\Xlsx->save()
#1 /var/www/erp/spreadsheet/samples/05_Feature_demo.php(7): PhpOffice\PhpSpreadsheet\Helper\Sample->write()
#2 {main}
thrown in
/var/www/erp/spreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php on line
212