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

Free Support Forum - aspose.com

Result text shifted right after conversion to svg files


I am using Aspose Slides 15.5.0 to convert PowerPoint files to svg files.
I found a problem:
The text of the result from slide 3 is shifted right, and make a page break,
which make the text covered by the picture below.

Could you please help me solve this? Appreciate your help!

P.S. The origin ppt file and the result svg is in the attachement.
P.P.S Following is my code:

String blockID = “2-1.ppt”;
// UUID.randomUUID().toString();
File file = new File(“custom/output/pptx/”+blockID);

Presentation pre = new Presentation(“custom/input/pptx/”+blockID);
for(int page = 1; page<=pre.getSlides().size(); page++){
ByteArrayOutputStream out = new ByteArrayOutputStream();
ISlide slide = pre.getSlides().get_Item(page-1);
byte[] content = new String(out.toByteArray()).getBytes(Charset.forName(“UTF-8”));

IoUtil.write(new FileOutputStream(“custom/output/pptx/”+blockID+"/"+page+".svg"), content);


I found that there is another file with similar problem at slide 16.
(Text shifted right, more page break)

Hope this can help you :slight_smile:
Hi Craigabyss,

I have observed your requirements and worked with the presentation file shared by you. I have been able to reproduce the issue. A ticket with ID SLIDESJAVA-34920 has been logged in our issue tracking system to further investigate and resolve the issue.This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-34920) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.