From 9bb365da7469ec0d5ea19bff86dc412caf8f1e35 Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 3 Oct 2014 13:42:39 +0000 Subject: [PATCH] =?UTF-8?q?IP2BCK:=20Don=E2=80=99t=20underline=20Step/Note?= =?UTF-8?q?/Caution=20pagelist=20item=20IP2BCK:=20Added=20docstyle=20flag?= =?UTF-8?q?=20=E2=80=98DSS=5FPageListSpBckgrnd=E2=80=99=20for=20IP2?= =?UTF-8?q?=E2=80=99s=20special=20background=20printing=20items?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 3 ++- PROMS/VEPROMS.CSLA.Library/Format/ENums.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 {