Calculate Formula The Recipe Set up source document template path Set up destination report path Instantiate DocumentAssembler class Set options, DocumentAssemblyOptions.UPDATE_FIELDS_AND_FORMULAS Generate report Download Template Get the template from here.
Update formula.xlsx The Code...Metadata Product Solution GroupDocs...Family / GroupDocs.Assembly for Java / Developer Guide / Advanced...
Following this guide you will learn how to save the converted PDF, Word, Excel, or PowerPoint documents to local disk, stream or FTP....Metadata Product Solution GroupDocs...Family / GroupDocs.Conversion for Java / Developer guide / Converting...
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...Metadata Product Solution GroupDocs...Family / GroupDocs.Assembly for Java / Developer Guide / Advanced...
Note The code uses some of the objects defined in The Business Layer. Barcode Generation in Microsoft Word Template Syntax Add a textbox to your template at the place where you want a barcode image to be inserted. Add the following syntax: <> Download Template Get the template from here.
Barcode.docx The Code...Metadata Product Solution GroupDocs...Family / GroupDocs.Assembly for Java / Developer Guide / Advanced...
This article explains how to load from stream while using GroupDocs. Watermarks Java API....Metadata Product Solution GroupDocs...Family / GroupDocs.Watermark for Java / Developer Guide / Advanced...
This article explains how to load PDF, Word, Excel, PowerPoint documents from local disk when using GroupDocs.Merger for Java....Metadata Product Solution GroupDocs...Family / GroupDocs.Merger for Java / Developer Guide / Loading...
Load from Stream As an alternative to a local file, Redactor can open a document from stream.
The following example demonstrates how to load and redact a document using Stream:
final FileInputStream stream = new FileInputStream("sample.docx"); try { final Redactor redactor = new Redactor(stream); try { // Here we can use document instance to make redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor.close(); } } finally { stream.close(); }...Metadata Product Solution GroupDocs...Family / GroupDocs.Redaction for Java / Developer Guide / Advanced...
Load from local disc GroupDocs.Redaction.Redactor class is a main class in Redaction API, providing functionality to open a document. When document is located on the local disk, you can pass its path to *Redactor *class constructor.
The following example demonstrates how to open a document from local disc:
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor....Metadata Product Solution GroupDocs...Family / GroupDocs.Redaction for Java / Developer Guide / Advanced...