Spire.Presentation for Java 10.9.3 adds a new method to quickly retrieve the number of slides

Spire.Presentation for Java 10.9.3 adds a new method to quickly retrieve the number of slides

2025-09-18 07:42:09

We are pleased to announce the release of Spire.Presentation for Java 10.9.3. This version adds a new method to quickly retrieve the number of slides, and also fixes several issues that occurred when converting slides to images. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPPT-2978 Adds the getSlidesCount() method to quickly retrieve the number of slides without fully parsing the entire document.
// Stream approach:
InputStream stream = new FileInputStream(inputFile);
int count = Presentation.getSlidesCount(stream);

// File path approach:
int count = Presentation.getSlidesCount(inputFile);
Bug SPIREPPT-2908 SPIREPPT-2913 Fixed an issue where the font rendering was incorrect when converting PPTX to PDF on Linux systems.
Bug SPIREPPT-2916 Fixed an issue where layout discrepancies occurred when converting slides to images.
Bug SPIREPPT-2917 Fixed an issue where table content overflowed its cells when converting slides to images.
Bug SPIREPPT-2918 SPIREPPT-2924 Fixed an issue where table borders were missing when converting slides to images.
Bug SPIREPPT-2927 SPIREPPT-2966 Fixed an issue where the rendering of LaTeX formulas was incorrect.
Click the link below to download Spire.Presentation for Java 10.9.3: