class IsoDoc::Rsd::WordConvert

A {Converter} implementation that generates Word output, and a document schema encapsulation of the document for validation

Public Instance Methods

configuration() click to toggle source
# File lib/isodoc/rsd/word_convert.rb, line 10
def configuration
  Metanorma::Rsd.configuration
end
make_body2(body, docxml) click to toggle source
# File lib/isodoc/rsd/word_convert.rb, line 14
def make_body2(body, docxml)
  body.div **{ class: "WordSection2" } do |div2|
    boilerplate docxml, div2
    abstract docxml, div2
    foreword docxml, div2
    executivesummary docxml, div2
    introduction docxml, div2
    preface docxml, div2
    acknowledgements docxml, div2
    div2.p { |p| p << "&nbsp;" } # placeholder
  end
  section_break(body)
end