Method: IsoDoc::WordFunction::Body#make_body2

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

#make_body2(body, docxml) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/isodoc/word_function/body.rb', line 12

def make_body2(body, docxml)
  body.div **{ class: "WordSection2" } do |div2|
    abstract docxml, div2
    foreword docxml, div2
    introduction docxml, div2
    div2.p { |p| p << "&nbsp;" } # placeholder
  end
  section_break(body)
end