Browse our Products

Aspose.Slides for Java 23.2 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-43589Math equations on images do not match the original presentationEnhancementhttps://docs.aspose.com/slides/net/convert-slide/#converting-slides-to-bitmap-and-saving-the-images-in-png
SLIDESNET-43547Replacing text with freeform formatting with other textFeaturehttps://docs.aspose.com/slides/net/find-and-replace-text-without-losing-format-in-presentation/
SLIDESNET-43574Text changes when an external hyperlink is updatedEnhancementhttps://docs.aspose.com/slides/net/manage-textbox/#add-text-box-with-hyperlink
SLIDESNET-43530Creating a real TextBoxEnhancementhttps://docs.aspose.com/slides/net/manage-textbox/#create-text-box-on-slide
SLIDESJAVA-39006Use Aspose.Slides for Net 23.2 featuresEnhancement
SLIDESJAVA-38962Text changes when an external hyperlink is updatedBughttps://docs.aspose.com/slides/java/manage-textbox/#add-text-box-with-hyperlink
SLIDESJAVA-39070PPTX to HTML: Images qualityBughttps://docs.aspose.com/slides/java/export-to-html5/
SLIDESJAVA-39054PptReadException is thrown when reading PPT filesBughttps://docs.aspose.com/slides/java/open-presentation/
SLIDESJAVA-38984Round shape is missing when converting ODP to PPTXBughttps://docs.aspose.com/slides/java/convert-odp-to-pptx/
SLIDESJAVA-38982Master theme is missing when converting ODP to PPTXBughttps://docs.aspose.com/slides/java/convert-odp-to-pptx/
SLIDESJAVA-38980SmartArt shapes are not displayed completely when converting PPTX to ODPBughttps://docs.aspose.com/slides/java/convert-openoffice-odp/
SLIDESJAVA-38972SmartArt objects are not displayed correctly when converting PPTX to ODPBughttps://docs.aspose.com/slides/javaconvert-openoffice-odp/
SLIDESJAVA-38971Shape is missing when converting ODP to PPTXBughttps://docs.aspose.com/slides/java/convert-odp-to-pptx/
SLIDESJAVA-37548Chart is improperly rendered in generated PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/
SLIDESJAVA-39056PptxReadException: Empty content in the AlternateContentBughttps://docs.aspose.com/slides/java/open-presentation/
SLIDESJAVA-38996Loading PPTX file throws PptxReadExceptionBughttps://docs.aspose.com/slides/java/open-presentation/
SLIDESJAVA-39096HTML to PPTX: Arrow heads are missing upon conversionBughttps://docs.aspose.com/slides/java/import-presentation/#import-powerpoint-from-html
SLIDESJAVA-39113OutOfMemoryError occurs when converting PPT to PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/

Public API Changes

Find and replace text fragments with changes in formatting

Added support for finding and replacing text fragments with changes in formatting. A new method in the public API has been added for this purpose: SlideUtil.findAndReplaceText.

The example below searches for all portions of “[this block] " and replaces them with “my text” filled in red:

Presentation pres = new Presentation("pres.pptx");
try {
    PortionFormat format = new PortionFormat();
    format.setFontHeight(24f);
    format.setFontItalic(NullableBool.True);
    format.getFillFormat().setFillType(FillType.Solid);
    format.getFillFormat().getSolidFillColor().setColor(Color.RED);

    SlideUtil.findAndReplaceText(pres, true, "[this block] ", "my text ", format);
    pres.save("replaced.pptx", SaveFormat.Pptx);
} finally {
    if (pres != null) pres.dispose();
}