Changed base font to Arial 12
Added two lines (24 Points) to the Page Length Account for RNOOnly Continue when determining page break location Fixed logic to limit the location of the bottom Continue Message
This commit is contained in:
@@ -330,7 +330,7 @@ namespace Volian.Print.Library
|
||||
yPageStart = yTopMargin + YTopMost;
|
||||
}
|
||||
else
|
||||
yPageStart = yTopMargin + YOffset;
|
||||
yPageStart = yTopMargin + YOffset;
|
||||
}
|
||||
else
|
||||
yPageStart = PartsAbove.ToPdf(cb, yPageStart, ref yTopMargin, ref yBottomMargin);
|
||||
@@ -915,6 +915,11 @@ namespace Volian.Print.Library
|
||||
{
|
||||
case E_ContBottomLoc.EndOfText: // place continue string at end of text
|
||||
msg_yLocation = msg_yLocation + yLocation - SixLinesPerInch;
|
||||
if (yBottomMargin + (docstyle.Layout.FooterLength ?? 0) > msg_yLocation)
|
||||
{ // Adjusted Continue Message Y Offset
|
||||
//DebugPagination.WriteLine("====>> {0},'{1}'", msg_yLocation, MyItemInfo.ShortPath);
|
||||
msg_yLocation = yBottomMargin + (docstyle.Layout.FooterLength ?? 0);
|
||||
}
|
||||
break;
|
||||
case E_ContBottomLoc.BtwnTextAndBottom: // place continue string between end of text & bottom of page
|
||||
msg_yLocation = msg_yLocation + yLocation - ((yLocation - yBottomMargin) / 2); // +SixLinesPerInch; (need this for IP3)
|
||||
@@ -930,7 +935,7 @@ namespace Volian.Print.Library
|
||||
msg_yLocation = Math.Max(msg_yLocation + yLocation - SixLinesPerInch, yBottomMargin + SixLinesPerInch);
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine("**** BOTTOM CONTINUE MESSAGE NOT CODED*****");
|
||||
_MyLog.WarnFormat("**** BOTTOM CONTINUE MESSAGE NOT CODED FOR LOCATION {0}*****", docstyle.Continue.Bottom.Location);
|
||||
break;
|
||||
}
|
||||
if (!PageBreakOnStep)
|
||||
|
Reference in New Issue
Block a user