New Table of Contents flags & MaxWidth for PSIs (for current page)

Improve message when format is changed and not certain if section type is valid. (part of B2016-165)
vcb1: Added MaxWidthCurPage for PSI text widths (use for current page)
vcb1: Table of Contents values for subsections line spacing and grouping section numbers
Table of Contents to handle single space subsections & Grouping section names remove group title
Use MaxWidthCurPage to handle max width, but don’t account for multiple lines when printing content
This commit is contained in:
2016-07-25 15:04:23 +00:00
parent 4feea15106
commit 146e1fb968
6 changed files with 58 additions and 8 deletions

View File

@@ -610,8 +610,8 @@ namespace VEPROMS
}
if (oldSelIndx > newDocStyles.Count)
{
string msg = string.Format("The section type that is set is not available in the new format, it was reset to '{0}'. Verify that it is appropriate.", newDocStyles.GetDocStyleItem(0).Name);
MessageBox.Show(msg, "Non-existent section");
string msg = string.Format("Since the format has been changed, the section type was also changed to '{0}'. Verify that it is appropriate and if not, select a new section type.", newDocStyles.GetDocStyleItem(0).Name);
MessageBox.Show(msg, "Verify section type");
selindx = 0;
}
}