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(); }...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article gives the knowledge about nesting search queries in object form using Java search API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
The page describes how to load PDF, Word, Excel, PowerPoint documents from local disk using GroupDocs.Annotation for Java....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Check this guide to learn how to adjust PNG and JPG images size when rendering documents with Image Viewer by GroupDocs for Java....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to replace missing font when rendering documents with GroupDocs.Viewer within your Java applications....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
I have a DOCX file with the following template <<[heading]>>. My data source is a JSON like follows:
{
“heading”: “100.2.1”
}
When generating a DOCX from this template and data the output is something like
Fri Jan 3…...Date instead of text GroupDocs.Assembly Product Family java evargaslexipol...
In this manual, you will learn about the installation, basic features, licensing, system requirements, supported platforms of GroupDocs.Comparison for Java...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
In this manual, you will learn about the installation, basic features, licensing, system requirements, supported platforms of GroupDocs.Comparison for Python via .NET...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This section describes how to get started with GroupDocs.Conversion for Python via .NET library in order to convert files...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This section describes how to get started with GroupDocs.Conversion for Java library to convert files...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...