Package org.docx4j.samples
Class ConvertOutHtmlDeprecated
java.lang.Object
org.docx4j.samples.AbstractSample
org.docx4j.samples.ConvertOutHtmlDeprecated
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
FieldsFields 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
-
-
Constructor Details
-
ConvertOutHtmlDeprecated
public ConvertOutHtmlDeprecated()
-
-
Method Details
-
main
- Throws:
Exception
-