The project Aspose for Java for Docx4j shows how different tasks can be performed using Aspose for Java APIs compared directly with Docx4j for Microsoft PowerPoint and OpenOffice presentations, specifically Pptx4j. The project also covers the features that are only available in Aspose APIs but not in Pptx4j.

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

Examples: Aspose.Slides vs Pptx4j

Listed below are some examples that show code comparisons for features available in both Aspose.Slides and Pptx4j side by side.

Working with Presentations

  • [Traverse presentation slides][4].
  • [Create a table][5].
  • [Edit existing charts][6].

Working with Slides

  • [Insert an image into a slide][7].
  • [Remove a slide from a presentation][8].

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

Examples: Features of Aspose.Slides Missing in Pptx4j

There are many features that are only available in the Aspose API but not in Pptx4j for Microsoft PowerPoint and OpenOffice. Below are some examples that illustrate these. Source code is also available on [CodePlex][13], [GitHub][14], [Bitbucket][15] and [SourceForge][16].

Working with Presentations

  • [Convert to PDF][17].
  • [Slide thumbnails][18].

Working with Slide

  • [Add an audio frame to a slide][19].
  • [Manage slide transitions][20].
  • [Manage SmartArt][21].
  • [Work with slide comments][22].

Feedback and Suggestions

  • Many more examples are available at Aspose Docs. [Keep visiting us][23].
  • Raise your queries and suggest more examples via [Aspose Forums][24] 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]: http://www.aspose.com/java/total-component.aspx [24]: http://www.aspose.com/community/forums/default.aspx