writer2latex.xhtml
public class XhtmlDocument extends DOMDocument
Document for
XHTML documents.
| Field Summary | |
|---|---|
| static int | XHTML10 Constant to identify XHTML 1.0 strict documents |
| static int | XHTML11 Constant to identify XHTML 1.1 documents (not used currently) |
| static int | XHTML_MATHML Constant to identify XHTML + MathML documents |
| static int | XHTML_MATHML_XSL Constant to identify XHTML + MathML documents using the xsl transformations
from w3c's math working group (http://www.w3.org/Math/XSL/) |
| Constructor Summary | |
|---|---|
| XhtmlDocument(String name, int nType)
Constructor. | |
| Method Summary | |
|---|---|
| void | createHeaderFooter() |
| Element | getBodyNode() |
| Element | getContentNode() |
| String | getEncoding() |
| static String | getExtension(int nType) |
| String | getFileExtension() |
| Element | getFooterNode() |
| Element | getHeaderNode() |
| Element | getHeadNode() |
| Element | getPanelNode() |
| Element | getTitleNode() |
| void | read(InputStream is) |
| void | readFromTemplate(XhtmlDocument template) |
| void | setAddBOM(boolean b) |
| void | setContentDOM(Document doc) |
| void | setContentNode(Element contentNode) |
| void | setEncoding(String s) |
| void | setNoDoctype(boolean b) |
| void | setUseNamedEntities(boolean b) |
| void | setXsltPath(String s) |
| void | write(OutputStream os)
Write out content to the supplied OutputStream.
(with pretty printing) |
Parameters: name Document name. nType the type of document
OutputStream.
(with pretty printing)Parameters: os XML OutputStream.
Throws: IOException If any I/O error occurs.