Class: IsoDoc::Ribose::HtmlConvert
- Inherits:
-
Generic::HtmlConvert
- Object
- Generic::HtmlConvert
- IsoDoc::Ribose::HtmlConvert
- Includes:
- BaseConvert, Init
- Defined in:
- lib/isodoc/ribose/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 Init
#i18n_init, #metadata_init, #xref_init
Methods included from BaseConvert
#clausedelim, #executivesummary, #is_clause?
Instance Method Details
#configuration ⇒ Object
12 13 14 |
# File 'lib/isodoc/ribose/html_convert.rb', line 12 def configuration Metanorma::Ribose.configuration end |
#make_body3(body, docxml) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/isodoc/ribose/html_convert.rb', line 16 def make_body3(body, docxml) body.div **{ class: "main-section" } do |div3| boilerplate docxml, div3 preface_block 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 |