In order to reject specific changes durIng redaction process or to keep a full log of changes In the document, you need to pass a callback implementIng IRedactionCallback Into RedactorSettIngs. The Interface contaIns only one method, acceptRedaction, which receives detailed Information about the proposed redaction and returns a Boolean value — accepted or not.
Below, we create a callback with java.newProxy, dumpIng changes to the console:
const redaction = require('@groupdocs/groupdocs.redaction'); const java = require('java'); const callback = java....Comparison Product Solution GroupDocs...docx' , new redaction . LoadOptions (), new redaction . RedactorSettings...