docx4j
docx4j copied to clipboard
Accepting tracked revisions in a simple document does not work properly.
Steps to reproduce: Docx4j 8.3.8
Java Code: https://github.com/plutext/docx4j/blob/master/docx4j-samples-docx4j/src/main/java/org/docx4j/samples/TrackChangesAccept.java
The XSLT template: https://github.com/plutext/docx4j/blob/master/docx4j-samples-resources/src/main/resources/AcceptChanges.xslt
Sample Word file: TestSimple.docx
The resulting file still has 1 unaccepted change. We need all changes in the file to be accepted.
Maybe more structures need to be added to the XSLT template as it only handles w:ins and w:del.
I would appreciate your cooperation. Thanks.