class IsoDoc::IHO::PdfConvert
A {Converter} implementation that generates PDF HTML output, and a document schema encapsulation of the document for validation
Public Class Methods
new(options)
click to toggle source
Calls superclass method
# File lib/isodoc/iho/pdf_convert.rb, line 8 def initialize(options) @libdir = File.dirname(__FILE__) super end
Public Instance Methods
pdf_stylesheet(docxml)
click to toggle source
# File lib/isodoc/iho/pdf_convert.rb, line 13 def pdf_stylesheet(docxml) case doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text when "standard" then "iho.standard.xsl" else "iho.specification.xsl" end end