Aspose template - JAVA

Hi ,


I need to generate a document as a format attached using the aspose code.
Can u help me with same.

Attaching the template for the reference.
Hi Shilpa,

Thanks for your inquiry. Please refer to the following articles:
Use DocumentBuilder to Insert Document Elements
Using DocumentBuilder to Modify a Document

Your document contains the text columns. You can create the text columns and tables as shown in your document using Aspose.Words. Following code example show how to create text columns and insert text in them. Please check following article about creating tables. Hope this helps you.
Creating Tables

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.getCurrentSection().getPageSetup().setPageWidth(842);

TextColumnCollection columns = builder.getPageSetup().getTextColumns();

// Create two columns, note they will be created with zero widths, need to set them.
columns.setCount(2);

builder.writeln("column 1.");
builder.insertBreak(BreakType.COLUMN_BREAK);
builder.writeln("column 2.");

doc.save(MyDir + "Out v17.2.0.docx");