Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
Regarding the following code,
$docx->transformDocument('example_text.docx', 'example_text.pdf');
Is there a way to do something like below?
$pdf_content = $docx->transformDocument('example_text.docx', 'example_text.pdf');
$object->save_to_db($pdf_content);
Thanks.
Hello,
Sorry but phpdocx doesn't integrate any ORM or PDO functions.
We recommend you to generate the PDF and then use your own PHP code to insert it in your database.
Regards.