org.apache.fop.render.rtf.rtflib.rtfdoc

Class RtfTemplate


public class RtfTemplate
extends java.lang.Object

Singelton of the RTF style template This class belongs to the tag processing.

Method Summary

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

Method Details

getInstance

public static RtfTemplate getInstance()
Singelton.
Returns:
The instance of RtfTemplate

setTemplateFilePath

public void setTemplateFilePath(String templateFilePath)
            throws IOException
Set the template file and adjust tha path separator
Parameters:
templateFilePath - The full path of the template

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

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.