Support new document style format flag DSS_DontDoCheckOffs (no checkoffs in this section)

This commit is contained in:
Kathy Ruffing 2014-01-16 12:04:36 +00:00
parent 5debdfca9d
commit bea8e693ec

View File

@ -3239,6 +3239,8 @@ namespace VEPROMS.CSLA.Library
{
bool addToList = true;
if (macro.NotInRNO && IsInRNO) addToList = false;
if (((MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_DontDoCheckOffs) == E_DocStructStyle.DSS_DontDoCheckOffs) &&
macro.Name.ToUpper()=="CHECKOFF") addToList = false;
if (macro.Grouping != null && macro.Grouping > 0)
{
int count = 0;