Project Aspose for Java for Docx4j shows how different tasks can be performed using Aspose for Java APIs in comparison with Docx4j for spreadsheets, particularly Xlsx4j. The project also covers the features that are only available in Aspose APIs but not in Xlsx4j for Microsoft Excel and Open Office spreadsheets.

Some of the examples are available to download [![][3] to give you a better idea of how the APIs work. Many more detailed examples are available at Aspose Docs.

Examples: Aspose.Cells vs Xlsx4j

Below are some examples that show code comparison side by side
for features available in both Aspose.Cells and Xlsx4j.

Working with Spreadsheets

  • [Create new spreadsheet][4].
  • [Open and save spreadsheet][5].
  • [Add comments in spreadsheet][6].
  • [Add images to spreadsheet][7].
  • [Row column height adjustment][8].

Source code of these examples is freely hosted on popular social coding sites like [CodePlex][9], [GitHub][10], [Bitbucket][11] and [SourceForge][12].

Examples: Features of Aspose.Cells Missing in Xlsx4j

There are many features that are only available in Aspose API but not in Xlsx4j for Microsoft Excel and OpenOffice. Mentioned below are some of these examples. Source code is also available on [CodePlex][13], [GitHub][14], [Bitbucket][15] and [SourceForge][16].

Data Handling Features

  • [Find value in cells][17].
  • [Calculate sub-totals][18].
  • [Import Data to Worksheets][19].
  • [Export Data from Worksheets][20].
  • [Sort Data][21].

Working with Charts

  • [Create charts][22].
  • [Convert Chart to Image][23].
  • [Create Pivot Charts][24].

More Examples

  • [Set print titles][25].
  • [Convert XLS to PDF][26].

Feedback and Suggestions

  • Many more examples are available at Aspose Docs. [Keep visiting us][27].
  • Raise your queries and suggest more examples via [Aspose Forums][28] or via any of the above mentioned social coding site.

[3]: https://blog.aspose.com/wp-content/uploads/sites/2/2014/10/download-s1.png “Download Examples”)](https://downloads.aspose.com/total [4]: https://docs.aspose.com/ [5]: https://docs.aspose.com/ [6]: https://docs.aspose.com/ [7]: https://docs.aspose.com/ [8]: https://docs.aspose.com/ [9]: https://en.wikipedia.org/wiki/CodePlex [10]: https://github.com/asposemarketplace/Aspose_Java_for_Docx4j [11]: https://bitbucket.org/asposemarketplace/aspose-java-for-docx4j/ [12]: https://sourceforge.net/projects/asposejavafordocx4j/ [13]: https://en.wikipedia.org/wiki/CodePlex [14]: https://github.com/asposemarketplace/Aspose_Java_for_Docx4j [15]: https://bitbucket.org/asposemarketplace/aspose-java-for-docx4j/ [16]: https://sourceforge.net/projects/asposejavafordocx4j/ [17]: https://docs.aspose.com/ [18]: https://docs.aspose.com/ [19]: https://docs.aspose.com/ [20]: https://docs.aspose.com/ [21]: https://docs.aspose.com/ [22]: https://docs.aspose.com/ [23]: https://docs.aspose.com/ [24]: https://docs.aspose.com/ [25]: https://docs.aspose.com/ [26]: https://docs.aspose.com/ [27]: http://aspose.com [28]: http://forum.aspose.com