We are excited to announce the release of Spire.Presentation for Java 7.6.3. This version supports cropping pictures in PowerPoint and setting default alternate font for format conversion. Besides, it optimizes the memory consumption of conversion from PowerPoint to images. More details are listed below.
Here is a list of changes made in this release
Category | ID | Description |
New feature | SPIREPPT-1848 | Supports setting default alternate font for format conversion.
Presentation.setDefaultFontName("Arial"); Presentation ppt = new Presentation(); ppt.loadFromFile(inputFile); ppt.saveToFile(outputFile, FileFormat.PDF); //Used to reset the document conversion default font Presentation.resetDefaultFontName(); |
New feature | SPIREPPT-1962 | Supports cropping pictures in PowerPoint.
SlidePicture slidePicture= (SlidePicture)presentation.getSlides().get(0).getShapes().get(0); //The crop start coordinates are adjusted according to the position of the original picture slidePicture.crop(slidePicture.getLeft()+50f,slidePicture.getTop()+50f,100f,200f); |
Bug | SPIREPPT-1945 | Fixes the issue that the application throws "ArrayIndexOutOfBoundsException" when setting custom font files. |
Bug | SPIREPPT-1959 | Optimizes the memory consumption of conversion from PowerPoint to images. |
Click the link below to download Spire.Presentation 7.6.3: