Class: IsoDoc::Ribose::WordConvert
- Inherits:
-
Generic::WordConvert
- Object
- Generic::WordConvert
- IsoDoc::Ribose::WordConvert
- Includes:
- BaseConvert, Init
- Defined in:
- lib/isodoc/ribose/word_convert.rb
Overview
A Converter implementation that generates Word output, and a document schema encapsulation of the document for validation
Instance Method Summary collapse
Methods included from Init
Methods included from BaseConvert
#clausedelim, #executivesummary, #is_clause?
Instance Method Details
#configuration ⇒ Object
11 12 13 |
# File 'lib/isodoc/ribose/word_convert.rb', line 11 def configuration Metanorma::Ribose.configuration end |
#make_body2(body, docxml) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/isodoc/ribose/word_convert.rb', line 15 def make_body2(body, docxml) body.div **{ class: "WordSection2" } do |div2| boilerplate docxml, div2 preface_block docxml, div2 abstract docxml, div2 foreword docxml, div2 executivesummary docxml, div2 introduction docxml, div2 preface docxml, div2 acknowledgements docxml, div2 div2.p { |p| p << " " } # placeholder end section_break(body) end |