The following example demonstrates how to save file in its original format with current date as a suffix:
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); SaveOptions saveOptions = new SaveOptions(); saveOptions.setAddSuffix(true); saveOptions.setRasterizeToPDF(false); saveOptions.setRedactedFileSuffix(new SimpleDateFormat("dd-MM-yyyy").format(new Date())); // Saving in original format with date as DateTime.getNow().toShortDateString()a suffix redactor.save(saveOptions); } finally { redactor.close(); }...The following example demonstrates how to save file in its original format with current date as a suffix:
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); SaveOptions saveOptions = new SaveOptions(); saveOptions.setAddSuffix(true); saveOptions.setRasterizeToPDF(false); saveOptions.setRedactedFileSuffix(new SimpleDateFormat("dd-MM-yyyy").format(new Date())); // Saving in original format with date as DateTime.getNow().toShortDateString()a suffix redactor.save(saveOptions); } finally { redactor.close(); }
Node.js, Java, and OS requirements for GroupDocs.Redaction for Node.js via Java....Node.js, Java, and OS requirements for GroupDocs.Redaction for Node.js via Java.
This article shows the implementation of Redactor class which supports the rendering of the document preview in JPEG, PNG and BMP....Redaction, class supports rendering...
Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET......Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET...
Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET......Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Redact Word in CSharp on GroupDocs Blog | Document Automation Solutions for .NET...
Find and replace text on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Find and replace text on GroupDocs Blog | Document Automation Solutions for .NET......Find and replace text on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Find and replace text on GroupDocs Blog | Document Automation Solutions for .NET...
case sensitive find and replace on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in case sensitive find and replace on GroupDocs Blog | Document Automatio......case sensitive find and replace on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in case sensitive find and replace on GroupDocs Blog | Document Automatio...
how to redact in word on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in how to redact in word on GroupDocs Blog | Document Automation Solutions for .NET......how to redact in word on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in how to redact in word on GroupDocs Blog | Document Automation Solutions for .NET...
how to redact PDF in Java on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in how to redact PDF in Java on GroupDocs Blog | Document Automation Solutions ......how to redact PDF in Java on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in how to redact PDF in Java on GroupDocs Blog | Document Automation Solutions ...
how to redact Word in Java on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in how to redact Word in Java on GroupDocs Blog | Document Automation Solution......how to redact Word in Java on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in how to redact Word in Java on GroupDocs Blog | Document Automation Solution...