Equation Editor interface support

This commit is contained in:
2016-11-17 15:05:15 +00:00
parent 3e212834ea
commit 0b7371367c
26 changed files with 2129 additions and 855 deletions

View File

@@ -96,7 +96,12 @@ namespace VEPROMS.CSLA.Library
case E_FromType.Step:
break;
case E_FromType.Table:
partText = ".Table";
if (MyItem.IsRtfRaw)
partText = ".Equation";
else if (MyItem.IsFigure)
partText = ".Figure";
else
partText = ".Table";
break;
default:
break;
@@ -151,6 +156,7 @@ namespace VEPROMS.CSLA.Library
{
if (MyItems != null && MyItems[0].IsTable) return ("Table");
if (MyItems != null && MyItems[0].IsFigure) return ("Figure");
if (MyItems != null && MyItems[0].IsRtfRaw) return ("Equation");
}
return string.Format("{0}", PartTypes);
}