Aspose.Words

Feature Overview

The tables below summarize Aspose.Words for Java features and provide links to detailed feature descriptions.

Most of the screenshots in this section demonstrate documents generated by Aspose.Words and then opened for viewing in Microsoft Word and other applications.

Supported Platforms

The platforms Aspose.Words for Java can be used with are listed below. If you need support for more platforms, look for the "twin brother" product Aspose.Words for .NET.

Feature

Description

Java

Aspose.Words for Java is available for Java 1.4, 1.5 and 1.6 and will run in any place where Java is installed.

File Formats and Conversions

Many customers worldwide rely on the thorough document import and export features provided by Aspose.Words.

Feature

Description

High-Quality Conversions

Quickly and reliably, convert between several popular document formats.

Microsoft Word (DOC)

The fastest and most complete DOC format implementation you can find.

WordprocessingML (DOCX, XML)

Aspose.Words provides exhaustive support OOXML, Flat OPC and also Word 2003 XML.

Rich Text Format (RTF)

Comprehensive support of the RTF format to interact with a variety of applications.

HTML, XHTML and MHTML

Load and save HTML/XHTML for even greater interoperability. Save as MHTML is also available.

OpenDocument (ODT)

Aspose.Words can load and save documents in the OpenDocument Text (.odt) format.

Adobe Portable Document Format (PDF)

Convert any document to PDF with high fidelity. PDF/A is supported.

XML Paper Specification (XPS)

Convert any document to XPS with high fidelity.

Macromedia Flash File Format (SWF)

Convert any document to SWF with high fidelity. The generated SWF contains the document pages and an embedded viewer allowing the document to be viewed on any device.

Plain Text (TXT)

Easily extract text by saving in plain text format.

Digital Publishing (EPUB)

EPUB is a popular format for eBooks. You can convert any document from Aspose.Words to the IDPF EPUB format.

Rendering and Printing

Aspose.Words now provides high fidelity rendering of document pages.

Feature

Layout document into pages with high fidelity (exactly like Microsoft Word® would do that) to all the formats below.

Render individual pages or complete documents to PDF, XPS or SWF.

Render document pages to raster images (Multipage TIFF, PNG, JPEG, BMP).

Render pages to a Java Graphics object to a specific size.

Print document pages using the Java printing infrastructure.

Update TOC, page numbers and other fields before rendering or printing.

Document Content Features

Aspose.Words provides a rich object model that consists of over 100 public classes, which allow you to programmatically generate, combine, modify, parse or otherwise examine loaded documents.

Feature

Access, create and modify paragraphs and text.

Access, create and modify images, textboxes and shapes.

Access, create and modify tables, rows and cells.

Access, create and modify fields, form fields, hyperlinks and bookmarks.

Access, create and modify document sections, headers and footers.

Access, create and modify footnotes, endnotes and comments.

Access, create and modify Custom XML, SmartTags and Structured Document Tags (Content Controls).

Access and modify all document elements using XmlDocument-like classes and methods.

Update field results IF, formula and other popular field types.

Rebuild and update Table Of Contents (TOC) fields exactly like Microsoft Word does it.

Copy and move document elements between documents.

Join and split documents.

Get and set built-in and custom document properties.

Specify document protection, open protected and encrypted documents.

Find and replace text, enumerate over document content.

Accept all revisions in a document.

Preserve or extract OLE objects and ActiveX controls from the document.

Preserve or remove VBA macros from the document. Preserve VBA macros digital signature.

Detect digital signatures in documents.

Insert HTML text.

Document Formatting Features

Aspose.Words provides detailed programmatic access to formatting properties of all document elements.

Feature

Access and modify all character formatting including fonts, colors, effects, borders and shading.

Access and modify all paragraph formatting including indents, spacing, borders and shading, tab stops.

Access and modify all bulleted and numbered lists formatting including numbering and levels.

Access and modify table formatting including alignment, orientation, borders and shading.

Access and modify all section properties including paper size, margins and orientation.

Access, create and modify document styles.

Access and modify drawing objects including position, size, line and fill properties, image bytes.

Reporting Features

You can use Aspose.Words as a reporting solution on its own. Design your reports in Microsoft Word and then have Aspose.Words populate documents with data from various data sources.

Feature

Use all standard Microsoft Word mail merge fields in your reports including MERGEFIELD, NEXT, NEXTIF, ADDRESSBLOCK, GREETINGLINE.

Execute mail merge for documents that contain even the most complex and nested IF fields and formulas.

Populate and dynamically grow tables or fragments in the document from your data source using mail merge regions.

Easily generate reports that contain master-detail (parent-child) data such as Order/OrderDetails.

Populate documents with data from any Java data source that implements the ResultSet interface.

Populate documents from any data source such as a XML file or business objects by implementing the IMailMergeDataSource interface.

Take precise control, such as number formatting, over how your data is merged using events.

Insert images during mail merge.

Programmatically create or modify a Microsoft Word mail merge data source for a document. Preserve mail merge settings and data sources.

Retrieve mail merge field names.