Sha256: 9e87eddc8bb55b0633c456495d11b8672bb49dc009c13d45b9b772b4257e6b03
Contents?: true
Size: 855 Bytes
Versions: 19
Compression:
Stored size: 855 Bytes
Contents
require_relative "base_convert" require "isodoc" module IsoDoc module Ogc # 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 %w(abstract-specification-topic best-practice draft-standard change-request-supporting-document community-practice community-standard discussion-paper engineering-report policy reference-model release-notes standard user-guide test-suite white-paper).include? doctype or doctype = "other" "ogc.#{doctype}.xsl" end end end end
Version data entries
19 entries across 19 versions & 1 rubygems