Browse our Products

Aspose.Slides for Java 16.11.0 Release Notes

KeySummaryCategory
SLIDESNET-37863AnimationEffect.Disappear is unavailable in Aspose.SlidesFeature
SLIDESJAVA-34320Setting color for InvertIfNegitive value for chart series dataFeature
SLIDESNET-37351Implement rendering for distributed text alignmentFeature
SLIDESJAVA-35718Presentation not savingBug
SLIDESJAVA-35710Exception on loading presentationBug
SLIDESJAVA-35690Shape Height and location changedBug
SLIDESJAVA-35685Incorrect hyperlink action type in .ppt fileBug
SLIDESJAVA-35684Hyperlink tooltip difference in .ppt and .pptx filesBug
SLIDESJAVA-35677convert stop after 21 slidesBug
SLIDESJAVA-35668Labels overlap in Y axisBug
SLIDESJAVA-35563Font Bold and Italic property are not working properlyBug
SLIDESJAVA-35088Line chart lines disappear on load & saveBug
SLIDESJAVA-35087Lines of line chart incorrect on load and saveBug

Public API Changes

Deprecated type com.aspose.slides.PropertyType was removed

Obsoleted type com.aspose.slides.PropertyType was removed with all methods that use it

com.aspose.slides.PropertyType
com.aspose.slides.BehaviorProperty.getByType(int)
com.aspose.slides.BehaviorPropertyCollection.add(int)
com.aspose.slides.BehaviorPropertyCollection.contains(int)
com.aspose.slides.BehaviorPropertyCollection.indexOf(int)
com.aspose.slides.BehaviorPropertyCollection.insert(int,int)
com.aspose.slides.BehaviorPropertyCollection.remove(int)

Method getInvertedSolidFillColor() was added to ChartSeries and IChartSeries

Method IColorFormat getInvertedSolidFillColor() was added to com.aspose.slides.ChartSeries and com.aspose.slides.IChartSeries

java.awt.Color inverColor = java.awt.Color.red;
java.awt.Color seriesColor;

final Presentation pres = new Presentation();
try
{
	IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.ClusteredColumn, 100, 100, 400, 300);

	IChartDataWorkbook workBook = chart.getChartData().getChartDataWorkbook();

	chart.getChartData().getSeries().clear();
	chart.getChartData().getCategories().clear();

	// Adding new series
	chart.getChartData().getSeries().add(workBook.getCell(0, 0, 1, "Series 1"), chart.getType());

	// Adding new categories
	chart.getChartData().getCategories().add(workBook.getCell(0, 1, 0, "Category 1"));
	chart.getChartData().getCategories().add(workBook.getCell(0, 2, 0, "Category 2"));
	chart.getChartData().getCategories().add(workBook.getCell(0, 3, 0, "Category 3"));

	// Take first chart series
	IChartSeries series = chart.getChartData().getSeries().get_Item(0);

	// Now populating series data
	series.getDataPoints().addDataPointForBarSeries(workBook.getCell(0, 1, 1, -20));
	series.getDataPoints().addDataPointForBarSeries(workBook.getCell(0, 2, 1, 50));
	series.getDataPoints().addDataPointForBarSeries(workBook.getCell(0, 3, 1, -30));

	seriesColor = series.getAutomaticSeriesColor();

	series.setInvertIfNegative(true);
	series.getFormat().getFill().setFillType(FillType.Solid);
	series.getFormat().getFill().getSolidFillColor().setColor(seriesColor);
	series.getInvertedSolidFillColor().setColor(inverColor);
	pres.save(outPath, SaveFormat.Pptx);
}
finally { if (pres != null) ((IDisposable)pres).dispose(); }

Methods getName() and setName() were added to com.aspose.slides.MasterSlide

Methods getName() and setName() were added to com.aspose.slides.MasterSlide

final Presentation pres = new Presentation(fileName);
...
pres.getMasters().get_Item(0).setName("NewMasterName");
pres.getMasters().get_Item(0).getName();
...

Some methods marked as final

297 public methods have been marked as final to ensure proper library using.