diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 497015ed..b9b95162 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -3099,7 +3099,8 @@ namespace VEPROMS.CSLA.Library newtab = @"\ul " + newtab.Substring(0, newtab.IndexOf(":") + 1) + @"\ulnone " + newtab.Substring(newtab.IndexOf(":") + 1); } // also see if there is the 'pagelist' string in this tab: - else if ((FormatStepData.TabData.Font.Style & E_Style.Underline) == E_Style.Underline) + else if ((FormatStepData.TabData.Font.Style & E_Style.Underline) == E_Style.Underline && + ((MyActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListSpBckgrnd) != E_DocStructStyle.DSS_PageListSpBckgrnd)) // the reason that the underline commands were not included in format file is that the '\' character // is used as a separator and the following code will not impact other formats HighLevelStepTabPageList = @"\ul " + FormatStepData.TabData.IdentAltPrint.Substring(0, indxnewtab).Trim() + @"\ulnone " + (tbformat.StartsWith(" ") ? "" : " ") + tbformat; diff --git a/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs b/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs index cf65a13b..790f8c8c 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs @@ -166,6 +166,7 @@ namespace VEPROMS.CSLA.Library DSS_SkipOneStepLevel = 0x40000000, // Skip one step level for this doc style DSS_SimpleTopSectionContinue = 0x80000000, // Use the Top continue message as the section continue */ DSS_DontDoCheckOffs = 0x100000000, // format has checkoffs, but don't do for this section + DSS_PageListSpBckgrnd = 0x200000000, // this background document style has special formatting: margins, title with cont and non underlined header (IP2BCK) }; public enum E_DocStyleUse : uint {