Method: IsoDoc::WordFunction::Postprocess#postprocess

Defined in:
lib/isodoc/word_function/postprocess.rb

#postprocess(result, filename, dir) ⇒ Object



33
34
35
36
37
38
# File 'lib/isodoc/word_function/postprocess.rb', line 33

def postprocess(result, filename, dir)
  header = generate_header(filename, dir)
  result = from_xhtml(cleanup(to_xhtml(result)))
  toWord(result, filename, dir, header)
  @files_to_delete.each { |f| FileUtils.rm_f f }
end