Added a flag for the box around continuous action substeps
fix for Point Beach continuous action substeps
This commit is contained in:
@@ -78,7 +78,6 @@ namespace Volian.Print.Library
|
||||
maxRNO = (iChildItemInfo as SectionInfo).ColumnMode;
|
||||
ItemInfo childItemInfo = iChildItemInfo;
|
||||
int? bxIndx = childItemInfo.FormatStepData == null ? -1 : childItemInfo.FormatStepData.StepLayoutData.STBoxindex;
|
||||
|
||||
// if the Caution or Note is not boxed, then use ColT to set the starting column of the Note or Caution
|
||||
if (((bxIndx ?? -1) == -1) && (childItemInfo.IsCaution || childItemInfo.IsNote) && !childItemInfo.IsInRNO &&
|
||||
!childItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.Dev_Format &&
|
||||
@@ -220,6 +219,13 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (childItemInfo is SectionInfo) formatInfo = (childItemInfo as SectionInfo).LocalFormat ?? formatInfo;
|
||||
if (rnoLevel < maxRNO && childItemInfo.RNOs != null) yoff = Math.Max(yoff, yoffRight);
|
||||
if (childItemInfo.ActiveSection.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionPrintData.ContActBoxOnSubSteps &&
|
||||
box != null && box.MyBox != null && bxIndx == null) // point beach boxed substeps
|
||||
{
|
||||
box.Height = yoff - box.YOffset - (1F * vlnPrintObject.SixLinesPerInch);
|
||||
box = null;
|
||||
yoff += 1 * vlnPrintObject.SixLinesPerInch;
|
||||
}
|
||||
vlnParagraph para = new vlnParagraph(Parent, cb, childItemInfo, xoff, yoff, rnoLevel, maxRNO, formatInfo, null, null, yoffRight);
|
||||
|
||||
// if doing the component list (FNP), keep track of the bottom most columns' data
|
||||
@@ -3130,7 +3136,6 @@ namespace Volian.Print.Library
|
||||
XOffset = MyParent.MyParent.XOffset;
|
||||
return;
|
||||
}
|
||||
|
||||
if (itemInfo.IsHigh)
|
||||
{
|
||||
float x = 0;
|
||||
@@ -3200,7 +3205,9 @@ namespace Volian.Print.Library
|
||||
if (myTab != null) myTab.XOffset = XOffset + tabOffset;
|
||||
return;
|
||||
}
|
||||
else if (bxIndx != null)
|
||||
// put in for Point Beach (wep2) we don't want to do this if we are processing a boxed substep (cont. action substep)
|
||||
else if (bxIndx != null && (itemInfo.IsCaution || itemInfo.IsNote ||
|
||||
!itemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionPrintData.ContActBoxOnSubSteps))
|
||||
{
|
||||
Box bx = formatInfo.PlantFormat.FormatData.BoxList[(int)bxIndx];
|
||||
if (bx == null)
|
||||
|
Reference in New Issue
Block a user