F2019-010 Format tweaks for better pagination. Added End and Continued message per writer’s guild

F2019-010 added default header, cover page, and combined background/deviation template
F2019-010 Format tweaks for better printing
F2019-010 Added cover page
F2019-010 – Added default header and cover page
F2019-010 – removed page border for single column mode
F2019-010 – default header
B2019-021 – Consider checkoffs when printing continue message, adjust the position of the table drawn around checklist steps
This commit is contained in:
2019-02-08 19:57:56 +00:00
parent c6d39078e2
commit 9ead3da79f
11 changed files with 5 additions and 4 deletions

View File

@@ -718,7 +718,7 @@ namespace Volian.Print.Library
// just list the headers and the prefix can be 'empty'.
if (ii.FormatStepData.Font.FontIsProportional())
{
float yLocVertLine = yLocation + (lpi / 2);
float yLocVertLine = yLocation + (lpi * 1.5F); // +(lpi / 2);
// Prefix, i.e. Top line:
Paragraph topLeftLine = new Paragraph(bx.BXULC, iSymblFont);
Rtf2Pdf.TextAt(cb, topLeftLine, float.Parse(vertPos[0]) + (float)ii.MyDocStyle.Layout.LeftMargin - csize, yLocVertLine, lWidth, 100, null, yBottomMargin);
@@ -734,7 +734,7 @@ namespace Volian.Print.Library
// Vertical Lines around HLS
//int countLine = (int)(this.Height / lpi);
yLocVertLine = yLocation - (lpi / 2);
yLocVertLine = yLocation + (lpi/2);// -(lpi / 2);
for (int i = 0; i < 1; i++)
{
Rtf2Pdf.TextAt(cb, paraVertLine, float.Parse(vertPos[0]) + (float)ii.MyDocStyle.Layout.LeftMargin - csize, yLocVertLine, lWidth, 100, null, yBottomMargin);
@@ -793,7 +793,7 @@ namespace Volian.Print.Library
}
}
else
#region OriginalHLS
#region OriginalHLS
{
int hIndx = preSuf_Fix.IndexOf(@"{\par}");
while (preSuf_Fix != null && hIndx >= 0)
@@ -2863,7 +2863,8 @@ namespace Volian.Print.Library
case E_ContBottomLoc.EndOfText: // place continue string at end of text
// msg_yLocation accounts for extra lines in message from docstyle; and BottomContent is the actual
// location of the last line of text on page.
msg_yLocation = msg_yLocation + ((float)(MyPageHelper.BottomContent??0) - (SixLinesPerInch * MyPageHelper.YMultiplier)); // B2018-080 null reference check added
//msg_yLocation = ((float)(MyPageHelper.BottomContent??0) - (SixLinesPerInch * MyPageHelper.YMultiplier)); // B2018-080 null reference check added
msg_yLocation = yLocation - msg_yLocation - (SixLinesPerInch * MyPageHelper.YMultiplier); //B2019-021 yLocation accounts for checkoffs
if (yBottomMargin + (docstyle.Layout.FooterLength ?? 0) > msg_yLocation)
{ // Adjusted Continue Message Y Offset
//DebugPagination.WriteLine("====>> {0},'{1}'", msg_yLocation, MyItemInfo.ShortPath);