Method: IsoDoc::WordFunction::Postprocess#toWord
- Defined in:
- lib/isodoc/word_function/postprocess.rb
#toWord(result, filename, dir, header) ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/isodoc/word_function/postprocess.rb', line 41 def toWord(result, filename, dir, header) result = populate_template(result, :word) result = from_xhtml(word_cleanup(to_xhtml(result))) Html2Doc.process(result, filename: filename, stylesheet: @wordstylesheet, header_file: header, dir: dir, asciimathdelims: [@openmathdelim, @closemathdelim], liststyles: { ul: @ulstyle, ol: @olstyle }) end |