Fixed tabs boxes on V.C. Summer Notes and Cautions
This commit is contained in:
parent
37df3cd624
commit
ba720b0adb
@ -133,8 +133,10 @@ 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;
|
||||||
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) ||
|
||||||
|
(childItemInfo.MyHeader == null && childItemInfo.MyPrevious.MyHeader != null || childItemInfo.MyHeader != null && childItemInfo.MyPrevious.MyHeader == null)))
|
||||||
|
doSeparateBoxHdrChg = childItemInfo.MyPrevious.MyContent.Type != childItemInfo.MyContent.Type;//true;
|
||||||
|
|
||||||
if ((bxIndx ?? -1) != -1 && (bxIndex != bxIndx || childItemInfo.FormatStepData.BoxIt || childItemInfo.MyHeader != null || doSeparateBoxHdrChg || childItemInfo.FormatStepData.SeparateBox))
|
if ((bxIndx ?? -1) != -1 && (bxIndex != bxIndx || childItemInfo.FormatStepData.BoxIt || childItemInfo.MyHeader != null || doSeparateBoxHdrChg || childItemInfo.FormatStepData.SeparateBox))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user