Shape sp = (Shape)o;
if (sp.getNvSpPr()!=null
&& sp.getNvSpPr().getNvPr()!=null
&& sp.getNvSpPr().getNvPr().getPh() != null) {
CTPlaceholder placeholder = sp.getNvSpPr().getNvPr().getPh();
ShapeWrapper sw = new ShapeWrapper(sp, placeholder.getType().toString(),
this);
indexedPlaceHolders.put(sw.getPhType(), sw);
String name = "";
if (sp.getNvSpPr().getCNvPr()!=null) {
name = sp.getNvSpPr().getCNvPr().getName();
}
log.debug("Indexed: " + sw.getPhType() + "(" + name + ") in " + sw.getOwner().getPartName().toString() );
}
}
}
return indexedPlaceHolders;
}