Flag to reset the docstyle when using UseOnFist and separate pagination, field to specify continue text to append to a continued section title, flag to print an end message on each sub-section

Setting variables to control indenting and underlining on the Auto Table of Contents
This commit is contained in:
John Jenko 2014-10-07 19:35:56 +00:00
parent eeb8b9f452
commit 3162883a66
2 changed files with 65 additions and 0 deletions

View File

@ -130,6 +130,18 @@ namespace VEPROMS.CSLA.Library
}
}
#endregion
#region ResetFirstPageOnSection
[Category("Miscellaneous")]
[Description("Reset first page of section on Separate pagination section")]
private LazyLoad<bool> _ResetFirstPageOnSection;
public bool ResetFirstPageOnSection
{
get
{
return LazyLoad(ref _ResetFirstPageOnSection, "@ResetFirstPageOnSection");
}
}
#endregion
#region IncludeInTOC
[Category("Miscellaneous")]
[Description("Include in Auto Table Of Contents")]
@ -516,6 +528,14 @@ namespace VEPROMS.CSLA.Library
return (_Bottom == null ? _Bottom = new Bottom(SelectSingleNode("Bottom")) : _Bottom);
}
}
private SectionTitle _SectionTitle;
public SectionTitle SectionTitle
{
get
{
return (_SectionTitle == null ? _SectionTitle = new SectionTitle(SelectSingleNode("SectionTitle")) : _SectionTitle);
}
}
#endregion
}
#endregion
@ -668,6 +688,27 @@ namespace VEPROMS.CSLA.Library
#endregion
}
#endregion
#region SectionTitle
[TypeConverter(typeof(ExpandableObjectConverter))]
public class SectionTitle : vlnFormatItem
{
public SectionTitle(XmlNode xmlNode) : base(xmlNode) { }
public SectionTitle() : base() { }
#region AppendToTitle
private LazyLoad<string> _AppendToTitle;
[Category("Section Title Continue Msg")]
[DisplayName("AppendToTitle")]
[Description("Append Text to Section Title For Continue Msg")]
public string AppendToTitle
{
get
{
return LazyLoad(ref _AppendToTitle, "@AppendToTitle");
}
}
#endregion
}
#endregion //SectionTitle - continue setting
#endregion
#region End
[TypeConverter(typeof(ExpandableObjectConverter))]
@ -728,6 +769,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _Margin, "@Margin");
}
}
private LazyLoad<bool> _EndMessageOnEachSubSection;
public bool EndMessageOnEachSubSection
{
get
{
return LazyLoad(ref _EndMessageOnEachSubSection, "@EndMessageOnEachSubSection");
}
}
#endregion
}
#endregion

View File

@ -3632,6 +3632,22 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _TofCNumLevels, "@TofCNumLevels");
}
}
private LazyLoad<int?> _TofCStartIndentAfterLevel;
public int? TofCStartIndentAfterLevel
{
get
{
return LazyLoad(ref _TofCStartIndentAfterLevel, "@TofCStartIndentAfterLevel");
}
}
private LazyLoad<bool> _TofCUnderlineFirstLevelTitle;
public bool TofCUnderlineFirstLevelTitle
{
get
{
return LazyLoad(ref _TofCUnderlineFirstLevelTitle, "@TofCUnderlineFirstLevelTitle");
}
}
private VE_Font _Font;
public VE_Font Font
{