I have a docx file and I need to replace some text. This is done inside codeigniter framework; here is the code:
$this->load->library(\'word\');
$te
here i try and working well,
setValue function does not work because it include the format of word after generate to web. so the text you might replace not found.
the solution is just type your ${replaceKey} to notepad and copy it to your_template.docx it working for me.
notepad make all word format not included to the template so the function setValue can found it as expected.
Hope it Helping you guys.