Equation Editor interface support
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user