Reputation: 15
I'm not able to remove all the comments present in docx file using Apache POI . Is there any other way of removing the comments using docx4j api ?
Upvotes: 1
Views: 611
Reputation: 15878
Sure. Basically it is 2 steps.
Step 1: find the various comment tags in the main document part and delete them.
Step 2: delete the comments part.
Upvotes: 2