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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RtfTemplateSingelton.voidsetTemplateFilePath(String templateFilePath) Set the template file and adjust tha path separatorvoidwriteTemplate(RtfHeader header) Write the rtf template
-
Field Details
-
instance
Singelton instance -
templateFilePath
-
-
Constructor Details
-
RtfTemplate
private RtfTemplate()Constructor.
-
-
Method Details
-
getInstance
-
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
Write the rtf template- Parameters:
header- Rtf header is the parent- Throws:
IOException- On write error
-