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:
jjenko committed 2011-09-22 19:57:32 +00:00
1 parent 63888a983d
commit c5dc03ee1c
7 files changed
+181 -17

No files matched your search

+11 -1
View File
@@ -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;