Supported Features

Aspose.Words provides users with a wide range of features. Users can perform a huge amount of document-related tasks – from simply converting documents from one supported format to another and modifying those documents during the conversion process to business tasks, such as creating structured and visually appealing documents or automating reporting.

Modern document formats and standards are complex, and when you require document conversion or other document processing features in your project, the only practical solution is often to rely on a third-party component that implements the desired functionality. But using a third-party component always carries some risk. One of the unique risks in document processing is the question about how completely and correctly the library implements a particular document format or standard.

Aspose is committed to delivering the most complete and accurate implementations of document formats and standards. The Aspose.Words team demonstrates their commitment to interoperability by providing detailed implementation notes for supported document formats across multiple platforms.

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

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.6, 1.7 and 1.8 and will run in any place where Java is installed.

File Formats and Conversions

Feature Description
Microsoft Word (DOC) (load and save) The fastest and most complete DOC format implementation you can find.
WordprocessingML (DOCX, XML) (load and save) Aspose.Words provides exhaustive support OOXML, Flat OPC, and also Word 2003 XML.
Rich Text Format (RTF) (load and save) 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) (load and save) Convert any document to XPS with high fidelity.
Plain Text (TXT) (load and save) 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 or XPS.
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.
3D Effects Rendering through the OpenGL

Document Content Features

Feature
Access, create, and modify paragraphs and text.
Access, create and modify images, text boxes, 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 as Microsoft Word does.
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.
Extract VBA Macros from Word Document.

Document Formatting Features

Aspose.Words provides detailed programmatic access to the 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.

Mail Merge Features

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 an 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 a 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.

Reporting Features

LINQ Reporting Engine is an advanced reporting tool enabling you to generate documents based upon template documents and data obtained from various sources including databases, XML, JSON, OData, objects of custom CLR types, external documents, and more out of the box.

Key Features
Support of C# syntax and LINQ extension methods directly in templates (even for ADO.NET data sources)
Support of repeatable and conditional document blocks (loops and conditions) for tables, lists, and common content
Support of dynamically generated charts and images
Support of insertion of outer documents and HTML blocks into a document
Support of multiple data sources (including of different types) for the generation of a single document
Built-in support of data relations (master-detail)
Comprehensive support of various data manipulations such as grouping, sorting, filtering, and others directly in templates
WYSIWYG: A generated document retains the same formatting of its elements as a corresponding template has