![]() Use Phpdocx\Transform\TransformDocAdvOpenOffice The script is here: require_once('Classes/Phpdocx/Create/CreateDocx.inc') I've also tried running a test outside of Laravel with PHP CLI. PHP error: Undefined offset: 0 in vendor/phpdocx/Classes/Phpdocx/Parse/RepairPDF.inc on line 182 PHP error: Undefined offset: 0 in vendor/phpdocx/Classes/Phpdocx/Parse/RepairPDF.inc on line 160 > $docx->transformDocument('SampleAgreement.docx', 'SampleAgreement.pdf', null, array('debug' => true)) => Phpdocx\Transform\TransformDocAdvOpenOffice ![]() > $docx = new TransformDocAdvOpenOffice() > use Phpdocx\Transform\TransformDocAdvOpenOffice Psy Shell v0.8.3 (PHP 7.0.14 - cli) by Justin Hileman $docx->transformDocument('SampleAgreement.docx', 'SampleAgreement.pdf', null, array('debug' => true)) Here is the basic code we're using: use Phpdocx\Transform\TransformDocAdvOpenOffice System specs are CentOS 7.3 / PHP 7 / Laravel 5.3 / OpenOffice 4.1.3. We've recently purchased 2 Premium licenses, but we're unable to get the PDF conversion working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |