21 Pdf mPDF

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