public class FDFTemplate extends Object implements COSObjectable
| Constructor and Description | 
|---|
| FDFTemplate()Default constructor. | 
| FDFTemplate(COSDictionary t)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| COSDictionary | getCOSDictionary()Convert this standard java object to a COS object. | 
| COSBase | getCOSObject()Convert this standard java object to a COS object. | 
| List | getFields()This will get a list of fields that are part of this template. | 
| FDFNamedPageReference | getTemplateReference()This is the template reference. | 
| void | setFields(List fields)This will set a list of fields for this template. | 
| void | setRename(boolean value)This will set if the fields can be renamed. | 
| void | setTemplateReference(FDFNamedPageReference tRef)This will set the template reference. | 
| boolean | shouldRename()A flag telling if the fields imported from the template may be renamed if there are conflicts. | 
public FDFTemplate()
public FDFTemplate(COSDictionary t)
t - The FDF page template.public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSDictionary getCOSDictionary()
public FDFNamedPageReference getTemplateReference()
public void setTemplateReference(FDFNamedPageReference tRef)
tRef - The template reference.public List getFields()
public void setFields(List fields)
fields - The list of fields to set for this template.public boolean shouldRename()
public void setRename(boolean value)
value - The flag value.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.