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.2.4 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.2.3 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.2.2 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.2.1 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.2.0 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.13 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.12 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.11 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.10 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.9 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.8.1 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.8 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.7 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.6 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.5 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.4 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.3 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.2 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.1 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.1.0 lib/isodoc/ribose/base_convert.rb