Aspose.Slides for Java 21.6 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-42514Support of Cylinder column shape for 3-D Column and 3-D Bar ChartsFeaturehttps://docs.aspose.com/slides/net/powerpoint-charts/
SLIDESNET-30675Support of Presentation to XAML exportFeature
SLIDESNET-42447Support of 3-D Bar ChartFeaturehttps://docs.aspose.com/slides/net/powerpoint-charts/
SLIDESNET-37955Support of 3D Transforms for thumbnailsFeaturehttps://docs.aspose.com/slides/net/3d-presentation/
SLIDESJAVA-38232Use Aspose.Slides for Net 21.6 featuresEnhancement
SLIDESJAVA-38531ArgumentException: Unable to find any font for: GenericFontFamilies.SerifInvestigationhttps://docs.aspose.com/slides/java/custom-font/
SLIDESJAVA-33354Improper rendering of 3d rotated shapesBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-jpg/
SLIDESJAVA-32683Unresolved Qumu issuesBug
SLIDESJAVA-34045Text shadow effects are missing in generated thumbnailBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-jpg/
SLIDESJAVA-34792Blur shadow effects observed in thumbnailBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-jpg/
SLIDESJAVA-38529PPTX update chart values produces bad output fileBughttps://docs.aspose.com/slides/java/chart-workbook/
SLIDESJAVA-36211Incorrect font size in notes pageBughttps://docs.aspose.com/slides/java/shape-effective-properties/
SLIDESJAVA-34569Chart Borders are missing in generated PDF fileBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-32322Wrong shape direction on thumbnailBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-jpg/
SLIDESJAVA-38549Presentation.save method throws KeyNotFoundExceptionInvestigationhttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-38546Presentation to PDF conversion failsInvestigationhttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-38077Replacing a MasterSlide with Gradient Background incurs “InvalidOperationException: Color is not resolved yet”Bughttps://docs.aspose.com/slides/java/clone-slides/
SLIDESJAVA-33804The image angle of rotation is discarded in generated PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-33240Shape Thumbnails for PPTX with transparet backgroundFeaturehttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-jpg/
SLIDESJAVA-33963SmartArt is improperly rendered in generated PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-363813D shape effects are not rendered in PDF/PNGFeaturehttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-36382Glow Effects are not rendered in PDF/PNGFeaturehttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-36383Rotation Effects are not rendered in PDF/PNGFeaturehttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-36384Reflection Effects are not rendered in PDF/PNGFeaturehttps://docs.aspose.com/slides/java/convert-powerpoint-ppt-and-pptx-to-pdf/
SLIDESJAVA-38532Error happens when convert PPT to PPTXInvestigationhttps://docs.aspose.com/slides/java/convert-ppt-to-pptx/

Public API Changes

Support of Presentation to XAML export

To support Presentation export to XAML, we added new API members.

IXamlOptions interface and XamlOptions class. IXamlOptions definition:

/**
 * <p>
 * Options that control how a XAML document is saved.
 * </p>
 */
public interface IXamlOptions extends ISaveOptions
{
    /**
	<p>
	Determines whether hidden slides will be exported.
	</p>
     */
    public boolean getExportHiddenSlides();
    /**
	<p>
	Determines whether hidden slides will be exported.
	</p>
     */
    public void setExportHiddenSlides(boolean value);
    
    /**
	<p>
	Represents an implementation of IOutputSaver interface.
	</p>
     */
    public IXamlOutputSaver getOutputSaver();
    /**
	<p>
	Represents an implementation of IOutputSaver interface.
	</p>
     */
    public void setOutputSaver(IXamlOutputSaver value);
}

For Presentation export to XAML, a new Save method overload got added to the Presentation class:

/**
 * <p>
 * Saves all slides of a presentation to a set of files representing XAML markup.
 * </p>
 */
public final void save(IXamlOptions options)

This code sample demonstrates the exporting of a Presentation to a set of XAML files:

Presentation pres = new Presentation("pres.pptx");
try {
    XamlOptions xamlOptions = new XamlOptions();
    xamlOptions.setExportHiddenSlides(true);
	
    pres.save(xamlOptions);
} finally {
    if (pres != null) pres.dispose();
}

The XAML files get saved in a newly created folder—“pres”.

The IXamlOutputSaver interface allows you to define your own output-saving service. IXamlOutputSaver definition:

/**
 * <p>
 * Represents an output saver implementation for transfer data to the external storage.
 * </p>
 */
public interface IXamlOutputSaver
{
    /**
     * <p>
     * Saves a bytes array to a destination location.
     * </p>
     * @param path The destination path.
     * @param data A binary data for saving to a destination location.
     */
    public void save(String path, byte[] data);
}

IEffect.getTargetShape() method has been added

The IEffect.getTargetShape() method has been added. It returns the shape affected by the effect.

Method declaration:

/**
 * <p>
 * Returns target shape for effect.
 * Read-only {@link IShape}.
 * </p>
 */
public IShape getTargetShape();

This code sample demonstrates the output of information for all animated shapes in the main sequence for all slides in a presentation.

Presentation pres = new Presentation("SomePresentation.pptx");
try {
    for (ISlide slide : pres.getSlides())
        for (IEffect effect : slide.getTimeline().getMainSequence())
            System.out.println(effect.getType() + " animation effect is set to shape#" + effect.getTargetShape().getUniqueId() + " on slide#" + slide.getSlideNumber());
} finally {
    if (pres != null) pres.dispose();
}