Class: IsoDoc::Iho::PdfConvert
- Inherits:
-
Generic::PdfConvert
- Object
- Generic::PdfConvert
- IsoDoc::Iho::PdfConvert
- Includes:
- BaseConvert, Init
- Defined in:
- lib/isodoc/iho/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
Methods included from Init
#bibrenderer, #i18n_init, #info, #metadata_init, #xref_init
Methods included from BaseConvert
Constructor Details
#initialize(options) ⇒ PdfConvert
Returns a new instance of PdfConvert.
10 11 12 13 |
# File 'lib/isodoc/iho/pdf_convert.rb', line 10 def initialize() super @libdir = File.dirname(__FILE__) end |
Instance Method Details
#pdf_stylesheet(_docxml) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/isodoc/iho/pdf_convert.rb', line 15 def pdf_stylesheet(_docxml) case @doctype when "standard" then "iho.standard.xsl" else "iho.specification.xsl" end end |