Project Aspose for Apache POI shows how different tasks can be performed using Aspose Java APIs in comparison with Apache POI. The project also covers the features that are only available in Aspose APIs but not in Apache POI for Microsoft Word.
Examples: Aspose.Words vs Apache POI-HWPF and XWPF
Below listed are some examples showing side by side code comparison for features available in both Aspose.Words and Apache POI-HWPF & POI-XWPF.
Working with Document
- Create New Word Document.
- Convert Word Doc to Other Formats.
- Extract Images from Word Document.
- Get Document Properties.
- Insert Image.
- Format Text in Document.
- Open Existing Document.
- Save Document.
Working with Headers and Footer
Working with Ranges
Working with Tables
The source code of these examples is freely hosted on popular social coding sites like CodePlex, GitHub, Bitbucket, and SourceForge.
Examples: Features of Aspose.Words missing in Apache POI WP
There are many features that are only available in Aspose API but not in Apache POI HWPF + XWPF for Microsoft Words. Below mentioned are some of these examples and source code is also available on CodePlex, GitHub, Bitbucket and SourceForge.
Working with Document
- Append Documents.
- Clone Documents.
- Protect Documents.
- Track Changes in Documents.
- Working with Bookmarks.
- Add Watermark.
Working with Text
Working with Tables
Mail Merge
Other Examples
Feedback and Suggestions
- Many more examples are available at Aspose Docs.
- Raise your queries and suggest more examples via Aspose Forums or via any of the above mentioned social coding site.