21 Pdf TCPDF

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