Method: IsoDoc::WordFunction::Postprocess#word_table_separator

Defined in:
lib/isodoc/word_function/postprocess_table.rb

#word_table_separator(docxml) ⇒ Object



66
67
68
69
70
71
72
# File 'lib/isodoc/word_function/postprocess_table.rb', line 66

def word_table_separator(docxml)
  docxml.xpath("//p[@class = 'TableTitle']").each do |t|
    t.children.empty? or next
    t["style"] = t["style"].sub(/;?$/, ";font-size:0pt;")
    t.children = " "
  end
end