Sha256: 1523b7771df4270530023d8006b1e808cb86728bf67862e7ff633cc5eb46975f
Contents?: true
Size: 790 Bytes
Versions: 12
Compression:
Stored size: 790 Bytes
Contents
module IsoDoc class PresentationXMLConvert < ::IsoDoc::Convert def initialize(options) @format = :presentation @suffix = "presentation.xml" super end def convert1(docxml, filename, dir) @xrefs.parse docxml info docxml, nil docxml.to_xml end def postprocess(result, filename, dir) #result = from_xhtml(cleanup(to_xhtml(textcleanup(result)))) toXML(result, filename) @files_to_delete.each { |f| FileUtils.rm_rf f } end def toXML(result, filename) #result = (from_xhtml(html_cleanup(to_xhtml(result)))) #result = from_xhtml(move_images(to_xhtml(result))) #result = html5(script_cdata(inject_script(result))) File.open(filename, "w:UTF-8") { |f| f.write(result) } end end end
Version data entries
12 entries across 10 versions & 2 rubygems