Java APIs to manipulate Word documents
Create, edit, convert or print Word documents (20+ file formats) from any Java based application.Download Free Trial
Aspose.Words for Java
Aspose.Words for Java is an advanced Java Word processing API that enables you to perform a great range of document processing tasks directly within your Java applications.
Aspose.Words for Java API supports processing word (DOC, DOCX, OOXML, RTF) HTML, OpenDocument, PDF, EPUB, XPS, SWF and all image formats. With Aspose.Words you can generate, modify, and convert documents without using Microsoft Word.
At A Glance
Some of the advanced capabilities of Aspose.Words for Java.
- Business Objects
- LINQ Reporting Engine
- PNG, JPEG, BMP, GIF
- XPS, OpenXPS
- PDF, PDF/A-1b, PDF/A-1b
- PostScript (PS)
- XamlFixed, XamlFlow or XamlFlowPack
This diagram highlights how Aspose.Words for Java can be used on a variety of platforms. Aspose.Words for Java fully supports the Java based Windows and JSP/JSF Web applications developed in Windows Unix/Linux and Mac platforms. It supports Java 1.6, 1.7 and 1.8 and will run in any place where Java is installed.
- JSP/JSF Application
- Desktop Application
Supported File Formats
Aspose.Words for Java supports the popular word (DOC, DOT, DOCM, DOTM, DOCX, DOTX, FlatOpc, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled, XML, ODT, OTT, OOXML, WordML, RTF, HTML, XHTML, MHTML & TXT) file formats that your business depend on. It also allows exporting or converting word documents to PDF, XPS, XamlFixed, XamlFlow, XamlFlowPack, EPUB, HTML, HtmlFixed, OpenXPS, PostScript, TXT and popular image/multimedia file formats including TIFF, JPG, PNG, BMP, SVG, SVG and SWF.
- Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, DOCM FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
- OpenOffice: ODT, OTT
- WordprocessingML: XML
- Web: HTML, MHTML
- Text: TXT
- Fixed Layout: PDF, PDF/A, XPS, OpenXPS, PostScript (PS)
- Graphics: TIFF, JPEG, PNG, BMP, SVG, EMF, GIF, SWF
- Web: HtmlFixed
- Others: EPUB, XamlFixed, XamlFlow, XamlFlowPack
Advanced Java Word Document Processing API Features
Perform mail merge
Generate reports using mail merge
Insert formatted text, paragraphs, images, tables and other content into a Word document
Populate a table in a Word document using data retrieved from a database
Create mailing labels
Combining documents, moving sections between documents, and mail merging images stored in files outside of the database
Mail merge data from multiple tables, format date and numeric fields
Insert a watermark into a document
Update field results IF, formula and other popular field types
Join and split documents
Specify document protection, open protected and encrypted documents
Find and replace text, enumerate over document content
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
Convert Between Supported Document Formats with High Fidelity
With Aspose.Words you can convert between all supported documents formats (DOC, DOCX, PDF, WordProcessingML, RTF, HTML, XHTML, MHTML, OpenDocument ODT, XPS, SWF, TXT and EPUB) quickly and reliably using our high fidelity processing engine.
Programming With A Document Object Model
Aspose.Words for Java API allows developers to create, build, modify, parse and examine loaded documents using our intuitive document object model that consists of over 100 classes.
Documents Content Features
Developers can programmatically create, modify, extract and replace all document elements including Sections, Headers, Footers, Paragraphs, Lists, Tables, Text, Fields, Hyperlinks, Bookmarks, Images, Smart tags, Shapes, Custom XML and many other document element features too.
Document Formatting Features
Developers can specify detailed formatting for any document element. All drawing objects including shapes, textboxes, images, OLE objects and controls are supported through this document object model and you can perform many tasks such as inserting watermarks in pages or extracting images from a pre-existing document.
Aspose.Words for Java API also provides useful utility features such as joining or splitting documents, copying fragments between documents, protecting and unprotecting documents, modifying document properties and inserting HTML fragments into documents.
Reporting And Mail Merge Features
You can use Aspose.Words for Java as a fully featured reporting solution. Design your reports in Microsoft Word and then allow Aspose.Words for Java to populate documents with data from a number of data sources, keeping the mail merge setting preserved.Aspose.Words for Java allows developers to use standard Microsoft Word mail merge fields in reports. Additionally, you can use the Aspose.Words for Java extended syntax for mail merge fields to perform more complex tasks during mail merge operations such as inserting images or repeatable regions.The data to drive your reports or mail merges can come from ResultSet objects, business objects or from a completely custom data source.
Microsoft Office Automation - Not Needed
Aspose.Words for Java APIs are built using managed code that do never need Microsoft Office or Microsoft Word to be installed on the machine to work with Word document formats. It is a perfect Microsoft Word automation alternative in terms of supported features, security, stability, scalability, speed and price.
Aspose.Words offers individual Word processing APIs for other popular development environments as listed below: