Logic to determine if a transition was acceptable was running into a limit. The limit was removed.
Changed logic so that Compare Check Box is visible if the PDF Output folder contains a folder named "Compare". Pagination within a step was changed to more accurately fill a page taking account for continue messages at the top and bottom of the page. Logic was added to try to find a place to break a step, if the minimum break location cannot be found using the standard logic. Added YTopMost output to debug text on compare PDFs.
This commit is contained in:
@@ -164,7 +164,7 @@ namespace VEPROMS
|
||||
// set to a default PDF location if none was specified in the DocVersions property
|
||||
if (txbPDFLocation.Text == null || txbPDFLocation.Text.Length == 0 || !Directory.Exists(txbPDFLocation.Text))
|
||||
txbPDFLocation.Text = VlnSettings.TemporaryFolder;
|
||||
|
||||
SetCompareVisibility();
|
||||
// if the default setting is 'SelectBeforePrinting', put up a message box to determine whether the user
|
||||
// wants change bars. If not, 'Change Bar' on the Setting tab is 'OFF' and no Change bar tab.
|
||||
// If yes, the Change bar tab is the selected tab.
|
||||
@@ -225,6 +225,16 @@ namespace VEPROMS
|
||||
btnDuplxOff.Visible = false;
|
||||
btnDuplxOn.Visible = false;
|
||||
}
|
||||
SetCompareVisibility();
|
||||
|
||||
// default to using OriginalPageBreaks (16bit page breaks) if App.config is set
|
||||
// to true:
|
||||
cbxOrPgBrk.Visible = VlnSettings.OriginalPageBreak;
|
||||
cbxOrPgBrk.Checked = false;
|
||||
}
|
||||
|
||||
private void SetCompareVisibility()
|
||||
{
|
||||
// default to print Debug info if App.config is set to debug mode
|
||||
// This checkbox is now labeled as "Compare PDF"
|
||||
// If the PDF location has a Compare folder or we are in Debug Mode
|
||||
@@ -234,11 +244,6 @@ namespace VEPROMS
|
||||
cmpfldr += "Compare";
|
||||
cbxDebug.Visible = Directory.Exists(cmpfldr) || VlnSettings.DebugMode;
|
||||
cbxDebug.Checked = VlnSettings.DebugMode;
|
||||
|
||||
// default to using OriginalPageBreaks (16bit page breaks) if App.config is set
|
||||
// to true:
|
||||
cbxOrPgBrk.Visible = VlnSettings.OriginalPageBreak;
|
||||
cbxOrPgBrk.Checked = false;
|
||||
}
|
||||
|
||||
private void DlgPrintProcedure_Load(object sender, EventArgs e)
|
||||
|
Reference in New Issue
Block a user