21 Pdf mPDF

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

Fatal error: Uncaught Error: Class 'Mpdf\Mpdf' not found in /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php:20 Stack trace: #0 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php(69): PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf->createExternalWriterInstance(Array) #1 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php(128): PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf->save('/tmp/phpspreads...') #2 /home/bitrix/ext_www/retender.ru/export/samples/Pdf/21_Pdf_mPDF.php(20): PhpOffice\PhpSpreadsheet\Helper\Sample->write(Object(PhpOffice\PhpSpreadsheet\Spreadsheet), '/home/bitrix/ex...', Array) #3 {main} thrown in /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php on line 20