if format has DSS_AddDotZeroStdHLS and going to a High Level Step, don’t remove .0 from High Level Step transition text

Added enum for DSS_DontDoCheckOffs format flag
This commit is contained in:
Kathy Ruffing 2014-01-16 12:05:30 +00:00
parent bea8e693ec
commit 9ddf1ac940
2 changed files with 6 additions and 2 deletions

View File

@ -717,7 +717,10 @@ namespace VEPROMS.CSLA.Library
if (hasDelim && !hlsTab.EndsWith(".") && !hlsTab.EndsWith(")")) hlsTab = hlsTab + ".";
if (hasDotZero)
{
if (hlsTab.EndsWith(".0.")) hlsTab = hlsTab.Substring(0, hlsTab.Length - 2);
if (item.IsHigh)
hlsTab = hlsTab.Substring(0, hlsTab.Length - 1);
else if (hlsTab.EndsWith(".0."))
hlsTab = hlsTab.Substring(0, hlsTab.Length - 2);
if (sret == "" || !sret.StartsWith(hlsTab)) sret = hlsTab + sret;
}
else

View File

@ -118,7 +118,7 @@ namespace VEPROMS.CSLA.Library
BottomOfPage = 2
};
[Flags]
public enum E_DocStructStyle : uint
public enum E_DocStructStyle : ulong
{
//USEONALLPAGES = 0, // Default
//USEONFIRSTPAGE = 1, // Use only on the first page
@ -160,6 +160,7 @@ namespace VEPROMS.CSLA.Library
DSS_SkipTwoStepLevels = 0x20000000, // Skip two step levels 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_DontDoCheckOffs = 0x100000000, // format has checkoffs, but don't do for this section
};
public enum E_DocStyleUse : uint
{