private static void handleTxBody(CTTextBody sp, CTTextBody layoutShape) { // a slide layout p:sp/p:txBody can override, with a <a:lstStyle> element // so copy a:lstStyle over if (sp.getLstStyle()!=null) { log.warn("Slide shape contains lstStyle! (Not expected at that level)"); log.debug(XmlUtils.marshaltoString(sp.getLstStyle(), false, true, Context.jcPML, "FIXME", "lstStyle", CTTextListStyle.class)); } if (layoutShape.getLstStyle()!=null) { sp.setLstStyle( XmlUtils.deepCopy(layoutShape.getLstStyle(), Context.jcPML )); } }
private static void handleTxBody(CTTextBody sp, CTTextBody layoutShape) { // a slide layout p:sp/p:txBody can override, with a <a:lstStyle> element // so copy a:lstStyle over if (sp.getLstStyle()!=null) { log.warn("Slide shape contains lstStyle! (Not expected at that level)"); log.debug(XmlUtils.marshaltoString(sp.getLstStyle(), false, true, Context.jcPML, "FIXME", "lstStyle", CTTextListStyle.class)); } if (layoutShape.getLstStyle()!=null) { sp.setLstStyle( XmlUtils.deepCopy(layoutShape.getLstStyle(), Context.jcPML )); } }