Example #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// This method is used to get a notification when an owning object-replacement character
 /// (ORC) is deleted. ORCs are used to mark locations in the text of things like pictures
 /// or footnotes. In the case of footnotes, when an owning footnote ORC is deleted, we
 /// need to find the corresponding footnote and delete it.
 /// </summary>
 /// <param name="guid">The GUID of the footnote being deleted.</param>
 /// ------------------------------------------------------------------------------------
 public override void ObjDeleted(ref Guid guid)
 {
     if (m_decoratedEditingHelper != null)
     {
         m_decoratedEditingHelper.ObjDeleted(ref guid);
     }
     else
     {
         base.ObjDeleted(ref guid);
     }
 }