Logic to support {bullet} token in the tab definition

This commit is contained in:
John Jenko 2013-12-13 21:47:01 +00:00
parent b414bfbe12
commit a55aaa9237

View File

@ -2490,6 +2490,13 @@ namespace VEPROMS.CSLA.Library
}
if (tbformat.Contains("{indent}")) // Robinson Background format CPBCK
tbformat = tbformat.Substring(8); // we just need to remove the "{indent}" and leave the spaces
// Added the "{bullet}" token for McGuire and Catawba's Bulleted High Level Step type.
// Using the bullet set in the IdentB format variable (is a solid bullet for their format)
if (tbformat.Contains("{bullet}"))
{
string bulletChar = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Trim();
tbformat = tbformat.Replace("{bullet}", bulletChar);
}
// rno gets parent tab
if (IsRNOPart && FormatStepData.NumberSubs)
{