Hi,
In the attached presentation, almost every slide contain some text with a shadow effect applied. When I try to get shadow effect values via code, getOuterShadowEffect() returns null.
Here’s the code I use:
String presentationPath = “cito_ouderavond_2016.pptx”;
InputStream inputStream = new FileInputStream(presentationPath);
Presentation presentation = new Presentation(inputStream);
inputStream.close();
ISlide slide = presentation.getSlides().get_Item(0);
IAutoShape shape = (IAutoShape) slide.getShapes().get_Item(0);
IParagraph paragraph = shape.getTextFrame().getParagraphs().get_Item(0);
IPortion portion = paragraph.getPortions().get_Item(1);
IPortionFormatEffectiveData effectiveData = portion
.createPortionFormatEffective();
System.out.println(portion.getText());
System.out.println(effectiveData.getEffectFormat()
.getOuterShadowEffect() == null);
slide = presentation.getSlides().get_Item(1);
shape = (IAutoShape) slide.getShapes().get_Item(1);
paragraph = shape.getTextFrame().getParagraphs().get_Item(0);
portion = paragraph.getPortions().get_Item(0);
effectiveData = portion
.createPortionFormatEffective();
System.out.println(portion.getText());
System.out.println(effectiveData.getEffectFormat()
.getOuterShadowEffect() == null);
Here’s the output:
Informatie avond Cito eindtoets
true
Wanneer?
true
Can you check this?
Thanks,
Zeljko
Thanks,
Zeljko