B2019-073 Corrected the ReplaceWords logic so that if it was turned off in for tables, it will also keep it turned off if the table is in an RNO or RNO part
This commit is contained in:
parent
da69106c87
commit
bf3983e953
@ -2052,6 +2052,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
else if (_MyItemInfo.IsInRNO && (myFlag & E_ReplaceFlags.RNO) > 0)
|
else if (_MyItemInfo.IsInRNO && (myFlag & E_ReplaceFlags.RNO) > 0)
|
||||||
{
|
{
|
||||||
replaceit = true;
|
replaceit = true;
|
||||||
|
// B2019-073 if there is table, caution, or note in an RNO and ReplaceWords is turn off
|
||||||
|
// for those step types, set replaceit to false.
|
||||||
|
if (_MyItemInfo.IsTable)
|
||||||
|
replaceit = ((myFlag & E_ReplaceFlags.Table) > 0);
|
||||||
|
else if (_MyItemInfo.IsCaution)
|
||||||
|
replaceit = ((myFlag & E_ReplaceFlags.Caution) > 0);
|
||||||
|
else if (_MyItemInfo.IsNote)
|
||||||
|
replaceit = ((myFlag & E_ReplaceFlags.Note) > 0);
|
||||||
}
|
}
|
||||||
else if (_MyItemInfo.IsCaution && (myFlag & E_ReplaceFlags.Caution) > 0)
|
else if (_MyItemInfo.IsCaution && (myFlag & E_ReplaceFlags.Caution) > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user