use of org.apache.poi.ddf.AbstractEscherOptRecord in project poi by apache.
the class ActiveXShape method afterInsert.
@Override
protected void afterInsert(HSLFSheet sheet) {
ExControl ctrl = getExControl();
if (ctrl == null) {
throw new NullPointerException("ExControl is not defined");
}
ctrl.getExControlAtom().setSlideId(sheet._getSheetNumber());
String name = ctrl.getProgId() + "-" + getControlIndex() + '