Exemplo n.º 1
0
 /// <summary>
 /// Append element to a linebreak zone
 /// </summary>
 /// <param name="element">The html element</param>
 public void AppendToLinebreakZone(SerializableElement element)
 {
     this.StartNewLinebreakZone();
     this.AppendToCurrentZone(element);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds the html element to the current zone
 /// </summary>
 /// <param name="element">The html element</param>
 public void AppendToCurrentZone(SerializableElement element)
 {
     this.CurrentZone.AddElement(element);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SerializableDocument" /> class
 /// </summary>
 /// <param name="root">The root element</param>
 /// <param name="info">The HTML Document information</param>
 /// <param name="defaultStyleLookup">The default style lookup</param>
 /// <param name="html">The html</param>
 /// <param name="text">The text</param>
 public SerializableDocument(SerializableElement root, HtmlDocumentInfo info, DefaultStyleLookup defaultStyleLookup, string html, string text)
     : base(root, info, defaultStyleLookup)
 {
     this.Html = html;
     this.Text = text;
 }