예제 #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();
            EscherContainerRecord containerRecord = (EscherContainerRecord)GetEscherContainer().GetChildById(EscherContainerRecord.SP_CONTAINER);

            agg.AssociateShapeToObjRecord(containerRecord.GetChildById(EscherClientDataRecord.RECORD_ID), GetObjRecord());
        }
예제 #3
0
        internal override void AfterInsert(HSSFPatriarch patriarch)
        {
            EscherAggregate agg = patriarch._getBoundAggregate();

            agg.AssociateShapeToObjRecord(GetEscherContainer().GetChildById(EscherClientDataRecord.RECORD_ID), GetObjRecord());

            if (null != GetTextObjectRecord())
            {
                agg.AssociateShapeToObjRecord(GetEscherContainer().GetChildById(EscherTextboxRecord.RECORD_ID), GetTextObjectRecord());
            }
        }
예제 #4
0
 internal override void AfterRemove(HSSFPatriarch patriarch)
 {
     patriarch._getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().ChildContainers[0]
                                                           .GetChildById(EscherClientDataRecord.RECORD_ID));
     for (int i = 0; i < shapes.Count; i++)
     {
         HSSFShape shape = (HSSFShape)shapes[i];
         RemoveShape(shape);
         shape.AfterRemove(Patriarch);
     }
     shapes.Clear();
 }
예제 #5
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));
     }
 }
예제 #6
0
        internal override void AfterInsert(HSSFPatriarch patriarch)
        {
            EscherAggregate agg = patriarch._getBoundAggregate();
            agg.AssociateShapeToObjRecord(GetEscherContainer().GetChildById(EscherClientDataRecord.RECORD_ID), GetObjRecord());

            if (null != GetTextObjectRecord())
            {
                agg.AssociateShapeToObjRecord(GetEscherContainer().GetChildById(EscherTextboxRecord.RECORD_ID), GetTextObjectRecord());
            }
        }
예제 #7
0
 internal override void AfterRemove(HSSFPatriarch patriarch)
 {
     patriarch._getBoundAggregate().RemoveShapeToObjRecord(GetEscherContainer().ChildContainers[0]
             .GetChildById(EscherClientDataRecord.RECORD_ID));
     for (int i = 0; i < shapes.Count; i++)
     {
         HSSFShape shape = (HSSFShape)shapes[i];
         RemoveShape(shape);
         shape.AfterRemove(Patriarch);
     }
     shapes.Clear();
 }
예제 #8
0
 internal override void AfterInsert(HSSFPatriarch patriarch)
 {
     EscherAggregate agg = patriarch._getBoundAggregate();
     EscherContainerRecord containerRecord = (EscherContainerRecord)GetEscherContainer().GetChildById(EscherContainerRecord.SP_CONTAINER);
     agg.AssociateShapeToObjRecord(containerRecord.GetChildById(EscherClientDataRecord.RECORD_ID), GetObjRecord());
 }
예제 #9
0
 internal override void AfterRemove(HSSFPatriarch patriarch)
 {
     base.AfterRemove(patriarch);
     patriarch._getBoundAggregate().RemoveTailRecord(this.NoteRecord);
 }
예제 #10
0
 internal override void AfterRemove(HSSFPatriarch patriarch)
 {
     base.AfterRemove(patriarch);
     patriarch._getBoundAggregate().RemoveTailRecord(this.NoteRecord);
 }