Word Document Processing Android APIs
Generate, Manipulate, Convert and Render Word files from within Android apps without depending upon Microsoft Word.Download Free Trial
Aspose.Words for Android via Java
Aspose.Words for Android via Java is a Word Document Processing API enabling you to perform document manipulation tasks directly within your Android applications. API allows you to easily create, manipulate, convert and render Microsoft Word files.
Aspose.Words for Android via Java supports processing native Microsoft Word formats such as DOC, DOCX, OOXML, TXT, RTF as well as many other commonly used formats such as HTML, OpenDocument ODT, PDF, EPUB, XPS and image formats such as JPEG, PNG, SVG and EMF.
At A Glance
Some of the advanced capabilities of Aspose.Words for Android via Java.
- Open Document
- PDF, PDF/A-1a, PDF/A-1b
- Business Objects
- LINQ Reporting Engine
Aspose.Words for Android via Java is available for Android OS 2.0 and up.
- Mobile Application
Supported File Formats
Aspose.Words for Android via Java supports following file formats.
- Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, DOCM FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
- OpenOffice: ODT, OTT
- WordprocessingML: WordML
- Web: HTML, MHTML
- Text: TXT
- Fixed Layout: PDF, PDF/A, XPS, OpenXPS, PostScript (PS)
- Graphics: JPEG, PNG, SVG, EMF, GIF, TIFF, BMP
- Web: HtmlFixed
- Others: PCL, EPUB, XamlFixed, XamlFlow, XamlFlowPack
Advanced Android Word Processing API Features
Inter-convert file formats
Create Word files from scratch
Modify, convert and render documents
Generate & modify Word tables, rows and cells
Create & modify bookmarks
Create & update Word fields
Find & replace text
Format tables & cells
Mail merge and reporting
Join & append documents
Render documents to images & fixed-layout formats
File Formats Conversion
The ability to quickly and reliably convert different files with a high degree of precision is the reason most of our customers choose the API. Android Microsoft Word API allows you to convert files from any supported format to any other supported format e.g convert any document to SWF with high fidelity and the generated SWF contains the document pages and an embedded viewer allowing the document to be viewed on any device. Developers can easily convert formats using just two lines of code.
Save document in different formats - Java
// load the file to be converted Document doc = new Document(SD_PATH + "template.doc"); // save in different formats doc.save(SD_PATH + "output.docx", SaveFormat.DOCX); doc.save(SD_PATH + "output.pdf", SaveFormat.PDF); doc.save(SD_PATH + "output.html", SaveFormat.HTML);
Support for OOXML, Flat OPC and Word 2003 XML
Aspose.Words for Android via Java provides extensive support for loading, viewing, saving and converting WordprocessingML documents. Such comprehensive implementation is possible because API designed with the structure of Microsoft Word documents in mind (and WordprocessingML is known to mimic the internal representation of Microsoft Word documents) thus making it simple for us to include support for these implementations into our core product engine.
Load & Save HTML Formats
Android Word APIs' HTML and XHTML import is resilient to documents that are not well-formed. Invalid or unrecognized elements or attributes are safely ignored during the import process whereas the conversion to HTML and XHTML formats is customizable. Many parameters like the export of document properties, headers and footers, image locations, scaling and resolution, form field export options and others can all be specified.
Manipulation with Document Object Model
Aspose.Words for Android via Java allows developers to create, build and modify documents - including document formatting with an intuitive document object model that consists of over 100 classes.
Android developers can programmatically create, modify, extract and replace all document elements including sections, headers, footers, paragraphs, lists, tables, text, fields, hyperlinks, bookmarks, and images. The API also allows specifying detailed formatting for drawing objects including shapes, text boxes, images, OLE objects, and controls.
Reporting & Mail Merge
You can use Android Microsoft Word API as a fully featured reporting solution. Design reports in Microsoft Word and then allow API to populate documents with data from various sources.
Aspose.Words for Android via Java allows developers to use standard Microsoft Word mail merge fields in reports. Additionally, you can use APIs' extended syntax for mail merge fields to perform more complex operations during mail merge operations such as inserting images or repeatable regions. The data that drives your reports and mail merges can come from ResultSet objects, business objects or from a completely custom data source.