internal override bool DeleteRef(TEscherSpRecord aShape) { if (Shape == aShape) { Shape = null; SpId = 0; } return(Shape == null); }
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); }
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; } }
internal abstract bool DeleteRef(TEscherSpRecord aShape);
internal override bool DeleteRef(TEscherSpRecord aShape) { XlsMessages.ThrowException(XlsErr.ErrNotImplemented, "Align Rule"); return(false); }