Aspose.Slides for Java 21.11 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-42576Implement modern commentsFeature
SLIDESJAVA-38252Use Aspose.Slides for Net 21.11 featuresEnhancement
SLIDESJAVA-38640Asterisk appears when extracting text from slide masters and layoutsBug
SLIDESJAVA-364103D chart rotation effects are missing in exported thumbnailBug
SLIDESJAVA-38076Specifying First Slide Number break Hyperlinks in PDFBug
SLIDESJAVA-38158Text indentation is lost in generated thumbnailBug
SLIDESJAVA-38015Support for getting portions list inside any column of text frameFeature
SLIDESJAVA-38611Background changes when converting PPTX to ODPBug
SLIDESJAVA-38550Incorrect formatting of images after resaving presentationBug
SLIDESJAVA-38583Shadow alignment doesn’t fit text after converting PPTX to PDFBug
SLIDESJAVA-38633Text becomes bold after converting presentation to SVGBug
SLIDESJAVA-38632PPTX to HTML conversion does not endBug
SLIDESJAVA-38581Incorrect rendering when converting PDFs with external fontsBug

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 Point2D.Float(100, 100), new Date());"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

        // forEachMathElem(child);