Method: IsoDoc::WordFunction::Postprocess#postprocess
- Defined in:
- lib/isodoc/word_function/postprocess.rb
#postprocess(result, filename, dir) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/isodoc/word_function/postprocess.rb', line 9 def postprocess(result, filename, dir) result = postprocess_cleanup(result) filename = filename.sub(/\.doc$/, "") header = generate_header(filename, dir) @wordstylesheet = wordstylesheet_update toWord(result, filename, dir, header) @files_to_delete.each { |f| FileUtils.rm_f f } end |