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.
Employees Report
Populates a table in a document with information from the database, also inserts images stored in a BLOB field into the document.
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.
Product Catalog
Creates a list of products grouped by product category. Shows how to create reports with master-child data, combine documents, move sections between documents and mail merge images stored in files outside of the database.
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.
Stamp and Watermark
Opens an existing document and inserts a watermark image and a footer with some information to indicate the document was processed by the system.

 

2. Select output format:

DOC - Microsoft Office Word 2003 Document
DOCX - Microsoft Office 2007 Open XML
HTML/XHTML - XHTML 1.0 Transitional
TXT - Plain Text
PDF - Adobe Portable Document Format (experimental, very limited, using iText)

 

3. Generate demo file:

Open in New Browser Window (requires popup blockers disabled)