B2020-059 – the 1st AER sub-step was printing on the HLS text when the last table in the RNO was compressed. (Barakah data)
This commit is contained in:
@@ -189,12 +189,20 @@ namespace Volian.Print.Library
|
||||
Volian.Base.Library.BaselineMetaFile.WriteLine("Page Change from {0} to {1}", _lastPageNum, cb.PdfDocument.PageNumber);
|
||||
_lastPageNum = cb.PdfDocument.PageNumber;
|
||||
}
|
||||
VlnSvgPageHelper _MyPageHelper = cb.PdfWriter.PageEvent as VlnSvgPageHelper;
|
||||
PdfLayer textLayer = _MyPageHelper == null ? null : _MyPageHelper.TextLayer;
|
||||
float left = x + Offset.X;
|
||||
float top = y + Offset.Y;
|
||||
// B2020-059 - Barakah 1T4-OP-EOP-AC-0001 Instructions and Contingency Actions section step 6 last table in RNO is compressed - cause first bullet substep in AER to print on top HLS text
|
||||
// AdjustedTable and AdjustedTableYtop are set in vlnParagraph.cs DrawGrid()
|
||||
if (_MyPageHelper.AdjustedTable != null && _MyPageHelper.AdjustedTableYtop > y)
|
||||
top += _MyPageHelper.TableAdjustment;// RHM20150525 - Table Scrunch //B2020-059
|
||||
if (iParagraph.Chunks.Count > 0)
|
||||
{
|
||||
if (itmID == null)
|
||||
Volian.Base.Library.BaselineMetaFile.WriteLine("TX x={0} Y={1} W={2} H={3}", x, y, width, height);
|
||||
Volian.Base.Library.BaselineMetaFile.WriteLine("TX x={0} Y={1} W={2} H={3}", left-Offset.X, top-Offset.Y, width, height);
|
||||
else
|
||||
Volian.Base.Library.BaselineMetaFile.WriteLine("TX x={0} Y={1} W={2} H={3} ItmID={4}", x, y, width, height, itmID);
|
||||
Volian.Base.Library.BaselineMetaFile.WriteLine("TX x={0} Y={1} W={2} H={3} ItmID={4}", left - Offset.X, top - Offset.Y, width, height, itmID);
|
||||
foreach (Chunk chk1 in iParagraph)
|
||||
{
|
||||
//Object obj = chk1.Attributes["UNDERLINE"];
|
||||
@@ -214,10 +222,6 @@ namespace Volian.Print.Library
|
||||
chk.Attributes.Add("NoSplit", false);
|
||||
}
|
||||
}
|
||||
VlnSvgPageHelper _MyPageHelper = cb.PdfWriter.PageEvent as VlnSvgPageHelper;
|
||||
PdfLayer textLayer = _MyPageHelper == null ? null : _MyPageHelper.TextLayer;
|
||||
float left = x + Offset.X;
|
||||
float top = y + Offset.Y + _MyPageHelper.TableAdjustment;// RHM20150525 - Table Scrunch
|
||||
float right = left + width;
|
||||
float bottom = top - height;
|
||||
ColumnText myColumnText = new ColumnText(cb);
|
||||
|
Reference in New Issue
Block a user