Free Support Forum -

Unknow text appears on slide on updating text (Java) (2225)

Hi, after i add new text at the second slide some other random text appears (see the screenshoot)
presentation 10-Compressor Piston Rod (551.5 KB)

screenshot: Capture.PNG (113.9 KB)


Presentation presentation = new Presentation(
	"10-Compressor Piston Rod Runout.pptx");

IBaseSlide slide = presentation.getSlides().get_Item(1);

AutoShape  aShape = (AutoShape) slide.getShapes().get_Item(2);

IParagraph para = aShape.getTextFrame().getParagraphs().get_Item(0);


para.getPortions().add(new Portion("NEW TEXT"));"saved-10ASPOSE.pptx", SaveFormat.Pptx);


I have worked with the sample file and code shared by you. It seems to be an issue with API. An issue with ID SLIDESJAVA-38059 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 notified once the issue will be fixed.

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