21 Pdf TCPDF

17:22:19 Create new Spreadsheet object
17:22:19 Set document properties
17:22:19 Add some data
17:22:19 Add comments
17:22:19 Add rich-text string
17:22:19 Merge cells
17:22:19 Protect cells
17:22:19 Set cell number formats
17:22:19 Set column widths
17:22:19 Set fonts
17:22:19 Set alignments
17:22:19 Set thin black border outline around column
17:22:19 Set thick brown border outline around Total
17:22:19 Set fills
17:22:19 Set style for header row using alternative method
17:22:19 Unprotect a cell
17:22:19 Add a hyperlink to an external website
17:22:19 Add a hyperlink to another cell on a different worksheet within the workbook
17:22:19 Add a drawing to the worksheet
17:22:19 Add a drawing to the worksheet
17:22:19 Add a drawing to the worksheet
17:22:19 Play around with inserting and removing rows and columns
17:22:19 Set header/footer
17:22:19 Set page orientation and size
17:22:19 Rename first worksheet
17:22:19 Create a second Worksheet object
17:22:19 Add some data
17:22:19 Set the worksheet tab color
17:22:19 Set alignments
17:22:19 Set column widths
17:22:19 Set fonts
17:22:19 Add a drawing to the worksheet
17:22:19 Set page orientation and size
17:22:19 Rename second worksheet
17:22:19 Hide grid lines
17:22:19 Set orientation to landscape
17:22:19 Write to PDF format using PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf

Fatal error: Uncaught Error: Class 'TCPDF' not found in /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php:21 Stack trace: #0 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php(67): PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf->createExternalWriterInstance('L', 'pt', 'A4') #1 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php(128): PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf->save('/tmp/phpspreads...') #2 /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/samples/Pdf/21_Pdf_TCPDF.php(20): PhpOffice\PhpSpreadsheet\Helper\Sample->write(Object(PhpOffice\PhpSpreadsheet\Spreadsheet), '/var/www/u03813...', Array) #3 {main} thrown in /var/www/u0381365/data/www/kgnic.ru/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php on line 21