Aspose.Slides for Java 14.10.0의 공개 API 및 이전 버전과 호환되지 않는 변경 사항

공용 API 변경 사항

com.aspose.slides.FieldType.getFooter() 메서드가 추가되었습니다

getFooter() 메서드는 푸터 필드 유형을 반환합니다. 이 메서드는 해당 유형의 필드를 생성할 수 있게 구현하기 위해 및 유효한 프레젠테이션 직렬화를 위해 추가되었습니다.

Element com.aspose.slides.ShapeElementFillSource.Own가 삭제되었습니다

Element ShapeElementFillSource.Own는 중복되어 삭제되었습니다. ShapeElementFillSource.Own 대신 ShapeElementFillSource.Shape를 사용하십시오.

차트 데이터 포인트 및 카테고리 제거 메서드가 추가되었습니다

다음 메서드들은 차트 데이터 포인트 컬렉션에서 차트 데이터 포인트를 제거할 수 있도록 추가되었습니다:

IChartDataPointCollection.remove(IChartDataPoint) IChartDataPoint.remove()

다음 메서드는 포함된 컬렉션에서 차트 카테고리를 제거할 수 있도록 추가되었습니다:

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(); // ChartCategory.remove()를 사용하여 제거

chart.getChartData().getCategories().remove(chart.getChartData().getCategories().get_Item(0)); // ChartCategoryCollection.remove()를 사용하여 제거

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

{

    ser.getDataPoints().get_Item(0).remove(); // ChartDataPoint.remove()를 사용하여 제거

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

}

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

구식 Aspose.Slides.ParagraphFormat 메서드가 제거되었습니다

getBulletChar(), getBulletColor(), getBulletColorFormat(), getBulletFont(), getBulletHeight(), getBulletType(), isBulletHardColor(), isBulletHardFont(), getNumberedBulletStartWith(), getNumberedBulletStyle() 및 해당 set 메서드가 제거되었습니다. 이 메서드들은 오래전에 구식으로 표시되었습니다.

불필요하고 구식인 생성자가 제거되었습니다

다음 생성자들이 제거되었습니다:

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)