Method: IsoDoc::Function::Cleanup#table_note_cleanup
- Defined in:
- lib/isodoc/function/cleanup.rb
#table_note_cleanup(docxml) ⇒ Object
137 138 139 140 141 142 143 144 145 146 |
# File 'lib/isodoc/function/cleanup.rb', line 137 def table_note_cleanup(docxml) docxml.xpath("//table[div[@class = 'Note' or "\ "@class = 'TableFootnote']]").each do |t| tfoot = table_get_or_make_tfoot(t) insert_here = new_fullcolspan_row(t, tfoot) t.xpath("div[@class = 'Note' or @class = 'TableFootnote']").each do |d| d.parent = insert_here end end end |