News & Releases
|
|

Spire.Presentation for Java 3.3.5 supports setting/getting slide title
We're pleased to announce the release of Spire.Presentation for Java 3.3.5. This version includes some fantastic features, such as it supports converting GroupShape to images, and also supports setting text highlighting options as well as repeat type of animations. Besides, some issues that occurred when converting shape to image and manipulating files are successfully fixed. See the content below for more details.
Here is a list of all changes made in this release
| Category | ID | Description |
| New feature | SPIREPPT-1063 | Supports converting GroupShape to images.
Presentation ppt = new Presentation();
ppt.loadFromFile(input);
for (int i = 0; i < ppt.getSlides().get(0).getShapes().getCount(); i++){
String fileName = outputPath + "shapeToImage_"+i+".png";
BufferedImage image = ppt.getSlides().get(0).getShapes().saveAsImage(i);
ImageIO.write(image, "PNG", new File(fileName));
}
|
| New feature | SPIREPPT-1065 | Supports setting/getting slide title.
ISlide slide1 = ppt.getSlides().get(0);
String title= slide1.getTitle();
slide1.setTitle("new title");
|
| New feature | SPIREPPT-1069 | Supports setting text highLighting options.
TextHighLightingOptions options = new
TextHighLightingOptions();
options.setWholeWordsOnly(true);
options.setCaseSensitive(true);
shape.getTextFrame().HighLightText("Spire", Color.yellow, options);
|
| New feature | SPIREPPT-1070 | Supports setting repeat type of animations.
AnimationEffectCollection animations = slide.getTimeline().getMainSequence(); animations.get(0).getTiming().setAnimationRepeatType (AnimationRepeatType.UtilEndOfSlide); |
| Bug | SPIREPPT-1062 SPIREPPT-1068 SPIREPPT-1082 SPIREPPT-1085 | Fixes the issue that partial content was missing when converting shape to image. |
| Bug | SPIREPPT-1066 SPIREPPT-1081 SPIREPPT-1086 | Fixes the issue that the application threw "NullPointerException" when converting shape to image. |
| Bug | SPIREPPT-1084 | Fixes the issue that the application threw an error "Argument width[318] or height[0] cannot be less or equal to zero" when converting shape to image. |
| Bug | SPIREPPT-1071 | Fixes the issue that it failed to open output PPT after setting rotation angle of data label. |
| Bug | SPIREPPT-1072 | Fixes the issue that the application threw an error "Unsupported file format" when loading an ODP document. |
| Bug | SPIREPPT-1074 | Fixes the issue that the formula content was incorrect when converting shape to image. |
| Bug | SPIREPPT-1078 | Fixes the issue that it failed to set gap width of chart series. |
Click the link below to download Spire.Presentation for Java 3.3.5:
https://www.e-iceblue.com/Download/presentation-for-java.html