Class RtfTemplate
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTemplate
Singelton of the RTF style template
This class belongs to the jfor:style-template tag processing.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RtfTemplate
Singelton.void
setTemplateFilePath
(String templateFilePath) Set the template file and adjust tha path separatorvoid
writeTemplate
(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) Write the rtf template
-
Method Details
-
getInstance
Singelton.- Returns:
- The instance of RtfTemplate
-
setTemplateFilePath
Set the template file and adjust tha path separator- Parameters:
templateFilePath
- The full path of the template- Throws:
IOException
- for I/O problems
-
writeTemplate
public void writeTemplate(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) throws IOException Write the rtf template- Parameters:
header
- Rtf header is the parent- Throws:
IOException
- On write error
-