C2021-010: Print using standard pagination rules by removing trailing hard returns, spaces & manual page breaks
This commit is contained in:
@@ -23,9 +23,18 @@ namespace VEPROMS
|
||||
return swtbtnPDFLinks.Value;
|
||||
}
|
||||
}
|
||||
public bool RemoveTrailingHardReturnsAndManualPageBreaks
|
||||
public int RemoveTrailingHardReturnsAndManualPageBreaks
|
||||
{
|
||||
get { return cbxRemoveManualPageBreaks.Checked; }
|
||||
get
|
||||
{
|
||||
// C2021-010: Remove trailing returns/spaces & manual page breaks & allow save.
|
||||
// return values: 0=None; 1=Trailing; 2=ManualPgBrk; 3=Both.
|
||||
// The designer file has the additional controls
|
||||
if (!cbxRemoveManualPgBrk.Checked && !cbxRemoveTrailing.Checked) return 0;
|
||||
if (!cbxRemoveManualPgBrk.Checked && cbxRemoveTrailing.Checked) return 1;
|
||||
if (cbxRemoveManualPgBrk.Checked && !cbxRemoveTrailing.Checked) return 2;
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
private string _Prefix = ""; // RHM20150506 Multiline ItemID TextBox
|
||||
public string Prefix
|
||||
|
Reference in New Issue
Block a user