Sha256: 4348bb0fc9cf1c5bf41dd9fe57701fe7500561426a9029236e6001e5ff9d755c
Contents?: true
Size: 682 Bytes
Versions: 11
Compression:
Stored size: 682 Bytes
Contents
require_relative "base_convert" require "isodoc" module IsoDoc module MPFA # 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) doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text doctype = "standards" unless %w(circular guidelines compliance-standards-for-mpf-trustees supervision-of-mpf-intermediaries).include? doctype "mpfd.#{doctype}.xsl" end end end end
Version data entries
11 entries across 11 versions & 1 rubygems