Sha256: 8d61fc2a71b6eef5534e3f9b1dada89e64bd0adc96c29d07fcd0de6728375cd2
Contents?: true
Size: 648 Bytes
Versions: 1
Compression:
Stored size: 648 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 "itu.recommendation-annex.xsl" else "iso.international-standard.xsl" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
metanorma-iso-1.4.0 | lib/isodoc/iso/pdf_convert.rb |