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

Free Support Forum - aspose.com

Incorrect portion OuterShadow color

Hi,


As you can see in the attached screenshot, OuterShadow color of the portion “Warehouse (BW)” is white. But when I get the value through the code, it is RGB (128, 128, 128).

Here’s the code I used:

String presentationPath = “PortionFontFormatTest.ppt”;

InputStream stream = new FileInputStream(presentationPath);

Presentation presentation = new Presentation(stream);

stream.close();

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

IAutoShape shape = (AutoShape) slide.getShapes().get_Item(1);

ITextFrame textFrame = shape.getTextFrame();

IParagraph paragraph = textFrame.getParagraphs().get_Item(0);
IPortion portion = paragraph.getPortions().get_Item(2);
IOuterShadow outerShadow = portion.getPortionFormat().getEffectFormat().getOuterShadowEffect();
System.out.println(outerShadow.getShadowColor().getColor());

Can you check this?

Thanks,
Zeljko

Hi Zeljko,


Thank you for posting.

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-35142 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-35142) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz