Welcome to the Aspose.Words for Java Featured Demos!

Important: To produce Word documents, the machine to run Aspose.Words for Java does not need to have Microsoft Word and Windows installed. However, to view the contents of Word documents produced by demos, the machine to view them needs at least Microsoft Word Viewer installed. Microsoft Word Viewer can be downloaded for free.

In all of these examples no OLE automation is used, all work is performed by Aspose.Words for Java without Microsoft Word installed on the web server.

Garbage text and evaluation watermark are injected into documents when this demo runs without a license in evaluation mode.

 

1. Choose a sample to execute:

Dinner Invitation
Creates a letter for a list of clients defined in the database. Shows how to use "simple" mail merge, similar to the classic mail merge available in Microsoft Word.
Mailing Labels
Prints company names and addresses on mailing labels. Shows how to use NEXT field and how to merge from DataReader.
Sales Invoice
Creates an invoice with order header, details and summary. Shows how to mail merge data from multiple tables, format date and numeric fields and use merge regions to grow portions of the document.
Alternating Rows
Creates a list of products with alternating table row colors. Shows how to use DocumentBuilder inside mail merge event handler.
Document Builder
Manipulates a document programmatically. Inserts formatted text, paragraphs, images, tables and other content into a Word document.

 

2. Select output format:

DOC - Microsoft Office Word 2003 Document
PDF - Adobe Portable Document Format (experimental, very limited, using iText)

 

3. Generate demo file:

Open in New Browser Window (requires popup blockers disabled)