Set Special Page Break flag.

Added logic so that the page number transition errors are listed to the clipboard.
Corrected a typo in the message box for errors occuring in the page number transitions.
This commit is contained in:
Rich 2015-04-15 14:53:37 +00:00
parent d655552ed5
commit 6ceec38e5c
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -181,10 +181,12 @@ namespace Volian.Print.Library
{ {
string pnProbl = null; string pnProbl = null;
foreach (string pstr in TransPageNumProblems) foreach (string pstr in TransPageNumProblems)
pnProbl = pnProbl + "\n" + pstr; pnProbl = pnProbl + "\r\n" + pstr;
Clipboard.SetText(pnProbl);
return MessageBox.Show("Review the page numbers specified on transitions that transition to the following:\n" + pnProbl return MessageBox.Show("Review the page numbers specified on transitions that transition to the following:\n" + pnProbl
+ "\r\n\r\nDo you want to review the PDF output prior to the page number update?" + "\r\n\r\nDo you want to review the PDF output prior to the page number update?"
+ "\r\n\r\nThis shouldd help to determine the cause of the inconsistent page numbers.", + "\r\n\r\nThis should help to determine the cause of the inconsistent page numbers."
+ "\r\n\r\nThis list will be placed in the Clipboard.",
"Inconsistent transition page numbers.", MessageBoxButtons.YesNo,MessageBoxIcon.Question); "Inconsistent transition page numbers.", MessageBoxButtons.YesNo,MessageBoxIcon.Question);
} }
return DialogResult.No; return DialogResult.No;