Render tracked changes

GroupDocs.Viewer does not render tracked changes of Word Processing documents by default. If you want to see tracked changes in your rendering result, use setRenderTrackedChanges(…) property of WordProcessingOptions that can be set using property setWordProcessingOptions(…) of HtmlViewOptionsJpgViewOptionsPngViewOptions or PdfViewOptions class and pass it to Viewer object constructor.

Follow below steps to render WordProcessing document with tracked changes.

The following code sample shows how to render a Word document including tracked changes.

    try (Viewer viewer = new Viewer("sample.docx")) {
        HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources();

More resources

GitHub Examples

You may easily run the code above and see the feature in action in our GitHub examples:

Free Online App

Along with full-featured Java library we provide simple but powerful free Apps. You are welcome to view Word, PDF, Excel, PowerPoint documents with free to use online GroupDocs Viewer App.