B2019-168: Change bar code for not continuous cases should only be applicable based on format flag
This commit is contained in:
@@ -131,7 +131,9 @@ namespace Volian.Print.Library
|
||||
// the separator must exist and the previous must have a change bar.
|
||||
|
||||
// B2019-055 added check if the previous caution or note have the same type number
|
||||
if ((sep != "") && (tmp.Text == sep) && parent.MyItemInfo.MyPrevious != null && parent.MyItemInfo.MyPrevious.HasChangeBar && (parent.MyItemInfo.MyContent.Type == parent.MyItemInfo.MyPrevious.MyContent.Type))
|
||||
// B2019-168 added format flag 'SeparateChangeBarsForDiffNotesCautions' to control when fix for B2019-055 would take affect
|
||||
if ((sep != "") && (tmp.Text == sep) && parent.MyItemInfo.MyPrevious != null && parent.MyItemInfo.MyPrevious.HasChangeBar
|
||||
&& (!parent.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.SeparateChangeBarsForDiffNotesCautions || parent.MyItemInfo.MyContent.Type == parent.MyItemInfo.MyPrevious.MyContent.Type))
|
||||
{
|
||||
if (MyPageHelper.MyParagraphs.ContainsKey(parent.MyItemInfo.MyPrevious.ItemID))
|
||||
{
|
||||
|
Reference in New Issue
Block a user