Method: IsoDoc::WordFunction::Body#table_parse

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

#table_parse(node, out) ⇒ Object



96
97
98
99
100
101
102
103
104
105
106
# File 'lib/isodoc/word_function/table.rb', line 96

def table_parse(node, out)
  @in_table = true
  table_title_parse(node, out)
  out.div align: "center", class: "table_container" do |div|
    div.table **table_attrs(node) do |t|
      table_parse_core(node, t)
      table_parse_tail(node, t)
    end
  end
  @in_table = false
end