Method: IsoDoc::WordFunction::Postprocess#postprocess
- Defined in:
- lib/isodoc/word_function/postprocess.rb
#postprocess(result, filename, dir) ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/isodoc/word_function/postprocess.rb', line 32 def postprocess(result, filename, dir) filename = filename.sub(/\.doc$/, "") header = generate_header(filename, dir) result = from_xhtml(cleanup(to_xhtml(textcleanup(result)))) toWord(result, filename, dir, header) @files_to_delete.each { |f| FileUtils.rm_f f } end |