Italic value read incorrectly (727)

Hi,


When I try to get the italic value of the particular portion in the attached presentation, I get true instead of false, as you can see in the attached screenshot.

Here’s the code I used:

String path = “Test.pptx”;
InputStream inputStream = new FileInputStream(path);
Presentation presentation = new Presentation(inputStream);
inputStream.close();
ISlide slide = presentation.getSlides().get_Item(19);
IShapeCollection shapes = slide.getShapes();

ISmartArt smartArt = (ISmartArt) shapes.get_Item(1);
ISmartArtNode smartArtNode = smartArt.getAllNodes().get_Item(0);
IParagraph paragraph = smartArtNode.getTextFrame().getParagraphs().get_Item(0);
IPortion portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
System.out.println(portion.createPortionFormatEffective().getFontItalic());

Here’s the output:

30 points
true

Can you check this?

Thanks,
Zeljko

Hi Zeljko,

I have worked with presentation file shared by you using Aspose.Slides for JAVA 17.3.0 and able to observe the issue. A ticket with ID SLIDESJAVA-36196 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,