21 Pdf TCPDF

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