B2020-107: Add missing options to Search’s Save & Load

This commit is contained in:
2020-08-14 15:28:09 +00:00
parent 79d16a33a7
commit 9142e7b168
3 changed files with 160 additions and 44 deletions

View File

@@ -1406,6 +1406,7 @@ namespace VEPROMS.CSLA.Library
{
get
{
if (MyHLS == null) return 0;
return MyHLS.GetMaxRNOLevelsFromChildren;
}
}
@@ -2622,7 +2623,7 @@ namespace VEPROMS.CSLA.Library
{
get
{
string dtext = ConvertToDisplayText(Regex.Replace(_SearchPath ?? "", "\x11.*?\x07", "\x07"));
string dtext = ConvertToDisplayText(Regex.Replace(SearchPath ?? "", "\x11.*?\x07", "\x07"));
if (IsFigure && dtext.EndsWith("Table.")) dtext = dtext.Substring(0, dtext.Length - "Table.".Length) + "Figure.";
else if (IsRtfRaw && dtext.EndsWith("Table.") && FormatStepData.Type.Contains("Equation")) dtext = dtext.Substring(0, dtext.Length - "Table.".Length) + "Equation.";
return dtext;