use of org.openxmlformats.schemas.drawingml.x2006.main.CTEffectStyleList in project poi by apache.
the class TestXSLFSimpleShape method testShadowEffects.
@SuppressWarnings("unused")
@Test
public void testShadowEffects() throws IOException {
XMLSlideShow ppt = new XMLSlideShow();
XSLFSlide slide = ppt.createSlide();
CTStyleMatrix styleMatrix = slide.getTheme().getXmlObject().getThemeElements().getFmtScheme();
CTEffectStyleList lst = styleMatrix.getEffectStyleLst();
assertNotNull(lst);
for (CTEffectStyleItem ef : lst.getEffectStyleArray()) {
CTOuterShadowEffect obj = ef.getEffectLst().getOuterShdw();
}
ppt.close();
}
Aggregations