public void Output() { Console.Out.WriteLine("row {0}", index); if (cells != null) { foreach (Cell cell in cells) { Console.Out.Write("spancol:{0} ", WikiTable.SpanColumn(cell, this)); cell.Output(); } } }
internal static bool IsDeclensionTable(IElement elem) { if (!WikiTable.IsWikiTable(elem)) { return(false); } var tbody = elem.FirstElementChild; var isTBody = tbody.TagName == "TBODY"; if (!isTBody) { return(false); } return(tbody.ChildElementCount == 20); }