Aspose.Words for Java is a feature-rich Word Processing API allowing the developers to embed the ability to generate, modify, convert, render and print all formats supported by Microsoft Word in their own Java applications. It does not depend upon Microsoft Word, however, it provides the features that Microsoft Word supports via its APIs such as formatting of all elements, high-quality conversion to multiple formats, rendering individual pages or complete files to images, generation of reports with data from various sources, revision management and so on.
Aspose.Words for Java supports all popular formats while allowing the export or conversion to other Word Processing, fixed-layout, image, HTML, ePUB and major industry-standard formats.
Some of the advanced capabilities of API.
API can be used in any Java-based applications developed on Windows Unix/Linux and Mac platforms.
Aspose.Words for Java supports the most popular Word Processing document formats.
Mail merge & automated report generation
Table, text, paragraph & image formatting & styling
Table creation using data retrieved from the database
Interconversion of Word Processing formats
Styling of date & numeric fields during mail merge
Split or combine documents. Move sections between files.
Document encryption and the ability to load encrypted files
Find & replace text or enumerate over its elements
Preserve or extract OLE objects & ActiveX controls
Preserve or remove VBA macros
Ability to detect digital signatures
Insert HTML contents
Convert EquationXML to Office Math
LINQ Reporting Engine
Document revision Management
The ability to quickly and reliably save different formats with a high degree of precision is the reason most of our customers choose Aspose.Words. The Word processing and conversion Java API allows you to save Word files from any supported format to any other supported format with just two lines of code. It is really that simple!
// load the file to be converted Document wpd = new Document(dir + "template.doc"); // convert doc to docx, PDF and HTML wpd.save(dir + "output.docx", SaveFormat.DOCX); wpd.save(dir + "output.pdf", SaveFormat.PDF); wpd.save(dir + "output.html", SaveFormat.HTML);
Aspose.Words for Java is a fully-featured reporting solution. You can design reports in Microsoft Word and then allow API to populate files with data from a number of data sources while keeping the mail merge settings preserved. Aspose.Words for Java allows using standard Microsoft Word mail merge fields in reports. Additionally, you can use library extended syntax for mail merge fields to perform more complex tasks during the merging operations such as inserting images or repeatable regions.
Aspose.Words for Java helps developers to create, build, modify, parse and examine loaded files using our intuitive document object model that consists of over 100 classes. This object model allows the developers to programmatically create, modify, extract and replace all elements including Sections, Headers, Footers, Paragraphs, Lists, Tables, Text, Fields, Hyperlinks, Bookmarks, Images, Smart tags, Shapes, Custom XML and many other elements.
Furthermore, all drawing objects including shapes, TextBoxes, images, OLE objects, and controls are supported through this document object model, thus allowing you to perform many tasks such as inserting watermarks in pages or extracting images from a pre-existing file.
API can load and save HTML and XHTML files. The import process is resilient to documents that are not well-formed, that is; invalid or unrecognized elements or attributes can safely be ignored during the import. Conversion to HTML & XHTML is highly customizable thus allowing you to adjust a number of settings to suit the application requirements.
Aspose.Words for Java provides useful utility features such as join or split files, copy fragments between them, protect or un-protect files, modify properties and insert HTML fragments into documents. All of these features are available via easy-to-use APIs to help developers perform complex operations without worrying about the file format specifications.
// load source & destination files Document srcDoc = new Document(dir + "source.docx"); Document dstDoc = new Document(dir + "destination.docx"); // set the appended file to start from a new page srcDoc.getFirstSection().getPageSetup().setSectionStart(SectionStart.NEW_PAGE); // append the source file using its original styles dstDoc.appendDocument(srcDoc, ImportFormatMode.KEEP_SOURCE_FORMATTING); // save final result dstDoc.save(dir + "output.docx");
Aspose.Words for Java is built using managed code that does not need Microsoft Office or Microsoft Word to be installed on the machine to work with Word formats. It is a perfect Microsoft Word automation alternative in terms of supported features, security, stability, scalability, speed and price.
Don't just take our word for it. See what users have to say about Aspose.Words APIs.
With Aspose.Words, we increased efficiency at the organizational processes because we reduce the time spent in technical support activities. Now we can say that we are only focused on our core business.Paulo Lopes | Xpand IT, UK
Working with Aspose.Words has been a very satisfying and easy to implement solution. One of the best features being the quick time in which large documents are generated.Tom Daniels | Pill Creek Publishing, UK
Aspose.Words has saved us a lot of time, effort and money. It’s given our customers good reliable import/export functionality so they can open their old document in WriteOnline.Andrew Burt | Crick Software Ltd, USA