Added TurnOffReplaceWords format flag

Added space after UnderlineOn command when converting.  Fixed the conversion of Top Continue Message, when not defined in 16-bit, set to an empty string so that it is not inherited from the Base format
Added TurnOffReplaceWords flag
Don’t do ReplaceWords if TurnOffReplaceWords is set to true
This commit is contained in:
2013-07-17 15:13:02 +00:00
parent d055adfd11
commit 0eda70c1c8
5 changed files with 27 additions and 4 deletions

View File

@@ -1685,6 +1685,18 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _ConvertCaretToDelta, "@ConvertCaretToDelta");
}
}
// This format flag turns off the Replace Words functionality.
// in 16-bit proms, this was done simply by having an empty Replace Words list.
// in 32-bit the inheiradence logic finds a replace words list in the base format
// if the plant format does not have one. Thus the need of this format flag.
private LazyLoad<bool> _TurnOffReplaceWords;
public bool TurnOffReplaceWords
{
get
{
return LazyLoad(ref _TurnOffReplaceWords, "@TurnOffReplaceWords");
}
}
}
#endregion
#region SectionNumber