diff --git a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs index 36bcdc6a..60a7ed60 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs @@ -96,8 +96,24 @@ namespace VEPROMS.CSLA.Library } } #endregion - #region numberingsequence - [Category("Miscellaneous")] + #region AdjustTopMarginOnStepContinuePages + // B2017-267 Put in for Farley who uses the "PSOnlyFirst" in some of their pagelists so that a section title is printed only on the first page of the section. + // This will adjust the top margin when the section title is not printed on the other pages. (CreateStepPDF() in PromsPrinter.cs) + [Category("Miscellaneous")] + [Description("AdjustTopMarginOnStepContinuePages")] + private LazyLoad _AdjustTopMarginOnStepContinuePages; + public int AdjustTopMarginOnStepContinuePages + { + get + { + int? value = LazyLoad(ref _AdjustTopMarginOnStepContinuePages, "@AdjustTopMarginOnStepContinuePages"); + if (value == null) _AdjustTopMarginOnStepContinuePages.Value = 0; + return _AdjustTopMarginOnStepContinuePages.Value??0; + } + } + #endregion + #region numberingsequence + [Category("Miscellaneous")] [Description("Numbering Sequence")] private LazyLoad _NumberingSequence; public E_NumberingSequence? NumberingSequence