Product Version: “^8.0.0”
Please give a brief summary of your issue: Want to save annotations back to docx file.
Please describe your issue and provide steps to reproduce it:
I want to load docx and pdf format file in the webviewer. I don’t have any issue in loading the file in the viewer. I made annotations and tried to save the file. We are able to achieve it using pdf file, but in the docx file annotations are not getting saved.
Please provide a link to a minimal sample where the issue is reproducible:
In the below sample:
1.Replace the initialdoc value with local docx file( We can place it in the client folder).
2.Provide the appropriate name to save the docx file.
3.Right click and make annotations ,then click on save button.
4.we are getting alert as “Annotations saved to the document”, but actually its not overwriting the file.
Note: I am trying to implement this in the React application. I tried to convert the doc to pdf with the below code, but I am not able to do that too.
const PDFNet = instance.PDFNet
const pdfdoc = await PDFNet.Convert.office2PDF(data) ;