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

@@ -133,6 +133,18 @@ namespace VEPROMS.CSLA.Library
return (LazyLoad(ref _MaxWidth, "@MaxWidth"));
}
}
// MaxWidth, above, flagged that, if there was more than 1 line, the topmargin would be adjusted by however
// many lines the PSI item contained (for wst alarms). The MaxWidthCurPage is used when that adjustment
// should not be made, the length of the PSI item is only relevant for the current page.
// (see AdjustTopMarginForMultiLinePageListItems variable and how it is used)
private LazyLoad<int?> _MaxWidthCurPage;
public int? MaxWidthCurPage
{
get
{
return (LazyLoad(ref _MaxWidthCurPage, "@MaxWidthCurPage"));
}
}
#endregion
#region Override ToString
public override string ToString()

View File

@@ -3928,6 +3928,22 @@ namespace VEPROMS.CSLA.Library
return (tocProcStepsTitle == null || tocProcStepsTitle == "") ? "" : tocProcStepsTitle;
}
}
private LazyLoad<int?> _TofCLineSpacingSub;
public int? TofCLineSpacingSub
{
get
{
return LazyLoad(ref _TofCLineSpacingSub, "@TofCLineSpacingSub");
}
}
private LazyLoad<bool> _TofCRemoveGrpNameInSects;
public bool TofCRemoveGrpNameInSects
{
get
{
return LazyLoad(ref _TofCRemoveGrpNameInSects, "@TofCRemoveGrpNameInSects");
}
}
private VE_Font _Font;
public VE_Font Font
{