Hello, im trying to use javascript to edit some lines of content inside a word file. Im using ".content" to append some text.
But the result is a strange encoding of the file content. There is a way using javascript to append text in a word file, without damaging it.
Thanks
A Word file (docx) is a compressed archive (ZIP) of various XML files. There is no default API or means to edit a Word file via JavaScript. Even in Java it is not so simple - you need special libraries such as DOCX4J to deal with the internal structures and references of these XML files.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.