This commit is contained in:
@@ -364,6 +364,11 @@ namespace Volian.Print.Library
|
||||
if (myMsg.IndexOf(@"%2d") > -1)
|
||||
myMsg = myMsg.Replace(@"%2d", MyItemInfo.MyHLS.MyTab.CleanText.Trim(" .".ToCharArray()).PadLeft(2));
|
||||
float msg_yLocation = 0;
|
||||
if (myMsg.Contains("{par}"))
|
||||
{
|
||||
myMsg = myMsg.Replace("{par}", "");
|
||||
msg_yLocation = -SixLinesPerInch;
|
||||
}
|
||||
switch (docstyle.Continue.Bottom.Location)
|
||||
{
|
||||
case E_ContBottomLoc.EndOfText: // place continue string at end of text
|
||||
@@ -372,7 +377,7 @@ namespace Volian.Print.Library
|
||||
break;
|
||||
case E_ContBottomLoc.BottomOfPage: // place continue message at bottom of page
|
||||
//msg_yLocation = yBottomMargin + 2 * SixLinesPerInch + (float)docstyle.Layout.FooterLength; // 2 lines above bottom margin
|
||||
msg_yLocation = yBottomMargin + (float)docstyle.Layout.FooterLength;
|
||||
msg_yLocation = msg_yLocation + yBottomMargin + (float)docstyle.Layout.FooterLength;
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine("**** BOTTOM CONTINUE MESSAGE NOT CODED*****");
|
||||
@@ -1048,6 +1053,13 @@ namespace Volian.Print.Library
|
||||
else
|
||||
{
|
||||
Rtf = GetRtf(itemInfo);
|
||||
// Need the following with some modifications for WCNCKL format:
|
||||
//if (Rtf.Contains("{Backspace}"))
|
||||
//{
|
||||
// XOffset -= 18;
|
||||
// Width += 24;
|
||||
// Rtf = Rtf.Replace("{Backspace}", "");
|
||||
//}
|
||||
if (itemInfo.IsTablePart) // Not for grid, this is for old-style tables.
|
||||
{
|
||||
Width = GetTableWidth(cb, IParagraph, MyItemInfo.MyDocStyle.Layout.PageWidth);
|
||||
|
Reference in New Issue
Block a user