public final class RtfTemplate extends Object
Modifier and Type | Method and Description |
---|---|
static RtfTemplate |
getInstance()
Singelton.
|
void |
setTemplateFilePath(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(String templateFilePath) throws IOException
templateFilePath
- The full path of the templateIOException
- for I/O problemspublic void writeTemplate(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) throws IOException
header
- Rtf header is the parentIOException
- On write errorCopyright © 2025 Apache Software Foundation. All rights reserved.