B2017-267 Added AdjustTopMarginOnStepContinuePages used in Farley’s format in the “Attachment Steps – Two Column” docstyle definition and in conjunction with the PSOnlyFirst pagelist flag.

This commit is contained in:
John Jenko 2017-12-07 15:41:11 +00:00
parent c73d7fc1a4
commit b456bc6ce0

View File

@ -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<int?> _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<E_NumberingSequence?> _NumberingSequence;
public E_NumberingSequence? NumberingSequence