The following example demonstrates how to save the redacted document, replacing an original file:
// Make a copy of sample file Files.copy(new File("Sample.docx").toPath(), new File("OverwrittenSample.docx").toPath(), StandardCopyOption.REPLACE_EXISTING); // Apply redaction final Redactor redactor = new Redactor("OverwrittenSample.docx"); try { RedactorChangeLog result = redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions(java.awt.Color.RED))); if (result.getStatus() != RedactionStatus.Failed) { SaveOptions options = new SaveOptions(); options.setAddSuffix(false); options.setRasterizeToPDF(false); // Save the document in original format overwriting original file redactor.save(options); } } finally { redactor....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...
Take look at how to convert PDF to Word in Java for document conversion and use the sample code to convert PDF to DOCX using Java in your projects straight away....Metadata Product Family GroupDocs.Search Product Family GroupDocs...
Use GroupDocs.Signature libraries to e-Sign documents with different signature types, protect documents with digital certificates, generate QR Codes and barcodes using C# or Java languages....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...
A Java metadata API can be effectively used in removing, updating and reading metadata in a variety of formats. It is very effective in removing metadata from photos. Supporting iptc metadata, exif metadata and xmp metadata....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...
The articles explain that how to save documents in different ways after making redactions....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...
This article explains how to load PDF, Word(.doc, .docx), Excel(.xls,.xlsx), PowerPoint(.ppt, .pptx) documents from stream when using GroupDocs.Merger for .NET....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...
Apply annotations to your documents in the form of textual comments, explanations with highlighted notes, watermarks, polylines, text/resource redactions and much more....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...
Note This feature is supported by version 18.10. or greater. Note The code uses some of the objects defined in The Business Layer. GroupDocs.Assembly for Java API supports the removal of paragraphs becoming empty after template syntax tags are removed or replaced with empty values. A new member **REMOVE_EMPTY_PARAGRAPHS **is added to DocumentAssemblyOptions. When this new option is applied to DocumentAssembler options through DocumentAssembler.setOptions(), the engine additionally removes empty paragraphs....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...
Note This feature is only compatible with GroupDocs.Assembly for .NET 3.2.0 or later releases. Note The code uses some of the objects defined in The Business Layer. Barcode Generation in Microsoft PowerPoint Template Syntax Add a textbox to your template at the place where you want a barcode image to be inserted. Add the following syntax: <> Tip For detailed technical information about syntax, expressions and report generation by the engine, please visit: Working with GroupDocs....Metadata Product Solution GroupDocs.Search Product Solution GroupDocs...