21 Pdf TCPDF

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