$pdfWriter = \PhpOffice\PhpWord\IOFactory::createWriter($wordPdf, 'PDF') \PhpOffice\PhpWord\Settings::setPdfRendererName('TCPDF') \PhpOffice\PhpWord\Settings::setPdfRendererPath(dirname(_FILE_)."/././Office/tcpdf") It works fine but now I want to convert the generated file to PDF.įirst I tried using tcpdf in combination with PHPWord $wordPdf = \PhpOffice\PhpWord\IOFactory::load($filename.".docx") docx files from a template using PHPWord.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |