Fixed the logic for V.C. Summer Caution and Note (Transition Note and Transition Cautions)
This commit is contained in:
parent
50d3d585f0
commit
a5eadb3871
@ -105,6 +105,10 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if ((childItemInfo.IsCaution || childItemInfo.IsNote) &&
|
||||||
|
childItemInfo.MyPrevious != null && childItemInfo.MyPrevious.MyContent.Type != childItemInfo.MyContent.Type &&
|
||||||
|
childItemInfo.NextItemCount > 0 && childItemInfo.MyContent.Type == childItemInfo.NextItem.MyContent.Type)
|
||||||
|
childItemInfo.SetupTags(); // added for V.C. Summer Transition caution in EOP-15.0 step 5.4
|
||||||
if (lastHeader != null)
|
if (lastHeader != null)
|
||||||
{
|
{
|
||||||
childItemInfo.SetHeader(childItemInfo.FormatStepData.TabData.Font, lastHeader);
|
childItemInfo.SetHeader(childItemInfo.FormatStepData.TabData.Font, lastHeader);
|
||||||
@ -129,7 +133,6 @@ namespace Volian.Print.Library
|
|||||||
// into the box code. Without this check, none of the box code is run. This caused a problem
|
// into the box code. Without this check, none of the box code is run. This caused a problem
|
||||||
// for VCS where two different type notes where not getting separate boxes.
|
// for VCS where two different type notes where not getting separate boxes.
|
||||||
bool doSeparateBoxHdrChg = false;
|
bool doSeparateBoxHdrChg = false;
|
||||||
childItemInfo.SetupTags(); // added for V.C. Summer Transition caution in EOP-15.0 step 5.4
|
|
||||||
if (childItemInfo.MyPrevious != null && childItemInfo.MyHeader != null && childItemInfo.MyPrevious.MyHeader != null
|
if (childItemInfo.MyPrevious != null && childItemInfo.MyHeader != null && childItemInfo.MyPrevious.MyHeader != null
|
||||||
&& childItemInfo.MyHeader.CleanText != childItemInfo.MyPrevious.MyHeader.CleanText) doSeparateBoxHdrChg = true;
|
&& childItemInfo.MyHeader.CleanText != childItemInfo.MyPrevious.MyHeader.CleanText) doSeparateBoxHdrChg = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user