Added separate bullet to Caution and Note step types to fix an underlined bullet issue

Added separate bullet to Caution and Note step types to fix an underlined bullet issue, adjusted the starting point of the center line on the first procedure step page, fixed the End string to handle longer procedure numbers
Logic to support V.C. Summer End string
Added logic to use the font assigned to the SeparateBullet format item
This commit is contained in:
2014-01-29 21:06:44 +00:00
parent 8a3c47e8d7
commit fdd6323a62
4 changed files with 129 additions and 7 deletions

View File

@@ -1097,8 +1097,10 @@ namespace Volian.Print.Library
if (myMsg.Contains("{Section Number}")) myMsg = myMsg.Replace("{Section Number}", MyItemInfo.ActiveSection.DisplayNumber);
//jcb code
if (myMsg.Contains("%-8s"))
myMsg = myMsg.Replace("%-8s", MyItemInfo.MyProcedure.DisplayNumber.PadRight(8));
//if (myMsg.Contains("%-8s"))
// myMsg = myMsg.Replace("%-8s", MyItemInfo.MyProcedure.DisplayNumber.PadRight(8));
if (myMsg.Contains("%-12s"))
myMsg = myMsg.Replace("%-12s", MyItemInfo.MyProcedure.DisplayNumber.PadRight(12));
//end jb code
// center the message.
float wtpm = (float)docstyle.Layout.PageWidth - (float)docstyle.Layout.LeftMargin;

View File

@@ -228,7 +228,10 @@ namespace Volian.Print.Library
}
}
}
Rtf = GetRtf(origTab, vFont);
if (SeparateBullet)
Rtf = GetRtf(origTab, myparent.MyItemInfo.FormatStepData.TabData.Bullet.Font);
else
Rtf = GetRtf(origTab, vFont);
Rtf = Rtf.Replace("\u0394", @"\f1\u916?\f0 "); // delta 0x0394
if (ScriptCaution)
{