No tab on table if docstyle has DSS_UnNumLikeRoman

This commit is contained in:
Kathy Ruffing 2013-08-20 15:06:51 +00:00
parent 3f3b835538
commit e8932a748d

View File

@ -2557,7 +2557,10 @@ namespace VEPROMS.CSLA.Library
tbformat = parentTab + (parentTab.EndsWith(".") ? "" : ".") + tbformat.TrimStart();
}
}
if (!IsHigh && (MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_UnNumLikeRoman) == E_DocStructStyle.DSS_UnNumLikeRoman)
// If the document style has the flag DSS_UnNumLikeRoman, don't do the normal tab, change to alpha,
// but only if there is a tab string for this step. (the High level step is numbered with roman numerals, so
// don't want to continue using the roman numeral concatenated with substep tabs.
if (!IsHigh && tbformat!=null && tbformat != "" && (MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_UnNumLikeRoman) == E_DocStructStyle.DSS_UnNumLikeRoman)
tbformat = "{alpha}. ";
if (tbformat.IndexOf("#2#") > -1)