/// <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); }
/// <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); }
/// <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; }