Added Unit Specif logic
Added “Final Page” logic Added “Final Page” logic, fixed PDF compare where it wasn’t finding the file in the Compare folder Added Caution and Note boxes for Turkey Point Null check and logic for PosAdjust format variable Added “Final Page” message logic Fix to get proper with of tabs containing a solid bullet
This commit is contained in:
@@ -878,7 +878,14 @@ namespace Volian.Print.Library
|
||||
{
|
||||
doSectTab = true;
|
||||
if (itemInfo.IsStepSection && formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Just == "PSLeft")
|
||||
localXOffset = (float)formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos + (float)itemInfo.MyDocStyle.Layout.LeftMargin;
|
||||
{
|
||||
float offset = (float)itemInfo.MyDocStyle.Layout.LeftMargin;
|
||||
if (formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos != null)
|
||||
offset += (float)formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos;
|
||||
localXOffset = offset;
|
||||
// jsj - 12Aug2011
|
||||
//localXOffset = (float)formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos + (float)itemInfo.MyDocStyle.Layout.LeftMargin;
|
||||
}
|
||||
}
|
||||
if (!itemInfo.IsSection || doSectTab)
|
||||
{
|
||||
@@ -1055,6 +1062,9 @@ namespace Volian.Print.Library
|
||||
else // AER or RNO
|
||||
XOffset = MyParent.XOffset + MyParent.Width / 2 - Width / 2;
|
||||
|
||||
// Set any position adjustment (defined in the format on a per type basis)
|
||||
XOffset += (float)(MyItemInfo.FormatStepData.StepPrintData.PosAdjust ?? 0);
|
||||
|
||||
// if the XOffset < High Level Step Text's XOffset, then align with the High Level Step Text
|
||||
if (XOffset < xLowerLimit)
|
||||
XOffset = xLowerLimit;
|
||||
|
Reference in New Issue
Block a user