Class: IsoDoc::Ogc::PdfConvert
- Inherits:
-
XslfoPdfConvert
- Object
- XslfoPdfConvert
- IsoDoc::Ogc::PdfConvert
- Defined in:
- lib/isodoc/ogc/pdf_convert.rb
Overview
A Converter implementation that generates PDF HTML output, and a document schema encapsulation of the document for validation
Instance Method Summary collapse
-
#initialize(options) ⇒ PdfConvert
constructor
A new instance of PdfConvert.
- #pdf_stylesheet(_docxml) ⇒ Object
Constructor Details
#initialize(options) ⇒ PdfConvert
Returns a new instance of PdfConvert.
9 10 11 12 |
# File 'lib/isodoc/ogc/pdf_convert.rb', line 9 def initialize() @libdir = File.dirname(__FILE__) super end |
Instance Method Details
#pdf_stylesheet(_docxml) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/isodoc/ogc/pdf_convert.rb', line 14 def pdf_stylesheet(_docxml) %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 |