示例#1
0
        Visibility _Visibility; // Indicates if the group (and all groups embedded

        #endregion Fields

        #region Constructors

        internal TableGroup(ReportDefn r, ReportLink p, XmlNode xNode)
            : base(r, p)
        {
            _Grouping=null;
            _Sorting=null;
            _Header=null;
            _Footer=null;
            _Visibility=null;
            _ToggleTextbox=null;

            // Loop thru all the child nodes
            foreach(XmlNode xNodeLoop in xNode.ChildNodes)
            {
                if (xNodeLoop.NodeType != XmlNodeType.Element)
                    continue;
                switch (xNodeLoop.Name)
                {
                    case "Grouping":
                        _Grouping = new Grouping(r, this, xNodeLoop);
                        break;
                    case "Sorting":
                        _Sorting = new Sorting(r, this, xNodeLoop);
                        break;
                    case "Header":
                        _Header = new Header(r, this, xNodeLoop);
                        break;
                    case "Footer":
                        _Footer = new Footer(r, this, xNodeLoop);
                        break;
                    case "Visibility":
                        _Visibility = new Visibility(r, this, xNodeLoop);
                        break;
                    default:
                        // don't know this element - log it
                        OwnerReport.rl.LogError(4, "Unknown TableGroup element '" + xNodeLoop.Name + "' ignored.");
                        break;
                }
            }
            if (_Grouping == null)
                OwnerReport.rl.LogError(8, "TableGroup requires the Grouping element.");
        }
示例#2
0
 public void TableHeaderStart(Header h, Row row)
 {
 }
示例#3
0
 public void TableHeaderEnd(Header h, Row row)
 {
 }
示例#4
0
文件: RenderHtml.cs 项目: mnisl/OD
		public void TableHeaderEnd(Header h, Row row)
		{
			tw.WriteLine("</thead>");
		}
示例#5
0
文件: RenderHtml.cs 项目: mnisl/OD
		public void TableHeaderStart(Header h, Row row)
		{
			tw.WriteLine("<thead>");
		}
示例#6
0
 public virtual void TableHeaderEnd(Header h, Row row)
 {
 }