Public API and Backwards Incompatible Changes in Aspose.Slides for Java 14.10.0

Public API Changes

com.aspose.slides.FieldType.getFooter() method has been added

getFooter() method returns footer field type. It has been added for the implementation of the possibility to create fields of this type and for valid presentation serialization.

Element com.aspose.slides.ShapeElementFillSource.Own has been deleted

Element ShapeElementFillSource.Own has been deleted as duplicated. Use ShapeElementFillSource.Shape instead of ShapeElementFillSource.Own.

Methods for chart data points, categories removing have been added

The following methods, which allow to remove chart data point from a chart data point collection have been added:

IChartDataPointCollection.remove(IChartDataPoint) IChartDataPoint.remove()

The following method, which allows to remove a chart category from the containing collection has been added:

IChartCategory.remove()


 Presentation pres = new Presentation();

IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.ClusteredColumn, 50, 50, 450, 400, true);

chart.getChartData().getCategories().get_Item(0).remove(); // remove with ChartCategory.remove()

chart.getChartData().getCategories().remove(chart.getChartData().getCategories().get_Item(0)); // remove with ChartCategoryCollection.remove()

for (IChartSeries ser : chart.getChartData().getSeries())

{

    ser.getDataPoints().get_Item(0).remove(); // remove with ChartDataPoint.remove()

    ser.getDataPoints().remove(ser.getDataPoints().get_Item(0)); // ChartDataPointCollection.remove()

}

pres.save("presentation.pptx", SaveFormat.Pptx);

Obsolete Aspose.Slides.ParagraphFormat methods have been removed

The methods getBulletChar(), getBulletColor(), getBulletColorFormat(), getBulletFont(), getBulletHeight(), getBulletType(), isBulletHardColor(), isBulletHardFont(), getNumberedBulletStartWith(), getNumberedBulletStyle() and corresponding set methods have been removed. They were marked as obsolete long time ago.

Un-useful and obsolete constructors have been removed

The following constructors have been removed:

com.aspose.slides.AlphaBiLevel(float) com.aspose.slides.AlphaModulateFixed(float) com.aspose.slides.AlphaReplace(float) com.aspose.slides.BiLevel(float) com.aspose.slides.Blur(double, boolean) com.aspose.slides.HSL(float, float, float) com.aspose.slides.ImageTransformOperation(com.aspose.slides.ImageTransformOperationCollection) com.aspose.slides.Luminance(float, float) com.aspose.slides.Tint(float, float) com.aspose.slides.PortionFormat(com.aspose.slides.ParagraphFormat) com.aspose.slides.PortionFormat(com.aspose.slides.Portion) com.aspose.slides.PortionFormat(com.aspose.slides.PortionFormat)