Sha256: c3f0dfc47b27439f53d725f2253c0fc5c672a5b79865ca4fb49aa78498b8a4dd

Contents?: true

Size: 629 Bytes

Versions: 5

Compression:

Stored size: 629 Bytes

Contents

require "isodoc"
require "metanorma-generic"
require_relative "base_convert"

module IsoDoc
  module Iho
    # A {Converter} implementation that generates PDF HTML output, and a
    # document schema encapsulation of the document for validation
    class PdfConvert < IsoDoc::Generic::PdfConvert
      def initialize(options)
        super
        @libdir = File.dirname(__FILE__)
      end

      def pdf_stylesheet(_docxml)
        case @doctype
        when "standard" then "iho.standard.xsl"
        else
          "iho.specification.xsl"
        end
      end

      include BaseConvert
      include Init
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metanorma-iho-1.0.12 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-1.0.10 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-1.0.9 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-1.0.8 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-1.0.7 lib/isodoc/iho/pdf_convert.rb