Browse our Products

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 layoutsBughttps://docs.aspose.com/slides/java/slide-master/
SLIDESJAVA-364103D chart rotation effects are missing in exported thumbnailBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-jpg/
SLIDESJAVA-38076Specifying First Slide Number break Hyperlinks in PDFBughttps://docs.aspose.com/slides/java/manage-hyperlinks/
SLIDESJAVA-38158Text indentation is lost in generated thumbnailBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-jpg/
SLIDESJAVA-38015Support for getting portions list inside any column of text frameFeaturehttps://docs.aspose.com/slides/java/paragraph/#get-paragraph-and-portion-coordinates-in-textframe
SLIDESJAVA-38611Background changes when converting PPTX to ODPBughttps://docs.aspose.com/slides/java/save-presentation/
SLIDESJAVA-38550Incorrect formatting of images after resaving presentationBughttps://docs.aspose.com/slides/java/save-presentation/
SLIDESJAVA-38583Shadow alignment doesn’t fit text after converting PPTX to PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-38633Text becomes bold after converting presentation to SVGBughttps://docs.aspose.com/slides/java/render-a-slide-as-an-svg-image/
SLIDESJAVA-38632PPTX to HTML conversion does not endBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-html/
SLIDESJAVA-38581Incorrect rendering when converting PDFs with external fontsBughttps://docs.aspose.com/slides/java/custom-font/

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.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);

    }
}