Spire.Presentation for Java 7.7.3 supports deleting macros from PPTM files

2022-07-27 02:28:55

We are excited to announce the release of Spire.Presentation 7.8.2 for Java. This version supports setting the time of advancing slide and determining whether the document is encrypted. Besides, it also enhances the conversion from PowerPoint to HTML and PDF. What’s more, some known issues are successfully fixed, such as the issue that the selection state of “Advance Slide" was incorrect after splitting PowerPoint file. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPPT-2014 Supports setting the time of advancing Slide. Note: 03 format is not currently supported.
Presentation ppt = new Presentation();
ppt.loadFromFile(inputFile);
for(int i=0;i<ppt.getSlides().getCount();i++)
{ ppt.getSlides().get(i).getSlideShowTransition().isAdvanceAfterTime(true);
//设置自动换片时间,isAdvanceAfterTime设置为TRUE才生效
ppt.getSlides().get(i).getSlideShowTransition().setAdvanceAfterTime(5000L);
}
ppt.saveToFile(outputFile,FileFormat.AUTO);
New feature SPIREPPT-2032 Supports determining whether the document is encrypted.
ppt.isPasswordProtected(filepath)
ppt.isPasswordProtected(inputstream)
Bug SPIREPPT-2011 Fixes the issue that the application threw the “java.lang.ClassCastException" when converting PPT to HTML.
Bug SPIREPPT-2013 Fixes the issue that the selection state of “Advance Slide" was incorrect after spliting PPT file.
Bug SPIREPPT-2018 Fixes the issue that the application threw the "ArrayIndexOutOfBoundsException" when loading PPT.
Bug SPIREPPT-2030 Fixes the issue that after saving the slide to PPT, the Microsoft PowerPoint prompted that the content has error when opening the saved PPT.
Bug SPIREPPT-2031 Fixes the issue that the application threw an exception when loading PPT.
Bug SPIREPPT-2033 Fixes the issue that the content formatting was incorrect after converting PPT to PDF.
Click the link below to download Spire.Presentation for Java 7.8.2: