API สาธารณะและการเปลี่ยนแปลงที่ไม่เข้ากันย้อนหลังใน Aspose.Slides for Java 15.11.0
การเปลี่ยนแปลง API สาธารณะ
เมธอดที่ล้าสมัยในคลาส com.aspose.slides.DataLabelCollection ถูกลบออกแล้ว
เมธอดที่ล้าสมัยในคลาส 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)
เมธอดใหม่ getFirstSlideNumber() และ setFirstSlideNumber() ถูกเพิ่มเข้าสู่คลาส Presentation
เมธอดใหม่ getFirstSlideNumber() และ setFirstSlideNumber() ให้ความสามารถในการรับหรือกำหนดหมายเลขของสไลด์แรกในงานนำเสนอ เมื่อกำหนดค่าหมายเลขสไลด์แรกใหม่ ตัวเลขสไลด์ทั้งหมดจะถูกคำนวณใหม่
Presentation pres = new Presentation(path);
int firstSlideNumber = pres.getFirstSlideNumber();
pres.setFirstSlideNumber(10);
pres.save(newPath, SaveFormat.Pptx);