Aspose.Slides for Java 15.11.0 的公共 API 與向後不相容變更

Public API Changes

Obsolete methods in com.aspose.slides.DataLabelCollection class have been deleted

已刪除 com.aspose.slides.DataLabelCollection 類別中的過時方法:

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)

New methods getFirstSlideNumber() and setFirstSlideNumber() have been added to the Presentation class

在 Presentation 類別中新增了 getFirstSlideNumber() 與 setFirstSlideNumber() 方法。這些新方法可用於取得或設定簡報中第一張投影片的編號。當指定新的第一張投影片編號時,所有投影片的編號將重新計算。


 Presentation pres = new Presentation(path);

int firstSlideNumber = pres.getFirstSlideNumber();

pres.setFirstSlideNumber(10);

pres.save(newPath, SaveFormat.Pptx);