21 Pdf mPDF

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

Fatal error: Uncaught Error: Class 'Mpdf\Mpdf' not found in /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php:20 Stack trace: #0 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php(69): PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf->createExternalWriterInstance(Array) #1 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php(128): PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf->save('/tmp/phpspreads...') #2 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/samples/Pdf/21_Pdf_mPDF.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/Mpdf.php on line 20