override docstyle based on content of the section. If the section has word content then return false

This commit is contained in:
John Jenko 2013-08-01 18:58:36 +00:00
parent 3ab4b252b2
commit b6faa98f0d

View File

@ -1326,7 +1326,8 @@ namespace VEPROMS.CSLA.Library
{ {
get get
{ {
if (IsSection && MyDocStyle.IsStepSection) return true; //override docstyle based on content of the section. If the section has word content then return false
if (IsSection && MyContent.ContentEntryCount == 0 && MyDocStyle.IsStepSection) return true;
return false; return false;
} }
} }