示例#1
0
 public HeadingNode(string headingText, int headingLevel, SourceExtent sourceExtent, SectionFormatOption formatOption)
     : base(headingText, sourceExtent)
 {
     this.HeadingLevel = headingLevel;
     this.FormatOption = formatOption;
 }
示例#2
0
 private bool ShouldBreak(SectionFormatOption formatOption)
 {
     return(formatOption.HasFlag(SectionFormatOption.LineBreakAfterHeader));
 }
示例#3
0
 public SectionBody(string text, SectionFormatOption formatOption)
 {
     Text         = text;
     FormatOption = formatOption;
 }