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