예제 #1
0
 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));
     }
 }
예제 #2
0
        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());
            }
        }
예제 #3
0
파일: HSSFComment.cs 프로젝트: WPG/npoi
 internal override void AfterInsert(HSSFPatriarch patriarch)
 {
     base.AfterInsert(patriarch);
     patriarch.getBoundAggregate().AddTailRecord(NoteRecord);
 }
예제 #4
0
파일: HSSFComment.cs 프로젝트: WPG/npoi
 internal override void AfterRemove(HSSFPatriarch patriarch)
 {
     base.AfterRemove(patriarch);
     patriarch.getBoundAggregate().RemoveTailRecord(this.NoteRecord);
 }
예제 #5
0
파일: HSSFTextbox.cs 프로젝트: WPG/npoi
 internal override void AfterRemove(HSSFPatriarch patriarch)
 {
     patriarch.getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().GetChildById(EscherClientDataRecord.RECORD_ID));
     patriarch.getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().GetChildById(EscherTextboxRecord.RECORD_ID));
 }
예제 #6
0
파일: HSSFTextbox.cs 프로젝트: WPG/npoi
 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());
     }
 }
예제 #7
0
 internal override void AfterInsert(HSSFPatriarch patriarch)
 {
     base.AfterInsert(patriarch);
     patriarch.getBoundAggregate().AddTailRecord(NoteRecord);
 }
예제 #8
0
 internal override void AfterRemove(HSSFPatriarch patriarch)
 {
     base.AfterRemove(patriarch);
     patriarch.getBoundAggregate().RemoveTailRecord(this.NoteRecord);
 }