force alignment of ‘Unnumbered High Level Step’ with section text
Calvert: force alignment of ‘Unnumbered High Level Step’ with section text
This commit is contained in:
@@ -4039,8 +4039,11 @@ namespace Volian.Print.Library
|
||||
else
|
||||
{
|
||||
XOffset += xoff;
|
||||
// For Calvert, adjust from the left margin and current section's tab.
|
||||
if (myTab == null && itemInfo.FormatStepData.AlignNullTabWSectHead && itemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert)
|
||||
// For Calvert, adjust from the left margin and current section's tab. This is used
|
||||
// in BGEEOP (see EOP-0/Purpose ). However, it caused BGESTP's to print LossOfAC steps (unnumbered HLS) too
|
||||
// far to the left. The ForceAlignNullTabWSectHead was introduced so that for that step type (LossOfAC) in STP/OI format,
|
||||
// the SectData.SectionHeader.Pos was used rather than SectData.SectionNumber.Pos
|
||||
if (myTab == null && !itemInfo.FormatStepData.ForceAlignNullTabWSectHead && itemInfo.FormatStepData.AlignNullTabWSectHead && itemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert)
|
||||
XOffset = (float)itemInfo.MyDocStyle.Layout.LeftMargin + (float)formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos;
|
||||
else if (myTab == null && itemInfo.FormatStepData.AlignNullTabWSectHead)
|
||||
XOffset = (float)itemInfo.MyDocStyle.Layout.LeftMargin + (float)formatInfo.PlantFormat.FormatData.SectData.SectionHeader.Pos;
|
||||
|
Reference in New Issue
Block a user