This commit is contained in:
@@ -599,7 +599,8 @@ namespace Volian.Print.Library
|
||||
foreach (SectionInfo mySection in ii.Sections)
|
||||
{
|
||||
SectionConfig sc = mySection.MyConfig as SectionConfig;
|
||||
if (sc != null && sc.Section_TOC == "Y")
|
||||
if ((mySection.MyDocStyle != null && mySection.MyDocStyle.IncludeInTOC && (sc == null || sc.Section_TOC != "Y"))
|
||||
|| ((mySection.MyDocStyle == null || !mySection.MyDocStyle.IncludeInTOC) && (sc != null && sc.Section_TOC == "Y")))
|
||||
{
|
||||
// need to do the section number, section title & page number. Page number
|
||||
// has to be put on at end after number of page is known, so use a Template.
|
||||
|
Reference in New Issue
Block a user