Class: IsoDoc::Rsd::HtmlConvert
- Inherits:
-
Generic::HtmlConvert
- Object
- Generic::HtmlConvert
- IsoDoc::Rsd::HtmlConvert
- Includes:
- BaseConvert
- Defined in:
- lib/isodoc/rsd/html_convert.rb
Overview
A Converter implementation that generates HTML output, and a document schema encapsulation of the document for validation
Instance Method Summary collapse
Methods included from BaseConvert
#annex_name, #annex_name_lbl, #clausedelim, #executivesummary, #initial_anchor_names, #metadata_init, #section_names1
Instance Method Details
#configuration ⇒ Object
11 12 13 |
# File 'lib/isodoc/rsd/html_convert.rb', line 11 def configuration Metanorma::Rsd.configuration end |
#make_body3(body, docxml) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/isodoc/rsd/html_convert.rb', line 15 def make_body3(body, docxml) body.div **{ class: "main-section" } do |div3| boilerplate docxml, div3 abstract docxml, div3 foreword docxml, div3 executivesummary docxml, div3 introduction docxml, div3 preface docxml, div3 acknowledgements docxml, div3 middle docxml, div3 footnotes div3 comments div3 end end |