public class XmlToRtf extends XmlToXXX
XmlToXXX
.Constructor and Description |
---|
XmlToRtf()
Construct an
XmlToRtf with the default page size. |
XmlToRtf(java.lang.String pageSize)
Construct an
XmlToRtf with the specified page size. |
Modifier and Type | Method and Description |
---|---|
protected void |
addWriter(Document doc,
java.io.OutputStream out)
Add a
DocWriter for the specified Document and
OutputStream . |
static void |
main(java.lang.String[] args)
Main method of the
XmlToRtf class. |
public XmlToRtf()
XmlToRtf
with the default page size.public XmlToRtf(java.lang.String pageSize)
XmlToRtf
with the specified page size.pageSize
- String
page size name from
com.lowagie.text.PageSize
.protected final void addWriter(Document doc, java.io.OutputStream out) throws DocumentException
DocWriter
for the specified Document
and
OutputStream
.addWriter
in class XmlToXXX
doc
- The document to which content will be addedout
- The outputstream to which RTF will be sentDocumentException
- if document errors occur.public static void main(java.lang.String[] args)
XmlToRtf
class.args
- String[]
of command-line arguments.