diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index d74d00ab..cbde52fb 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -7673,7 +7673,19 @@ namespace VEPROMS.CSLA.Library //private int? _TemplateColumnMode public override void SetupTags() { - MyTab = new Tab(ActiveFormat.PlantFormat.FormatData.SectData.SectionNumber.Font); + VE_Font font; + // F2021-057 used in BNPP1 format if we are only bolding the top section title (header) and this is not the top section title (1st level), + // then turn off the bolding of the section tab as well + if (ActiveFormat.PlantFormat.FormatData.SectData.SectionHeader.OnlyBoldTopSect && MyParent.IsSection) + { + VE_Font hdrFont = ActiveFormat.PlantFormat.FormatData.SectData.SectionNumber.Font; + font = new VE_Font(hdrFont.Family, (int)hdrFont.Size, E_Style.None, (float)hdrFont.CPI); + } + else + font = ActiveFormat.PlantFormat.FormatData.SectData.SectionNumber.Font; + + //MyTab = new Tab(ActiveFormat.PlantFormat.FormatData.SectData.SectionNumber.Font); + MyTab = new Tab(font); string sectTab = GetSectionTab(false); _MyTab.Text = sectTab; _MyTab.CleanText = sectTab.PadRight(20);