We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Parts of text missing in the result of saving into SVG format

Hi there


We are working on saving PowerPoint files into SVG format with Aspose Slide 17.3.
Here is our code snippet for test:

String fileName = “sample1_pusheen_locked.pptx”;
String password = “123456”;

Presentation pre = new Presentation();

if (StringUtils.isNotEmpty(password)) {
LoadOptions loadOps = new LoadOptions();
loadOps.setPassword(password);
pre = new Presentation(new FileInputStream(“custom/input/pptx/” + fileName), loadOps);
} else {
pre = new Presentation(new FileInputStream(“custom/input/pptx/” + fileName));
}

String dirName = fileName;
File file = new File(“custom/output/pptx/” + dirName);
file.mkdirs();

for (int i = 0; i < pre.getSlides().size(); i++) {

ISlide slide = pre.getSlides().get_Item(i);
slide.writeAsSvg(new FileOutputStream(“custom/output/pptx/” + dirName + “/” + (i + 1) + “.svg”));

}

The PowerPoint file and its result about this issue has been uploaded in the attachment.
There is a part of text missing in the result page #5, please check this issue, thank you~

P.S. password for this file is "123456"

Craig

Hi Craig,

I have worked with presentation file shared by you using Aspose.Slides for JAVA 17.3.0 and have been able to observe the issue. A ticket with ID SLIDESJAVA-36367 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with issue so that you may be automatically notified once issue will be fixed.

We are sorry for your inconvenience,