Package org.docx4j.samples
Class ConvertOutHtml
java.lang.Object
org.docx4j.samples.AbstractSample
org.docx4j.samples.ConvertOutHtml
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 Summary
FieldsModifier and TypeFieldDescription(package private) static boolean(package private) static booleanFields inherited from class org.docx4j.samples.AbstractSample
inputfilepath, outputfilepath -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.docx4j.samples.AbstractSample
getInputFilePath, getOutputFilePath
-
Field Details
-
save
static boolean save -
nestLists
static boolean nestLists
-
-
Constructor Details
-
ConvertOutHtml
public ConvertOutHtml()
-
-
Method Details
-
main
- Throws:
Exception
-