We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you create pdf file, background of pdf is black,but with docx everything is fine.
Image pdf
image docx
$template->saveAs($filepath); Settings::setPdfRendererPath('vendor/mpdf/mpdf'); Settings::setPdfRendererName('MPDF'); $phpWord = IOFactory::load($filepath); $xmlWriter = IOFactory::createWriter($phpWord, 'PDF'); $xmlWriter->save(temp_path('closeDocument.pdf'));
Environment information:
The text was updated successfully, but these errors were encountered:
If you're looking for a solution, I recommend that you use this Docker service https://github.com/as-a-service/pdf
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
When you create pdf file, background of pdf is black,but with docx everything is fine.
Image pdf
image docx
Environment information:
The text was updated successfully, but these errors were encountered: