F2018-025 Treat the HSL with a “.0’ as a section number/title and the first level substeps as high level steps, adjusting the tab numbering and positions accordingly through all the substep levels

This commit is contained in:
2018-04-11 19:44:37 +00:00
parent c93cee7f20
commit 89128764b7
3 changed files with 28 additions and 3 deletions

View File

@@ -5893,6 +5893,19 @@ namespace Volian.Print.Library
XOffset = MyParent.XOffset;
if (myTab != null) myTab.XOffset = (MyParent.MyTab != null ? MyParent.MyTab.XOffset : XOffset);
}
else if (itemInfo.IsSequential && itemInfo.MyHLS.FormatStepData.AppendDotZero)// F2018-025 shift first level substep to column position of high level step Westinghouse wst1 step type 50
{
if (itemInfo.MyParent.IsHigh)
{
XOffset = MyParent.XOffset;
if (myTab != null) myTab.XOffset = (MyParent.MyTab != null ? MyParent.MyTab.XOffset : XOffset);
}
else
{
myTab.XOffset = MyParent.XOffset;
XOffset = myTab.XOffset + MyTab.Width;
}
}
else if (myTab != null && itemInfo.IsSequential && formatInfo.PlantFormat.FormatData.SectData.UseMetaSections && formatInfo.PlantFormat.FormatData.SectData.StepSectionData.StepSectionPrintData.LeftJustifyList.Count > 0)
{
int indxLevels = itemInfo.PrintLevel + itemInfo.CurrentSectionLevel();