Sha256: d57ce38edad76189593f81cc144a84f55972e9a5318b536726ea330795258736
Contents?: true
Size: 947 Bytes
Versions: 45
Compression:
Stored size: 947 Bytes
Contents
require "isodoc" require "isodoc/generic/word_convert" require "isodoc/ribose/metadata" require_relative "init" module IsoDoc module Ribose # A {Converter} implementation that generates Word output, and a document # schema encapsulation of the document for validation class WordConvert < IsoDoc::Generic::WordConvert def configuration Metanorma::Ribose.configuration end 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 include BaseConvert include Init end end end
Version data entries
45 entries across 45 versions & 1 rubygems