B2022-060 Change bars on second page not positioned correctly (Prairie Island)

B2022-060 Change bars on second page not positioned correctly (Prairie Island)
B2022-066 Alarm number not printing properly in page header (Prairie Island)
This commit is contained in:
2022-06-08 14:23:19 +00:00
parent f1b18221ce
commit e5cba62b95
2 changed files with 9 additions and 3 deletions

View File

@@ -162,6 +162,8 @@ namespace Volian.Print.Library
{
float? topMost = null;
cb.SaveState();
// B2022-060 Prairie Island Alarms, change bars on second page of Alarm Point would sometimes be printed to far down the page
// The TopMargin setting of the first page is different than the second page and needed to be passed in
// for bug fix B2015-159
// Ginna reported an instance where a change bar started printing inside the page header box
// in their Abnornal procedures AP-SG.1 step 41.b RNO which continued onto the next page
@@ -169,7 +171,7 @@ namespace Volian.Print.Library
if (_MyParent is vlnParagraph)
{
vlnParagraph pgh = _MyParent as vlnParagraph;
topMost = cb.PdfWriter.PageSize.Height - (float)pgh.MyItemInfo.MyDocStyle.Layout.TopMargin;
topMost = cb.PdfWriter.PageSize.Height - yPageStart;
}
VlnSvgPageHelper _MyPageHelper = cb.PdfWriter.PageEvent as VlnSvgPageHelper;
PdfLayer textLayer = _MyPageHelper == null ? null : _MyPageHelper.TextLayer;