Browse our Products
Aspose.Slides for Android via Java 21.11 Release Notes
This page contains release notes for Aspose.Slides for Android via Java 21.11
Key | Summary | Category |
---|---|---|
SLIDESANDROID-332 | Use Aspose.Slides for Java 21.11 features | Enhancement |
Public API Changes
Modern Comments are now supported
We implemented support for PowerPoint Modern Comments.
For modern comments, we added the ModernComment class. We added the AddModernComment and InsertModernComment methods to CommentCollection. Using these methods, you can add a modern comment to a slide.
This code snippet demonstrates the addition of a modern comment to a slide:
Presentation pres = new Presentation();
try {
ICommentAuthor newAuthor = pres.getCommentAuthors().addAuthor("Some Author", "SA");
IModernComment modernComment = newAuthor.getComments().addModernComment("This is a modern comment", pres.getSlides().get_Item(0), null, new android.graphics.PointF(100, 100), new Date());
pres.save("pres.pptx", SaveFormat.Pptx);
} finally {
if (pres != null) pres.dispose();
}
Obsolete enumeration SlideOrienation has been removed
Obsolete enumeration SlideOrienation
has been removed. Use the SlideOrientation enumeration instead.
IMathElement.GetChildren has been added
GetChildren method has been added to the IMathElement interface.
Method declaration:
/**
* <p>
* Get children elements
* </p>
*/
public IMathElement[] getChildren();
Usage example:
private static void forEachMathElement(IMathElement root)
{
for (IMathElement child : root.getChildren())
{
//do some action with child
//...
//recursive
// forEachMathElem(child);
}
}