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

Free Support Forum - aspose.com

Shape height changed

Hi,


When I open and save the attached presentation, shape on slide #10 changed its height as you can see on the screenshot.

Can you check this?

Thanks,
Zeljko

Hi Zeljko,


I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-35112 has been created 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-35112) have been fixed in this update.


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

Hi,


This issue was fixed with Aspose.Slides for Java 15.10.0, but I’m able to reproduce it again with Aspose.Slides for Java 16.9.0. But now, besides shape height problem, there is also a warning message shown in PowerPoint 2013. I’m also attaching one more file with shape height issue on slide #7, but no warning message. Please see attached screenshots for your reference.

Here’s the code I used to reproduce the issue:

@Test
public void test() throws Exception {

String path = “Halifax_VMUG_030811.ppt”;

InputStream inputStream = new FileInputStream(path);

Presentation presentation = new Presentation(inputStream);

inputStream.close();

ISlide slide = presentation.getSlides().get_Item(9);

IAutoShape shape = (IAutoShape) slide.getShapes().get_Item(2);

IParagraphCollection paragraphs = shape.getTextFrame().getParagraphs();

for (int i = 0; i < paragraphs.getCount(); i++) {

IPortionCollection portions = paragraphs.get_Item(i).getPortions();

IPortion portion = portions.get_Item(0);

if (!portion.getText().isEmpty()) {
portion.setText(“t” + portion.getText());
}
}

presentation.save(“Halifax_VMUG_030811-16.9.0.ppt”, SaveFormat.Ppt);
}

@Test
public void test2() throws Exception {

String path = “Leveraging Oracle apps at EMC.ppt”;

InputStream inputStream = new FileInputStream(path);

Presentation presentation = new Presentation(inputStream);

inputStream.close();

ISlide slide = presentation.getSlides().get_Item(6);

IAutoShape shape = (IAutoShape) slide.getShapes().get_Item(62);

IParagraphCollection paragraphs = shape.getTextFrame().getParagraphs();

for (int i = 0; i < paragraphs.getCount(); i++) {

IPortionCollection portions = paragraphs.get_Item(i).getPortions();

IPortion portion = portions.get_Item(0);

if (!portion.getText().isEmpty()) {
portion.setText(“t” + portion.getText());
}
}

presentation.save(“Leveraging Oracle apps at EMC-16.9.0.ppt”, SaveFormat.Ppt);
}


Can you check this?

Thanks,
Zeljko

Hi Zeljko,


I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-35690 has been created 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-35690) have been fixed in this update.


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