createHeaderFooter
public void createHeaderFooter()
getBodyNode
public Element getBodyNode()
getContentNode
public Element getContentNode()
getEncoding
public String getEncoding()
getExtension
public static final String getExtension(int nType)
getFileExtension
public String getFileExtension()
Returns the file extension of the Document
represented.
- getFileExtension in interface DOMDocument
- file extension of the
Document
.
getFooterNode
public Element getFooterNode()
getHeadNode
public Element getHeadNode()
getHeaderNode
public Element getHeaderNode()
getPanelNode
public Element getPanelNode()
getTitleNode
public Element getTitleNode()
read
public void read(InputStream is)
throws IOException
Read the Office Document
from the specified
InputStream
.
- read in interface Document
- read in interface DOMDocument
is
- Office document InputStream
.
readFromTemplate
public void readFromTemplate(XhtmlDocument template)
setAddBOM
public void setAddBOM(boolean b)
setContentDOM
public void setContentDOM(Document doc)
setContentNode
public void setContentNode(Element contentNode)
setEncoding
public void setEncoding(String s)
setNoDoctype
public void setNoDoctype(boolean b)
setUseNamedEntities
public void setUseNamedEntities(boolean b)
setXsltPath
public void setXsltPath(String s)
write
public void write(OutputStream os)
throws IOException
Write out content to the supplied OutputStream
.
(with pretty printing)
- write in interface OutputFile
- write in interface DOMDocument