Method: IsoDoc::Convert#populate_css

Defined in:
lib/isodoc/css.rb

#populate_cssObject

run this after @meta is populated



27
28
29
30
31
32
33
34
35
36
# File 'lib/isodoc/css.rb', line 27

def populate_css
  @htmlstylesheet = generate_css(localpath(@htmlstylesheet_name), true)
  @wordstylesheet = generate_css(localpath(@wordstylesheet_name), false)
  @standardstylesheet =
    generate_css(localpath(@standardstylesheet_name), false)
  @htmlstylesheet_override_name and
    @htmlstylesheet_override = File.open(localpath(@htmlstylesheet_override_name))
  @wordstylesheet_override_name and
    @wordstylesheet_override = File.open(localpath(@wordstylesheet_override_name))
end