docx4j icon indicating copy to clipboard operation
docx4j copied to clipboard

Accepting tracked revisions in a simple document does not work properly.

Open guzman-rc opened this issue 2 years ago • 0 comments

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.

guzman-rc avatar Jan 03 '23 19:01 guzman-rc