Sha256: f9731e3076f38f0708ba2160c694867b596a181b0dfd66c9723080809cb21a65

Contents?: true

Size: 493 Bytes

Versions: 4

Compression:

Stored size: 493 Bytes

Contents

require "isodoc"
require "isodoc/acme/word_convert"
require "isodoc/vsd/metadata"

module IsoDoc
  module Vsd
    # A {Converter} implementation that generates Word output, and a document
    # schema encapsulation of the document for validation
    class WordConvert < IsoDoc::Acme::WordConvert
      def configuration
        Metanorma::Vsd.configuration
      end

      def metadata_init(lang, script, labels)
        @meta = Metadata.new(lang, script, labels)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
metanorma-vsd-1.0.3 lib/isodoc/vsd/word_convert.rb
metanorma-vsd-1.0.2 lib/isodoc/vsd/word_convert.rb
metanorma-vsd-1.0.1 lib/isodoc/vsd/word_convert.rb
metanorma-vsd-1.0.0 lib/isodoc/vsd/word_convert.rb