/// <summary> /// Creates the caption. /// </summary> /// <param name="parentNode">The parent node.</param> /// <returns></returns> /// <Remarks> /// Created Time: 2008-7-17 15:56 /// Created By: jack_que /// Last Modified Time: /// Last Modified By: /// </Remarks> private HtmlCaption CreateCaption(XmlNode parentNode) { HtmlCaption caption = new HtmlCaption(); XmlNode captionNode = parentNode.SelectSingleNode("Caption"); if (captionNode != null) { XmlNode captionTextNode = captionNode.SelectSingleNode("Text"); if (captionTextNode != null) { caption.Title = captionTextNode.InnerText;; } caption.Style = GetStyle(captionNode); } return caption; }
public HtmlReport() { Capation = new HtmlCaption(); TotalRowSpan = 0; Columns = new List<HtmlColumn>(); Rows = new List<HtmlRow>(); TotalRows = 0; }