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(); }...Annotation Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Redaction Product...
GroupDocs Blog - GroupDocs Blog | Document Automation Solutions for .NET & Java Developers...be applied to any of your documents and images using C#. XML is...format like PDF or MS Word document. This article will guide you...
This article shows the internal stages of each search operation using Java search API....Annotation Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Search Product...
This page describes how the search api is used to obtain a list of supported file types....Annotation Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Search Product...
This article explains how to customize the display of revisions in the output Document in GroupDocs.Comparison for .NET....Annotation Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Comparison Product...
You can implement ILogger interface from com.groupdocs.redaction.options package. This interface requires to implement three methods:
import com.groupdocs.redaction.options.ILogger; import java.util.ArrayList; /** *
* This is an example of ILogger implementation, tracking count of error messages. *
*/ public class CustomLogger implements ILogger { private ArrayList _errors; private ArrayList _traces; private ArrayList _warnings; public boolean hasErrors() { return _errors.size() > 0; } public CustomLogger() { _errors = new ArrayList(); _traces = new ArrayList(); _warnings = new ArrayList(); } public void error(String message) { _errors....Annotation Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Redaction Product...
API allows creating of full-text and / or metadata index on Documents. To index only metadata without main content of Documents, you only need to set IndexType.MetadataIndex when creating an index....Annotation Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Search Product...
This topic describes how to use the GroupDocs.Viewer Java API to specify various options for rendering CAD files to HTML, PDF, PNG, and JPEG....Annotation Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
This article explains how to search for embedded electronic signatures with custom serialization in QR code electronic signatures. This topic contains example of custom serialization, class definition and search for serialized objects in the QR-codes with GroupDocs.Signature....Annotation Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...
This article explains how to search for embedded electronic signatures with custom encryption in QR code electronic signatures. This topic contains example of custom encryption, class definition and search for encrypted objects in the QR-codes with GroupDocs.Signature....Annotation Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...