Aspose.Words for Java is a class library that enables your applications to perform a great range of document processing tasks. Aspose.Words supports DOC, DOCX, RTF, HTML, OpenDocument, PDF, XPS, EPUB and other formats. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word®.
Using Aspose.Words for Java in your project gives you the following benefits:
· Rich Set of Features
· No Microsoft Word Automation
· Platform Independence
· Performance and Scalability
· Minimal Learning Curve
Aspose.Words for Java features can be divided into four main areas:
· Conversions. High quality conversions to and from DOC, OOXML, RTF, WordprocessingML, HTML, MHTML, TXT and OpenDocument formats.
· Document Object Model. Programmatic access through a rich API to all document elements and formatting allows to create, modify, extract, copy, split, join, and replace document content.
· Rendering. Convert whole documents or pages to PDF, XPS or SWF for server-side document generation. Also convert document pages to TIFF, PNG or BMP images, print or render pages to Java Graphics. All with high fidelity - exactly like Microsoft Word® would have done it.
· Reporting. Generate documents or reports from scratch or by filling templates with data from data sources or business objects.
The main feature areas of Aspose.Words for Java and how they relate to each other.
Aspose.Words does not require Microsoft Office to be installed on the machine in order to work. All Aspose components are totally independent and are not affiliated with, nor authorized, sponsored, or otherwise approved by Microsoft Corporation. In short, Aspose.Words is a better alternative to automation in terms of security, stability, scalability/speed, price and features.
Aspose.Words for .NET and Aspose.Words for Java are “twin brothers” products and together cover most of the popular development environments and deployment platforms.
Both Aspose.Words for .NET and Aspose.Words for Java run on Windows, Linux and Mac OS operating systems.
You can use Aspose.Words for .NET to build any type of a 32-bit or 64-bit .NET application including ASP.NET, WCF, WinForms etc. It is possible to use Aspose.Words for .NET via COM Interop from ASP, Perl, PHP and Python. You can also use Aspose.Words for .NET to build applications with Mono.
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. It is possible to use Aspose.Words for Java from Perl, PHP and Python.
Aspose.Words is designed to perform great both on a server or client. Aspose.Words is a single JAR archive that can be deployed with any Java application by simply copying it. You do not have to worry about any other services or modules.
You can literally generate thousands of documents in minutes with Aspose.Words and that involves opening a document, modifying content and formatting or populating it with data and saving it. Even most of the complex documents are opened and saved on a P4 2.4Ghz 1Gb RAM machine in fractions of a second.
Aspose.Words is multithread safe as long as only one thread works on a document at a time. It is a typical scenario to have one thread working on one document. Different threads can safely work on different documents at the same time.
Although there are over 150 public classes and enumerations in Aspose.Words, the learning curve is minimal because the Aspose.Words API has been carefully designed with the following goals in mind:
· Borrow best practices from other well-known APIs such as Microsoft Word Automation.
· Borrow best practices from the industry accepted Java design guidelines.
· Provide a balance of easy usage vs detailed document element manipulation.
Developers, who used Microsoft Word Automation in their projects before, will find names and behavior of many classes, methods and properties familiar. Document, Paragraph, Bookmark, Range, Section.PageSetup, Paragraph.ParagraphFormat are some of the Aspose.Words classes.
At the same time, Aspose.Words is quite different from the Microsoft Word Object Model in that it represents the document as a tree of objects more like an XML DOM tree. If you worked with any XML DOM library you will find it is easy to understand and work with Aspose.Words.