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

This commit is contained in:
jjenko committed 2013-08-01 18:58:36 +00:00
1 parent 3ab4b252b2
commit b6faa98f0d
1 file changed
+2 -1
@@ -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;
} }
} }