public final class RtfTemplate
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RtfTemplate |
getInstance()
Singelton.
|
void |
setTemplateFilePath(java.lang.String templateFilePath)
Set the template file and adjust tha path separator
|
void |
writeTemplate(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header)
Write the rtf template
|
public static RtfTemplate getInstance()
public void setTemplateFilePath(java.lang.String templateFilePath) throws java.io.IOException
templateFilePath
- The full path of the templatejava.io.IOException
- for I/O problemspublic void writeTemplate(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) throws java.io.IOException
header
- Rtf header is the parentjava.io.IOException
- On write errorCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.