-
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
Word found unreadable content in "file name" after saveAs from TemplateProcessor #2503
Comments
Can you extend the workflow? It might be that you haven't changed the values. It might be the case that first you have to change the values with $templateProcessor->setValue('firstname', 'John Doe'); and then save it. And you can save at the same file the changes. Since as i understand that is the most common use case |
in laravel I've same issue :
` |
Describe the Bug
I have Word docx template file, i need to use this template and replace some text like ${firstname}.
but after saveAs from templalte Processor, the word file become corrupted, and showing
"Word found unreadable content in file_name"
Steps to Reproduce
Expected Behavior
The word file should not be corrupted
Current Behavior
the file is corrupted and showing : Word found unreadable content in "file name"
Context
really apreciate if you can help on this
The text was updated successfully, but these errors were encountered: