21 Pdf TCPDF

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

Fatal error: Uncaught Error: Class 'TCPDF' not found in /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php:21 Stack trace: #0 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php(67): PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf->createExternalWriterInstance('L', 'pt', 'A4') #1 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php(128): PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf->save('/tmp/phpspreads...') #2 /home/bitrix/ext_www/retender.ru/export/samples/Pdf/21_Pdf_TCPDF.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/Tcpdf.php on line 21