Sha256: cc8f694fd782f3f9103da75a1f05bbd4a45673f52234bd0faa803aa23801c4fa
Contents?: true
Size: 627 Bytes
Versions: 24
Compression:
Stored size: 627 Bytes
Contents
require "isodoc" require "fileutils" module IsoDoc module ITU # 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__) @hierarchical_assets = options[:hierarchicalassets] super end def pdf_stylesheet(_docxml) if File.exist?(File.join(@libdir, "itu.#{@doctype}.xsl")) "itu.#{doctype}.xsl" else "itu.recommendation.xsl" end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems