Sha256: 6874fe1936b29ef32c496b5bff6fb31971e235926c815ee7bd53e48b0ddf0188

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 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

2 entries across 2 versions & 1 rubygems

Version Path
metanorma-iho-1.0.6 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-1.0.5 lib/isodoc/iho/pdf_convert.rb