Method: IsoDoc::Function::Cleanup#table_note_cleanup
- Defined in:
- lib/isodoc/function/cleanup.rb
#table_note_cleanup(docxml) ⇒ Object
160 161 162 163 164 165 166 167 168 169 170 171 |
# File 'lib/isodoc/function/cleanup.rb', line 160 def table_note_cleanup(docxml) docxml.xpath("//table[dl or div[@class = 'Note' or @class = 'BlockSource' " \ "or @class = 'TableFootnote']]").each do |t| tfoot = table_get_or_make_tfoot(t) insert_here = new_fullcolspan_row(t, tfoot) t.xpath("dl | div[@class = 'Note' or @class = 'BlockSource' or " \ "@class = 'TableFootnote']") .each do |d| d.parent = insert_here end end end |