getAdvanceAfterTime() 返回值不正确

请解压并浏览下述PPT文件。
advTm.pptx.zip (1.5 MB)
第一页切换为默认值,未勾选自动换片间隔,自动换片时间默认显示00.00。
第三页切换勾选自动换片间隔,自动换片时间默认显示00.00.原数据如下图所示:
advTm.png (339.8 KB)
根据文档的描述,不自动换片的话,getAdvanceAfterTime()应返回null。
但目前在第一页和第三页调用getAdvanceAfterTime()均返回0。
导致无法区分两种设定的区别。

@oscarstar,
感谢您报告问题。

我使用“Advance Slide/After”选项重现了该问题,并将 ID SLIDESJAVA-38805 的票证添加到我们的问题跟踪系统中。 很抱歉给您带来不便。 我们的开发团队将考虑实施一些增强功能来解决此问题。 问题解决后会通知您。

The issues you have found earlier (filed as SLIDESJAVA-38805) have been fixed in Aspose.Slides for Java 22.8 (ZIP).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.

@oscarstar,
请尝试在 Aspose.Slides 22.8 中使用以下代码片段:

Presentation presentation = new Presentation("advTm.pptx");

boolean moveToNextSlide1 = presentation.getSlides().get_Item(0).getSlideShowTransition().getAdvanceAfter();
long afterTime1 = presentation.getSlides().get_Item(0).getSlideShowTransition().getAdvanceAfterTime();
System.out.println("Slide 1, After time: " + afterTime1 + " Move to the next slide: " + moveToNextSlide1);

boolean moveToNextSlide3 = presentation.getSlides().get_Item(2).getSlideShowTransition().getAdvanceAfter();
long afterTime3 = presentation.getSlides().get_Item(2).getSlideShowTransition().getAdvanceAfterTime();
System.out.println("Slide 3, After time: " + afterTime3 + " Move to the next slide: " + moveToNextSlide3);

Thanks a lot. I will try this method as soon as possible.

@oscarstar,
Thank you for using Aspose.Slides.