Aspose.Words is a Java API that provides programmers with a vast range of document processing capabilities within their Java applications. Developers can Automate, Modify, Render, Generate, Convert, and Print documents without using Microsoft’s Word processing suite MS Word. Aspose.Words supports many popular document formats, including DOC, OOXML, RTF, HTML, OpenDocument, PDF, XPS, EPUB.
Aspose.Words for Java is a Word format automation API that enables developers to perform an expansive number of tasks from their Java applications. Developers can View, Generate, Modify, Convert, Render, and Print documents and files without using Microsoft Word.
Supported Document Formats
Aspose.Words Input/Output Formats
- Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, DOCM FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
- OpenOffice: ODT, OTT
- WordprocessingML: WordML
- Web: HTML, MHTML
- Text: TXT
Aspose.Words Output Formats
- Fixed Layout: PDF, PDF/A, XPS, OpenXPS, PostScript (PS)
- Images: TIFF, JPEG, PNG, BMP, SVG, EMF, GIF
- Web: HtmlFixed
- Others: PCL, EPUB, XamlFixed, XamlFlow, XamlFlowPack
Aspose.Words Intput Formats
Rendering, Printing, and Viewing Word Documents
With the Aspose.Words for Java conversion and print engine developers can programmatically print from MS Word, OpenOffice, Text, Web formats to PDF, TIFF, PNG, BMP, JPEG, SVG, EMF, and more. Rendering any document page onto a Java Graphic Object is made simple with Aspose.Words
Developers can easily create print and/or preview documents seamlessly from within their application with a few lines of code with Aspose.Words for Java because its interface operates as though it’s natively integrated with the Java printing engine. This also ensures print fidelity of the highest level, comparable to printing natively from MS Word.
Programming with the Document Object Model
Developers can create, format, build, and modify documents by using Aspose.Words for Java’s rich and intuitive Document Object Model that comprises of over 100 classes. They can create, modify, extract and replace all document elements, including sections, headers, footers, paragraphs, lists, tables, text, fields, hyperlinks, bookmarks, and images with a few lines of code.
Detailed formatting can be specified for any document element, including shapes, text boxes, images, OLE objects, and controls drawing.
Even the most complex and deeply nested expressions containing IF blocks, formulas, and other fields both during mail merge operations or performing an explicit field update are handled with Aspose.Words for Java
Document concatenation, stitching, security, and other document properties can be programmatically set/amended via the Document Object Model.
Reporting and Mail Merge
Using Aspose.Words for Java with an ADOJava data table or any 3rd party data source Mail Merge is seamless. You can also build complex reports in Microsoft Word and populate them with data from a wide range of data sources including, relational and flat databases, XML, JSON, OData, objects of custom CLR types, external documents, and more.