B2019-165 Added a check box on the automation tab to allow user to turn off the printing of a foldout page on the last page of a Word document that does not include foldouts (Byron/Braidwood)

Code cleanup, found a missed instance of a check for “FOLDOUT” as section number – corrected so that it using the Section_IsFoldout method instead
This commit is contained in:
2019-11-13 17:11:51 +00:00
parent 0e036366e4
commit 22978ffff5
5 changed files with 263 additions and 220 deletions

View File

@@ -455,6 +455,24 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("Section_PhoneList");
}
}
// B2019-165 Don't include duplexed foldout (For Word sections - don't print the foldout on the back of the last page of the Word section
[DisplayName("Don't Include Duplex Foldout")]
[RefreshProperties(RefreshProperties.All)]
[Description("Don't Include Duplex Foldout")]
public bool Section_DontIncludeDuplexFoldout
{
get
{
string tmp = _Xp["Section", "DontIncludeDuplexFoldout"];
return (tmp == "Y"); // if not set or "N" we include duplex foldout, if "Y" we DO NOT include duplex foldout of back of last word section page
}
set
{
string tmp = value ? "Y" : "N";
_Xp["Section", "DontIncludeDuplexFoldout"] = tmp;
OnPropertyChanged("Section_DontIncludeDuplexFoldout");
}
}
//[Category("Section")]
////PROPGRID: Hide AutoGen
//[DisplayName("Section AutoGen")]