Added format variables for Wolf Creek Training format
Save the Y position for the placement of a line after the section title. Also adjust the width of the section title with respect to the section number. All for the Wolf Creek Training format Print a horizontal line after the section header (number and title) for the Wolf Creek Training format
This commit is contained in:
@@ -1768,6 +1768,15 @@ namespace VEPROMS.CSLA.Library
|
||||
return _SectionHeader;
|
||||
}
|
||||
}
|
||||
private SectionHeaderSeparatorLine _SectionHeaderSeparatorLine;
|
||||
public SectionHeaderSeparatorLine SectionHeaderSeparatorLine
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_SectionHeaderSeparatorLine == null) _SectionHeaderSeparatorLine = new SectionHeaderSeparatorLine(SelectSingleNode("SectionHeaderSeparatorLine"));
|
||||
return _SectionHeaderSeparatorLine;
|
||||
}
|
||||
}
|
||||
private StepSectionData _StepSectionData;
|
||||
public StepSectionData StepSectionData
|
||||
{
|
||||
@@ -2003,6 +2012,31 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region SectionHeaderSeparatorLine
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class SectionHeaderSeparatorLine : vlnFormatItem
|
||||
{
|
||||
public SectionHeaderSeparatorLine(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public SectionHeaderSeparatorLine() : base() { }
|
||||
private LazyLoad<float?> _XStartPos;
|
||||
public float? XStartPos
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _XStartPos, "@XStartPos");
|
||||
}
|
||||
}
|
||||
private LazyLoad<float?> _Length;
|
||||
public float? Length
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Length, "@Length");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region StepSectionDataAll
|
||||
#region StepSectionData
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
|
Reference in New Issue
Block a user