Class: IsoDoc::Iho::PdfConvert

Inherits:
Generic::PdfConvert
  • Object
show all
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

Methods included from Init

#bibrenderer, #i18n_init, #info, #metadata_init, #xref_init

Methods included from BaseConvert

#configuration, #error_parse

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(options)
  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