-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
DocX => pdf styles missing #1139
Comments
And the styles are not there when I use TCPDF and not when I use DOMPDF |
When I save the original file as a word97 file..the styling is even worse...
|
What I am using is OpenOffice (
The installation size is enormous, but the results are quite good. :( Sorry PHPWord! |
Yes I switched to...as the results are horrible in phpword and great in libre |
This seems related to the HTML issue: #1047 The PDF writers being used are taking in the HTML output, which also lacks the styling. The classes are being defined in the |
This still seems to be an issue. html and pdf outputs do not replicate the some styles in docx (header / footers). |
Issue still present on 0.16.0 |
If you have libreoffice installed you can use: exec('libreoffice --headless --convert-to pdf path/to/some.docx path/to') I wouldn't say it is a good solution but it is deffinetely a reliable one. |
can someone tell me please, how I can install libreoffice on my server or how to include it in my files to call it in my php file. |
For information, there is an answered question in StackOverflow about this issue. |
I have the same that Issue, Kindly helps me, someone. Thanks, @alexmanotas can you do it? |
When I convert my docx at least the following styles are missing
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: