-
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
Document distorted after set meta info #477
Comments
There is definitely a w:p problem going on. What version of Windows are you using? |
@nafwa03 I am running Windows 8.1 Pro 64 bit and Office 2013. All patched to the latest updates. |
I am not one of the dev but have been heavily invested in a project at which I went full with this lib. The latest update has been tough. 2013 should be compat. What has helped me to debug is this: Generate the docx using the old version... Save it and rename extension to .zip. Extract. Generate with new version of phpword and do the same. Run a diff to compare the document.xml files. I use winmerge. Find the differences and then hack where you need to in php word. Otherwise revert to the old version that worked. Best strategy to me... |
@nafwa03 Thanks for the hint. That does not help in my case: I am writing an article for Sitepoint. Can't put up an article with "hack" style of code. |
Oh I feel you...my bad. I know not a hint ;). Just trying to help. |
Just revert back to original before they brought .doc back into the mix. |
No comments from the development team so far? |
Still no comment from the development team? |
Any comments???? |
Still no comments? Or even can't be reproduced? |
这还是英文,我的应用中中英混合的.换行更是厉害,彻底看不成. 呃... 我提出问题1年了. 一样没有相应. 估计不会被解决了... |
Any updates with this? My document is getting distorted; but I'm using DocProperty fields, so that could be it(?) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I am exporting a docx file with some input from a form submission.
${xxxx}
notations with user input. Save the template to "output.docx" (so far this is OK and the format, output is retained).The code is excerpted below.
Am I missing something? It works fine with previous release of PHPWord lib but not this one.
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: