Added Step_SpellCheckerChangedText config variable for editorial spell checker

This commit is contained in:
John Jenko 2016-10-25 18:45:28 +00:00
parent 77fff95d73
commit e592df4403

View File

@ -358,6 +358,30 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("Step_Responsibility");
}
}
//[Category("Step Attributes")]
//[DisplayName("Step Change By Spell Checker")]
//[RefreshProperties(RefreshProperties.All)]
//[Description("Step Change By Spell Checker")]
// When the spell checker changes text do not assign a change bar but keep existing change bar if it is there
public string Step_SpellCheckerChangedText
{
get
{
string s = _Xp["Step", "SpellCheckerChangedText"];
if (s == string.Empty) return null;
return s;
}
set
{
string s = _Xp["Step", "SpellCheckerChangedText"];
if (value != null && value.ToString() == s) return;
if (value == null && s != null) _Xp["Step", "SpellCheckerChangedText"] = null;
else _Xp["Step", "SpellCheckerChangedText"] = value.ToString();
OnPropertyChanged("SpellCheckerChangedText");
}
}
#region RO image sizing
// if the RO image (figure) is resized, save it in the step config, not in the ROImageConfig. If stored in ROImageConfig
// the size is set for ALL uses.