public class FDFTemplate extends Object implements COSObjectable
Constructor and Description |
---|
FDFTemplate()
Default constructor.
|
FDFTemplate(COSDictionary t)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
List<FDFField> |
getFields()
This will get a list of fields that are part of this template.
|
FDFNamedPageReference |
getTemplateReference()
This is the template reference.
|
void |
setFields(List<FDFField> 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 COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public FDFNamedPageReference getTemplateReference()
public void setTemplateReference(FDFNamedPageReference tRef)
tRef
- The template reference.public List<FDFField> getFields()
public void setFields(List<FDFField> 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–2017 The Apache Software Foundation. All rights reserved.