public class HtmlExporterNG2 extends AbstractHtmlExporter
AbstractHtmlExporter.HtmlSettings
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_OUTPUT_SIZE
Deprecated.
|
protected static org.slf4j.Logger |
log
Deprecated.
|
Constructor and Description |
---|
HtmlExporterNG2()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
html(WordprocessingMLPackage wmlPackage,
Result result,
HTMLSettings htmlSettings)
Deprecated.
Create an html version of the document.
|
void |
output(Result result)
Deprecated.
|
void |
setHtmlSettings(HTMLSettings htmlSettings)
Deprecated.
|
void |
setWmlPackage(WordprocessingMLPackage wmlPackage)
Deprecated.
|
static void |
setXslt(Templates xslt)
Deprecated.
org/docx4j/convert/out/html/docx2xhtmlNG2.xslt will be used by default
to transform the docx to html.
|
protected static final int DEFAULT_OUTPUT_SIZE
protected static org.slf4j.Logger log
public void setWmlPackage(WordprocessingMLPackage wmlPackage)
public void setHtmlSettings(HTMLSettings htmlSettings)
public static void setXslt(Templates xslt)
xslt
- public void output(Result result) throws Docx4JException
Docx4JException
public void html(WordprocessingMLPackage wmlPackage, Result result, HTMLSettings htmlSettings) throws Exception
html
in class AbstractHtmlExporter
result
- The javax.xml.transform.Result object to transform intoException
Copyright © 2007-2014. All Rights Reserved.