Publiczne API i niekompatybilne zmiany wstecz w Aspose.Slides for Java 15.11.0

Zmiany w publicznym API

Przestarzałe metody w klasie com.aspose.slides.DataLabelCollection zostały usunięte

Przestarzałe metody w klasie com.aspose.slides.DataLabelCollection zostały usunięte:

DataLabelCollection.getNumberFormat() DataLabelCollection.setNumberFormat(String value) DataLabelCollection.getLinkedSource() DataLabelCollection.setLinkedSource(boolean value) DataLabelCollection.getDelete() DataLabelCollection.setDelete(boolean value) DataLabelCollection.getFormat() DataLabelCollection.setFormat(Format value) DataLabelCollection.getPosition() DataLabelCollection.setPosition(int value) DataLabelCollection.getSeparator() DataLabelCollection.setSeparator(String value) DataLabelCollection.getShowLegendKey() DataLabelCollection.setShowLegendKey(boolean value) DataLabelCollection.getShowLeaderLines() DataLabelCollection.setShowLeaderLines(boolean value) DataLabelCollection.getShowCategoryName() DataLabelCollection.setShowCategoryName(boolean value) DataLabelCollection.getShowValue() DataLabelCollection.setShowValue(boolean value) DataLabelCollection.getShowPercentage() DataLabelCollection.setShowPercentage(boolean value) DataLabelCollection.getShowSeriesName() DataLabelCollection.setShowSeriesName(boolean value) DataLabelCollection.getShowBubbleSize() DataLabelCollection.setShowBubbleSize(boolean value)

Dodano nowe metody getFirstSlideNumber() i setFirstSlideNumber() do klasy Presentation

Nowe metody getFirstSlideNumber() i setFirstSlideNumber() umożliwiają pobranie lub ustawienie numeru pierwszego slajdu w prezentacji. Po określeniu nowej wartości numeru pierwszego slajdu wszystkie numery slajdów są przeliczane.


 Presentation pres = new Presentation(path);

int firstSlideNumber = pres.getFirstSlideNumber();

pres.setFirstSlideNumber(10);

pres.save(newPath, SaveFormat.Pptx);