Note The code uses some of the objects defined in The Business Layer. Template Syntax Formats Specifying String and Numeric Formats Learn more about string and numeric formats here.
Template Syntax Manager Contract Price <> <<[getName()]:upper>> <<[getContracts().sum( c => c.getPrice())]:arabicDash>> <> Total: <<[getManagers().sum( m => m.getContracts().sum( c => c.getPrice()))]>> Download Template Get template from here.
Numeric upper.docx The Code...Annotation Product Solution GroupDocs.Classification Product Solution Purchase...
The following example demonstrates how to save the redacted document, replacing an original file:
const redaction = require('@groupdocs/groupdocs.redaction'); const java = require('java'); const fs = require('fs'); const Color = java.import('java.awt.Color'); // Make a copy of sample file fs.copyFileSync('Sample.docx', 'OverwrittenSample.docx'); const redactor = new redaction.Redactor('OverwrittenSample.docx'); try { const result = redactor.apply(new redaction.ExactPhraseRedaction( 'John Doe', new redaction.ReplacementOptions(Color.RED))); if (result.getStatus() !== redaction.RedactionStatus.Failed) { const options = new redaction.SaveOptions(); options.setAddSuffix(false); options.setRasterizeToPDF(false); // Save the document in original format overwriting original file redactor....Annotation Product Solution GroupDocs.Classification Product Solution Purchase...
This article explains how to load PDF, Word, Excel, PowerPoint documents from URL when using GroupDocs.Conversion for Java....Annotation Product Solution GroupDocs.Classification Product Solution Purchase...
GroupDocs.Parser provides API to extract a text from image files and non-text PDFs documents. The following articles describe how to use API to extract data and integrate any paid or free OCR solution to GroupDocs.Parser....Annotation Product Solution GroupDocs.Classification Product Solution Purchase...
Following this guide you will learn how to save the converted PDF, Word, Excel, or PowerPoint documents to local disk, stream or FTP....Annotation Product Solution GroupDocs.Classification Product Solution Purchase...
Generate pie chart reports from JSON data with GroupDocs.Assembly for Node.js via Java....Annotation Product Solution GroupDocs.Classification Product Solution Purchase...
Following classes are added in GroupDocs.Assembly.Data namespace:
DataTable DataColumn DataColumnCollection The Recipe Define template and output report documents Assemble a document using the external document table as a data source Download Data Source Document Managers Data.pptx Template Using Presentation as Table of Data.pptx The Code...Annotation Product Solution GroupDocs.Classification Product Solution Purchase...
Following classes are added in GroupDocs.Assembly.Data namespace:
DataTable DataColumn DataColumnCollection The Recipe Define template and output report documents Assemble a document using the external document table as a data source Download Data Source Document Managers Data.docx Template Importing Word Processing Table into Presentation.pptx The Code...Annotation Product Solution GroupDocs.Classification Product Solution Purchase...