-
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
Edit checkbox from a template #1791
Comments
Check here please #1187 It was for version 12 but i am sure with little workaround you can make it work. |
Hi Firstly i am using old activx checkbox in my template docx files and set bookmark name for each as variable. Now lets first add some codes to TemplateProcessor.php file:
Put this three lines to variables sction of files. Then put codes below to the end of file
After pasting this codes you will have two getSlice and cloneRow functions, since i don't use cloneRow function i commented original ones and using functions above. Now you are ready to use setCheckboxMS function in your project to change state of checkboxes. To do this all you need to use is: $doc = new TemplateProcessor($filem); home it helps |
Fixed by #2509 |
Hi all,
I have a template document (*.docx) who contains any checkbox.
Actually, I use '<w:sym w:font="Wingdings" w:char="F0A8"/>'
But, is that possible to use the original checkbox and modifying the value ?
I can edit the tag in the field parameters.
Thank you for your answers...
Regards...
The text was updated successfully, but these errors were encountered: