Various FNP tabbing & template fixes
Get text for template steps Template improvements & added AlignHLSTabWithSectOvride for FNP Support for TitleWithTextRight step types Support PSOnlyFirst docstyle flag for FNP Printing of FNP’s component lists (templates), PSOnlyFirst docstyle, PrintNoTitle, subsection has own docstyle, and FNP tab locations Support PSOnlyFirst docstyle, Like6_ButDoesntNeedSubsection numberingsequence & PrintNoTitle, for FNP
This commit is contained in:
@@ -179,6 +179,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _Name, "@Name");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _ComponentTableFormat;
|
||||
public bool ComponentTableFormat
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _ComponentTableFormat, "@ComponentTableFormat");
|
||||
}
|
||||
}
|
||||
// TPL represents Templates which are sizes of columns for 'table' type data. If the format
|
||||
// has the 'UseSmartTemplate' format flag, this table will have starting location & widths, and
|
||||
// other data for the listed step types. Data from this table overrides width data as specified
|
||||
@@ -249,6 +257,11 @@ namespace VEPROMS.CSLA.Library
|
||||
while (cnt < NumTemplates)
|
||||
{
|
||||
tmpStrIndxEnd = TPL.IndexOf("\n", tmpStrIndxStart);
|
||||
if (tmpStrIndxEnd < 0)
|
||||
{
|
||||
cnt++;
|
||||
continue; // maybe extra newlines at end of string.
|
||||
}
|
||||
string tpl = TPL.Substring(tmpStrIndxStart, tmpStrIndxEnd-tmpStrIndxStart);
|
||||
tmpStrIndxStart = tmpStrIndxEnd + 1;
|
||||
int level = 0;
|
||||
@@ -268,6 +281,11 @@ namespace VEPROMS.CSLA.Library
|
||||
else
|
||||
{
|
||||
string[] tmpNew = tpl.Split(",".ToCharArray());
|
||||
if (tmpNew.Length < 5)
|
||||
{
|
||||
cnt++;
|
||||
continue; // may be extra newlines at end of string
|
||||
}
|
||||
level = Convert.ToInt32(tmpNew[0]);
|
||||
type = Convert.ToInt32(tmpNew[1]);
|
||||
start = Convert.ToInt32(tmpNew[2]);
|
||||
@@ -3881,6 +3899,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _AlignNullTabWSectHead, "@AlignNullTabWSectHead");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _AlignHLSTabWithSectOvride;
|
||||
public bool AlignHLSTabWithSectOvride
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _AlignHLSTabWithSectOvride, "@AlignHLSTabWithSectOvride");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _TextSubFollowsTextStyle;
|
||||
public bool TextSubFollowsTextStyle
|
||||
{
|
||||
|
Reference in New Issue
Block a user