Sha256: b2799b36bd09d542333fe47ba36336cd44f4261973432d505347736957fce4ba

Contents?: true

Size: 633 Bytes

Versions: 45

Compression:

Stored size: 633 Bytes

Contents

module IsoDoc
  module Ribose
    module BaseConvert
      def executivesummary(docxml, out)
        f = docxml.at(ns("//executivesummary")) || return
        title_attr = { class: "IntroTitle" }
        page_break(out)
        out.div **{ class: "Section3", id: f["id"] } do |div|
          clause_name(nil, f&.at(ns("./title")), div, title_attr)
          f.elements.each do |e|
            parse(e, div) unless e.name == "title"
          end
        end
      end

      def is_clause?(name)
        return true if name == "executivesummary"

        super
      end

      def clausedelim
        ""
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
metanorma-ribose-2.0.8 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.7 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.6 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.5 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.4 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.3 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.2 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.1 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.0.0 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.8.5 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.8.4 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.8.3 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.8.2 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.8.1 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.8.0 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.7.13 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.7.12 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.7.11 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.7.10 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-1.7.9 lib/isodoc/ribose/base_convert.rb