Sha256: 89ccbca71d933cc3c43f8c0489f8adb157d91c9a46ff25c522377cdf56b01421
Contents?: true
Size: 637 Bytes
Versions: 97
Compression:
Stored size: 637 Bytes
Contents
require_relative "base_convert" require "isodoc" module IsoDoc module Iso # A {Converter} implementation that generates 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 = docxml&.at(ns("//bibdata/ext/doctype"))&.text when "amendment", "technical-corrigendum" then "iso.amendment.xsl" else "iso.international-standard.xsl" end end end end end
Version data entries
97 entries across 94 versions & 2 rubygems