My .docx file created with opentbs is unreadable. It contains the tags that causes the error. When I delete them the file is ok
I added this code to force the removal of tags but they are still in my file
$bookmark = array('w:bookmarkStart', 'w:bookmarkEnd');
$TBS->PlugIn(OPENTBS_SELECT_FILE, 'word/document.xml'); $TBS->PlugIn(OPENTBS_DELETE_ELEMENTS, $bookmark); $TBS->Show(OPENTBS_DOWNLOAD,'balise_'.$this->oGest_balise->numero_implantation_balise.'.docx');
Are the bookmark tags added by OPENTBS-DOWNLOAD ? How to avoid it?
Thank you for your propositions