Initial Wolf Creek Training Format

Initial Wolf Creek Training macros
Added WCNTraining flag
Use WCNTraining flag to always paginate on subsection
Don’t do docstyle reset if in WCNTraining format
Do centerline if in WCNTraining format
This commit is contained in:
2015-05-26 13:59:39 +00:00
parent d4e030811e
commit 06944c6503
6 changed files with 12 additions and 3 deletions

View File

@@ -69,6 +69,7 @@ namespace Volian.Print.Library
// if parent was continuous & this is separate, need to paginate to get subsection on
// its own page. This occurred in BGE/OI3 set/OI-7 procedure/10.0 Attachments.
if (!(MyParent.MyItemInfo as SectionInfo).IsSeparatePagination()) return 1;
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.WCNTraining && (MyItemInfo as SectionInfo).IsSeparatePagination()) return 1;
if (MyItemInfo.MyPrevious != null) // add if statement to fix Westinghouse print issue 3-21-2014
return 1;
}