B2019-110 Table off the top of page error log
This commit is contained in:
parent
d7ed3062a8
commit
d9b89a4233
@ -32,6 +32,9 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
public class Rtf2Pdf
|
public class Rtf2Pdf
|
||||||
{
|
{
|
||||||
|
#region Log4Net
|
||||||
|
private static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
#endregion
|
||||||
private string _Rtf;
|
private string _Rtf;
|
||||||
|
|
||||||
public string Rtf
|
public string Rtf
|
||||||
@ -311,6 +314,11 @@ namespace Volian.Print.Library
|
|||||||
myColumnText.SetSimpleColumn(left, top, left + width, yBottomMargin);
|
myColumnText.SetSimpleColumn(left, top, left + width, yBottomMargin);
|
||||||
//if (textLayer != null) cb.BeginLayer(textLayer); // RHM20150507 Table Scrunch
|
//if (textLayer != null) cb.BeginLayer(textLayer); // RHM20150507 Table Scrunch
|
||||||
// C2018-004 create meta file for baseline compares
|
// C2018-004 create meta file for baseline compares
|
||||||
|
if (top + GridTopAdjust > 792) // B2019-110 Table continued on the next page - off the top of page
|
||||||
|
{
|
||||||
|
_MyLog.ErrorFormat("\r\n===> Table Printing Off the Top of Page");
|
||||||
|
Volian.Base.Library.BaselineMetaFile.WriteLine("## Error - Grid Off the Top of Page");
|
||||||
|
}
|
||||||
Volian.Base.Library.BaselineMetaFile.WriteLine("GD left={0} top={1} right={2} bottom={3} Mygrid.ItmID={4}", left, top + GridTopAdjust, right, bottom, myGrid.ItemID);
|
Volian.Base.Library.BaselineMetaFile.WriteLine("GD left={0} top={1} right={2} bottom={3} Mygrid.ItmID={4}", left, top + GridTopAdjust, right, bottom, myGrid.ItemID);
|
||||||
myGrid.ToPdf(myColumnText, left, top + GridTopAdjust);
|
myGrid.ToPdf(myColumnText, left, top + GridTopAdjust);
|
||||||
//if (textLayer != null) cb.EndLayer(); // RHM20150507 Table Scrunch
|
//if (textLayer != null) cb.EndLayer(); // RHM20150507 Table Scrunch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user