Class ConvertOutHtml

java.lang.Object
org.docx4j.samples.AbstractSample
org.docx4j.samples.ConvertOutHtml

public class ConvertOutHtml extends AbstractSample
This sample uses XSLT (and Xalan) to produce HTML output. (There is also HtmlExporterNonXSLT for environments where that is not desirable eg Android). If the source docx contained a WMF, that will get converted to inline SVG. In order to see the SVG in your browser, you'll need to rename the file to .xml or serve it with MIME type application/xhtml+xml
  • Field Details

    • save

      static boolean save
    • nestLists

      static boolean nestLists
  • Constructor Details

    • ConvertOutHtml

      public ConvertOutHtml()
  • Method Details