internal override void AfterRemove(HSSFPatriarch patriarch) { patriarch.getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().GetChildById(EscherClientDataRecord.RECORD_ID)); if (null != GetEscherContainer().GetChildById(EscherTextboxRecord.RECORD_ID)) { patriarch.getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().GetChildById(EscherTextboxRecord.RECORD_ID)); } }
internal override void AfterInsert(HSSFPatriarch patriarch) { EscherAggregate agg = patriarch.getBoundAggregate(); agg.AssociateShapeToObjRecord(GetEscherContainer().GetChildById(EscherClientDataRecord.RECORD_ID), GetObjRecord()); if (GetTextObjectRecord() != null) { agg.AssociateShapeToObjRecord(GetEscherContainer().GetChildById(EscherTextboxRecord.RECORD_ID), GetTextObjectRecord()); } }
internal override void AfterInsert(HSSFPatriarch patriarch) { base.AfterInsert(patriarch); patriarch.getBoundAggregate().AddTailRecord(NoteRecord); }
internal override void AfterRemove(HSSFPatriarch patriarch) { base.AfterRemove(patriarch); patriarch.getBoundAggregate().RemoveTailRecord(this.NoteRecord); }
internal override void AfterRemove(HSSFPatriarch patriarch) { patriarch.getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().GetChildById(EscherClientDataRecord.RECORD_ID)); patriarch.getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().GetChildById(EscherTextboxRecord.RECORD_ID)); }