Пример #1
0
 internal override bool DeleteRef(TEscherSpRecord aShape)
 {
     if (Shape == aShape)
     {
         Shape = null;
         SpId  = 0;
     }
     return(Shape == null);
 }
Пример #2
0
 internal override bool DeleteRef(TEscherSpRecord aShape)
 {
     for (int c = 0; c < 3; c++)
     {
         if (Shapes[c] == aShape)
         {
             Shapes[c] = null;
             SetSpIds(c, 0);
         }
     }
     return(Shapes[2] == null);
 }
Пример #3
0
        internal override void FixPointers()
        {
            if (DwgCache != null)
            {
                DwgCache.Solver.CheckMax(RuleId);
            }
            int Index = -1;

            if (DwgCache.Shape.Find(SpId, ref Index))
            {
                Shape = DwgCache.Shape[Index];
            }
            else
            {
                Shape = null;
            }
        }
Пример #4
0
 internal abstract bool DeleteRef(TEscherSpRecord aShape);
Пример #5
0
 internal override bool DeleteRef(TEscherSpRecord aShape)
 {
     XlsMessages.ThrowException(XlsErr.ErrNotImplemented, "Align Rule");
     return(false);
 }