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:
@@ -563,10 +563,13 @@ namespace VEPROMS
|
||||
{
|
||||
// for word docs, no enhanced controls should be visible:
|
||||
grpLnkEnh.Visible = false;
|
||||
ppCbNoDuplexFoldout.Visible = true; // B2019-165 make visible the checkbox to turn off duplex foldout for Word sections
|
||||
}
|
||||
//C2019-042 a section cannot be a foldout section and the default step section
|
||||
cbIsFoldoutSection.Checked = _SectionConfig.Section_IsFoldout == "Y";
|
||||
cbIsFoldoutSection.Enabled = !_isDefaultStepSection;
|
||||
// B2019-165 check box to turn off adding duplex foldout on back of last Word doc page that does not include foldouts (Byron/Braidwood 11x14 cover/continuous action page
|
||||
ppCbNoDuplexFoldout.Checked = _SectionConfig.Section_DontIncludeDuplexFoldout;
|
||||
_Initializing = false;
|
||||
//_InitialIndex = ppCmbxFormat.SelectedIndex;
|
||||
}
|
||||
@@ -1383,6 +1386,13 @@ namespace VEPROMS
|
||||
_SectionConfig.Section_IsFoldout = (cbIsFoldoutSection.Checked) ? "Y" : "N";
|
||||
}
|
||||
|
||||
// B2019-165 check box added to Automation tab to prevent a duplex foldout from
|
||||
// being printed on the back of the last page of the Word document that does not include duplex foldouts
|
||||
private void ppCbNoDuplexFoldout_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
_SectionConfig.Section_DontIncludeDuplexFoldout = ppCbNoDuplexFoldout.Checked;
|
||||
}
|
||||
|
||||
//private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// // Get the parent setting
|
||||
|
Reference in New Issue
Block a user