Adjustments needed to support McGuire, Catawba, and Shearon Harris formats.
This commit is contained in:
@@ -193,7 +193,8 @@ namespace Volian.Print.Library
|
||||
if (removedUnderline)
|
||||
{
|
||||
int sep = origTab.IndexOfAny(". ".ToCharArray());
|
||||
origTab = @"\ul " + origTab.Substring(0, sep-1) + @"\ulnone" + origTab.Substring(sep-1);
|
||||
//origTab = @"\ul " + origTab.Substring(0, sep-1) + @"\ulnone" + origTab.Substring(sep-1);
|
||||
origTab = @"\ul " + origTab.Substring(0, sep) + @"\ulnone" + origTab.Substring(sep);
|
||||
}
|
||||
|
||||
UnderlineTerminateList utl = myparent.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.UnderlineTerminateList;
|
||||
@@ -211,7 +212,7 @@ namespace Volian.Print.Library
|
||||
int indxC = origTab.IndexOf(":");
|
||||
origTab = @"\ul " + origTab.Substring(0, indxC) + @"\ulnone" + origTab.Substring(indxC);
|
||||
}
|
||||
else if (utl != null && ((vFont.Style & E_Style.Underline) > 0))
|
||||
else if (utl != null && utl.Count > 0 && ((vFont.Style & E_Style.Underline) > 0))
|
||||
{
|
||||
foreach (UnderlineTerminate ut in utl)
|
||||
{
|
||||
|
Reference in New Issue
Block a user