Sha256: 8771c16e305f65c600b674761adb8f9d6f3168a38cfdae7ac82037ac9d6e5e7c
Contents?: true
Size: 664 Bytes
Versions: 24
Compression:
Stored size: 664 Bytes
Contents
require_relative "base_convert" require "isodoc" module IsoDoc module UN # 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 when "plenary", "agenda", "budgetary" "un.plenary.xsl" else docxml.at(ns("//bibdata/ext/session/*")) ? "un.plenary-attachment.xsl" : "un.recommendation.xsl" end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems