Table shrinking support
This commit is contained in:
@@ -14,12 +14,31 @@ namespace Volian.Print.Library
|
||||
{
|
||||
public partial class VlnSvgPageHelper:SvgPageHelper
|
||||
{
|
||||
private float _TableAdjustment = 0;// RHM20150525 - Table Scrunch
|
||||
public float TableAdjustment
|
||||
{
|
||||
get { return _TableAdjustment; }
|
||||
set { _TableAdjustment = value; }
|
||||
}
|
||||
private static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private pkParagraphs _MyPlacekeepers = new pkParagraphs();
|
||||
public pkParagraphs MyPlacekeepers
|
||||
{
|
||||
get { return _MyPlacekeepers; }
|
||||
}
|
||||
private float? _BottomContent = null;// RHM20150525 - Table Scrunch
|
||||
public float? BottomContent
|
||||
{
|
||||
get
|
||||
{
|
||||
return _BottomContent;
|
||||
}
|
||||
set
|
||||
{
|
||||
if(value == null || _BottomContent == null || _BottomContent > value)
|
||||
_BottomContent = value;
|
||||
}
|
||||
}
|
||||
private PageBookmarks _PageBookmarks = new PageBookmarks();
|
||||
public PageBookmarks PageBookmarks
|
||||
{
|
||||
@@ -201,6 +220,7 @@ namespace Volian.Print.Library
|
||||
//}
|
||||
public override void OnEndPage(PdfWriter writer, iTextSharp.text.Document document)
|
||||
{
|
||||
TableAdjustment = 0;// RHM20150525 - Table Scrunch
|
||||
//string path = Volian.Base.Library.vlnStackTrace.StackToStringLocal(3, 1);
|
||||
//Console.WriteLine("End {0}",path);
|
||||
int profileDepth = ProfileTimer.Push(">>>> OnEndPage");
|
||||
|
Reference in New Issue
Block a user