21 Pdf TCPDF

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