Lines Matching refs:table
35 '''Fixes the doxygen table headings.
38 - Using bare <h2> title row instead of row embedded in <tr><td> in table
40 - Splitting up tables into multiple separate tables if a table
41 heading appears in the middle of a table.
44 <table>
48 </table>
52 <table>
54 </table>
67 # Split up tables that have multiple table header (th) rows
70 # Is this a heading in the middle of a table?
71 if tag.findPreviousSibling('tr') and tag.parent.name == 'table':
73 table = tag.parent
74 table_parent = table.parent
75 table_index = table_parent.contents.index(table)
76 new_table = Tag(self.soup, name='table', attrs=table.attrs)
78 tag_index = table.contents.index(tag)
79 for index, row in enumerate(table.contents[tag_index:]):
81 # Now move the <h2> tag to be in front of the <table> tag
82 assert tag.parent.name == 'table'
83 table = tag.parent
84 table_parent = table.parent
85 table_index = table_parent.contents.index(table)