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:
parent
f1b18221ce
commit
e5cba62b95
@ -824,10 +824,13 @@ i = 0;
|
|||||||
private void DrawChangeBars(PdfContentByte cb)
|
private void DrawChangeBars(PdfContentByte cb)
|
||||||
{
|
{
|
||||||
float tmp = 0;
|
float tmp = 0;
|
||||||
|
// 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 to ToPDF for change bars
|
||||||
|
float topMargin = (float)MySection.MyDocStyle.Layout.TopMargin;
|
||||||
foreach (vlnChangeBar vcb in MyChangeBars)
|
foreach (vlnChangeBar vcb in MyChangeBars)
|
||||||
{
|
{
|
||||||
// TODO: Pass in zeroes because topdf is inherited.
|
// TODO: Pass in zeroes because topdf is inherited.
|
||||||
vcb.ToPdf(cb, 0, ref tmp, ref tmp);
|
vcb.ToPdf(cb, topMargin, ref tmp, ref tmp);
|
||||||
}
|
}
|
||||||
_MyChangeBars = new List<vlnChangeBar>();
|
_MyChangeBars = new List<vlnChangeBar>();
|
||||||
}
|
}
|
||||||
@ -1896,6 +1899,7 @@ i = 0;
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// B2022-066 the "{PREDELIMEOPNUM}" token was not being processed because there was a space after the "{"
|
||||||
if (token.Equals("{PREDELIMEOPNUM}"))
|
if (token.Equals("{PREDELIMEOPNUM}"))
|
||||||
{
|
{
|
||||||
// only use up to the first non-alphanumeric character of the procedur number
|
// only use up to the first non-alphanumeric character of the procedur number
|
||||||
|
@ -162,6 +162,8 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
float? topMost = null;
|
float? topMost = null;
|
||||||
cb.SaveState();
|
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
|
// for bug fix B2015-159
|
||||||
// Ginna reported an instance where a change bar started printing inside the page header box
|
// 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
|
// 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)
|
if (_MyParent is vlnParagraph)
|
||||||
{
|
{
|
||||||
vlnParagraph pgh = _MyParent as 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;
|
VlnSvgPageHelper _MyPageHelper = cb.PdfWriter.PageEvent as VlnSvgPageHelper;
|
||||||
PdfLayer textLayer = _MyPageHelper == null ? null : _MyPageHelper.TextLayer;
|
PdfLayer textLayer = _MyPageHelper == null ? null : _MyPageHelper.TextLayer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user