21 Pdf TCPDF

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