IP2BCK: Don’t underline Step/Note/Caution pagelist item

IP2BCK: Added docstyle flag ‘DSS_PageListSpBckgrnd’ for IP2’s special background printing items
This commit is contained in:
Kathy Ruffing 2014-10-03 13:42:39 +00:00
parent 8ecab3b969
commit 9bb365da74
2 changed files with 3 additions and 1 deletions

View File

@ -3099,7 +3099,8 @@ namespace VEPROMS.CSLA.Library
newtab = @"\ul " + newtab.Substring(0, newtab.IndexOf(":") + 1) + @"\ulnone " + newtab.Substring(newtab.IndexOf(":") + 1); 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: // 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 // 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 // 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; HighLevelStepTabPageList = @"\ul " + FormatStepData.TabData.IdentAltPrint.Substring(0, indxnewtab).Trim() + @"\ulnone " + (tbformat.StartsWith(" ") ? "" : " ") + tbformat;

View File

@ -166,6 +166,7 @@ namespace VEPROMS.CSLA.Library
DSS_SkipOneStepLevel = 0x40000000, // Skip one step level for this doc style DSS_SkipOneStepLevel = 0x40000000, // Skip one step level for this doc style
DSS_SimpleTopSectionContinue = 0x80000000, // Use the Top continue message as the section continue */ 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_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 public enum E_DocStyleUse : uint
{ {