21 Pdf mPDF

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