21 Pdf Domdf

17:02:46 Create new Spreadsheet object
17:02:46 Set document properties
17:02:46 Add some data
17:02:46 Add comments
17:02:46 Add rich-text string
17:02:46 Merge cells
17:02:46 Protect cells
17:02:46 Set cell number formats
17:02:46 Set column widths
17:02:46 Set fonts
17:02:46 Set alignments
17:02:46 Set thin black border outline around column
17:02:46 Set thick brown border outline around Total
17:02:46 Set fills
17:02:46 Set style for header row using alternative method
17:02:46 Unprotect a cell
17:02:46 Add a hyperlink to an external website
17:02:46 Add a hyperlink to another cell on a different worksheet within the workbook
17:02:46 Add a drawing to the worksheet
17:02:46 Add a drawing to the worksheet
17:02:46 Add a drawing to the worksheet
17:02:46 Play around with inserting and removing rows and columns
17:02:46 Set header/footer
17:02:46 Set page orientation and size
17:02:46 Rename first worksheet
17:02:46 Create a second Worksheet object
17:02:46 Add some data
17:02:46 Set the worksheet tab color
17:02:46 Set alignments
17:02:46 Set column widths
17:02:46 Set fonts
17:02:46 Add a drawing to the worksheet
17:02:46 Set page orientation and size
17:02:46 Rename second worksheet
17:02:46 Hide grid lines
17:02:46 Set orientation to landscape
17:02:46 Write to PDF format using PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf

Fatal error: Uncaught Error: Class 'Dompdf\Dompdf' not found in /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Dompdf.php:17 Stack trace: #0 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Dompdf.php(63): PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf->createExternalWriterInstance() #1 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php(128): PhpOffice\PhpSpreadsheet\Writer\Pdf\Dompdf->save('/tmp/phpspreads...') #2 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/samples/Pdf/21_Pdf_Domdf.php(20): PhpOffice\PhpSpreadsheet\Helper\Sample->write(Object(PhpOffice\PhpSpreadsheet\Spreadsheet), '/var/www/u03813...', Array) #3 {main} thrown in /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Dompdf.php on line 17