B2023-060: Beaver Valley SAMG/Supplemental Information Continuous Sections printing as Separate

This commit is contained in:
Kathy Ruffing 2023-05-26 11:26:26 +00:00
parent 1657450f69
commit 81d20b26ac
2 changed files with 16 additions and 1 deletions

View File

@ -324,7 +324,10 @@ namespace VEPROMS.CSLA.Library
get get
{ {
// C2018-013 Procedures with Supplemental Information will assume that all sections are printed separately. // C2018-013 Procedures with Supplemental Information will assume that all sections are printed separately.
if (_SectionInfo != null && _SectionInfo.MyProcedure.ProcHasSupInfoData) return SectionPagination.Separate; // B2023-060: Pagination - if section uses supplemental information, use the Section's properties/pagination (continuous
// or separate) rather than always setting to separate
if (_SectionInfo != null && _SectionInfo.MyProcedure.ProcHasSupInfoData && _SectionInfo.MyDocStyle != null && !_SectionInfo.MyDocStyle.SupInfoNoPaginOverride)
return SectionPagination.Separate;
string s = _Xp["Section", "Pagination"]; string s = _Xp["Section", "Pagination"];
//If there is no value to get, then get the parent value (a.k.a. default value). //If there is no value to get, then get the parent value (a.k.a. default value).

View File

@ -171,6 +171,18 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _SupplementalInformation, "@SupplementalInformation"); return LazyLoad(ref _SupplementalInformation, "@SupplementalInformation");
} }
} }
// B2023-060: Pagination - if section uses supplemental information, use the Section's properties/pagination (continuous or
// separate) rather than always setting to separate
[Category("Miscellaneous")]
[Description("Supports Supplemental Information Pagination")]
private LazyLoad<bool> _SupInfoNoPaginOverride;
public bool SupInfoNoPaginOverride
{
get
{
return LazyLoad(ref _SupInfoNoPaginOverride, "@SupInfoNoPaginOverride");
}
}
// F2023-035: WCN - allow for change in left margin for supplemental information pages by // F2023-035: WCN - allow for change in left margin for supplemental information pages by
// setting a value in the DocStyle for the adjustment. This is used when importing the vlnParagraph page // setting a value in the DocStyle for the adjustment. This is used when importing the vlnParagraph page
// page & when doing pagelist items // page & when doing pagelist items