21 Pdf TCPDF

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