Method: IsoDoc::Ieee::WordConvert#thead_cell_cleanup
- Defined in:
- lib/isodoc/ieee/word_cleanup_blocks.rb
#thead_cell_cleanup(cell) ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/isodoc/ieee/word_cleanup_blocks.rb', line 30 def thead_cell_cleanup(cell) s = stylesmap[:table_columnhead] if cell.at("./p") cell.xpath("./p").each do |p| p["class"] = s end else cell.children = "<p class='#{s}'>#{to_xml(cell.children)}</p>" end end |