Sha256: b8dcea3a8d74f0034882f83155ac7ef5b775b7b2fa2b3476d3a23552da227b9e
Contents?: true
Size: 555 Bytes
Versions: 32
Compression:
Stored size: 555 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 docxml&.at(ns("//bibdata/ext/doctype"))&.text when "standard" then "iho.standard.xsl" else "iho.specification.xsl" end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems