Sha256: b8385e5889b2f63607d15e44cc93df739ed8031b02b46d824b79ff5cd16db5f7

Contents?: true

Size: 518 Bytes

Versions: 18

Compression:

Stored size: 518 Bytes

Contents

require "isodoc"

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::XslfoPdfConvert
      def initialize(options)
        @libdir = File.dirname(__FILE__)
        super
      end

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
metanorma-iho-1.0.0 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.12 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.11 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.9 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.8 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.7 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.6 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.5 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.4 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.3 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.2 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.1 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.9.0 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.8.7 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.8.5 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.8.4 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.8.3 lib/isodoc/iho/pdf_convert.rb
metanorma-iho-0.8.2 lib/isodoc/iho/pdf_convert.rb