21 Pdf mPDF

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