This commit is contained in:
Kathy Ruffing 2013-07-29 12:05:46 +00:00
parent edf20f8a2c
commit 885964885c

View File

@ -1126,16 +1126,19 @@ namespace Volian.Print.Library
bool doprint = true;
if (itemInfo.IsSection)
{
SectionConfig sch = MyItemInfo.MyConfig as SectionConfig;
if (!(ShowSectionTitles
&& !MyItemInfo.MyDocStyle.CancelSectTitle
&& !MyItemInfo.MyDocStyle.SpecialStepsFoldout)
&&
(sch != null && sch.Section_PrintHdr != "Y")) // || !MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseMetaSections))
if (ShowSectionTitles
&& !MyItemInfo.MyDocStyle.CancelSectTitle
&& !MyItemInfo.MyDocStyle.SpecialStepsFoldout) // Don't ouput the Step Section title
{
doprint = false;
YTopMost = 0;
SectionConfig sch = MyItemInfo.MyConfig as SectionConfig;
if (sch != null && sch.Section_PrintHdr != "Y")
{
doprint = false;
YTopMost = 0;
}
}
else
doprint = false;
}
if (doprint && itemInfo.IsSection && !itemInfo.MyDocStyle.CancelSectTitle && itemInfo.MyTab.Text.ToUpper() != "FOLDOUT")
{