COSObjectable
public class FDFTemplate extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
FDFTemplate() |
Default constructor.
|
FDFTemplate(COSDictionary t) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
COSDictionary |
getCOSDictionary() |
Convert this standard java object to a COS object.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
java.util.List |
getFields() |
This will get a list of fields that are part of this template.
|
FDFNamedPageReference |
getTemplateReference() |
This is the template reference.
|
void |
setFields(java.util.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 COSObjectable
public COSDictionary getCOSDictionary()
public FDFNamedPageReference getTemplateReference()
public void setTemplateReference(FDFNamedPageReference tRef)
tRef
- The template reference.public java.util.List getFields()
public void setFields(java.util.List fields)
fields
- The list of fields to set for this template.public boolean shouldRename()
public void setRename(boolean value)
value
- The flag value.