|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Resource
|
+--com.cete.dynamicpdf.forms.Form
Class provides the base class, representing an PDF form.
| Constructor Summary | |
protected |
Form()
Creates a new instance of Form class. |
| Method Summary | |
void |
draw(DocumentWriter writer)
Draws the form to the given DocumentWriter object. |
protected void |
drawDictionary(DocumentWriter writer)
Draws the form's dictionary entries to the given DocumentWriter object. |
FormCalculationOrder |
getCalculationOrder()
Gets the form's calculation order. |
FormFieldAlign |
getDefaultAlign()
Gets the default alignment for the form. |
FormFieldList |
getFields()
Gets a collection of fields for the form. |
int |
getRequiredLicenseLevel()
Gets a value indicating the required license level for the form. |
int |
getRequiredPdfObjects()
Gets the number of PDF objects required by the form. |
SignatureFlags |
getSignatureFlags()
Gets the signature flags for the form. |
TextFieldList |
getTextFields()
Returns a collection of text form fields. |
boolean |
isReadOnly()
Gets a value indicating if the form is read only. |
boolean |
needsAppearances()
Gets a value indicating if the form needs appearance streams. |
void |
requireLicense(int requiredLicenseLevel)
Sets the required license level for the form. |
void |
setDefaultAlign(FormFieldAlign value)
Sets the default alignment for the form. |
void |
setNeedsAppearances(boolean value)
Sets a value indicating if the form needs appearance streams. |
void |
setReadOnly(boolean value)
Sets a value indicating if the form is read only. |
void |
setSignatureFlags(SignatureFlags value)
Sets the signature flags for the form. |
| Methods inherited from class com.cete.dynamicpdf.Resource |
getUid, newUid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Form()
Form class.
Form| Method Detail |
public int getRequiredPdfObjects()
getRequiredPdfObjects in class Resourcepublic FormFieldList getFields()
FormFieldList object representing a collection of
fields for the form.public boolean isReadOnly()
public void setReadOnly(boolean value)
value - A boolean value specifing if the form is read only.public FormCalculationOrder getCalculationOrder()
public FormFieldAlign getDefaultAlign()
public void setDefaultAlign(FormFieldAlign value)
value - specifing the default alignment for the form.public SignatureFlags getSignatureFlags()
public void setSignatureFlags(SignatureFlags value)
value - the signature flags for the form.public boolean needsAppearances()
public void setNeedsAppearances(boolean value)
value - indicating if the form needs appearance streams.public int getRequiredLicenseLevel()
public void draw(DocumentWriter writer)
DocumentWriter object.
draw in class Resourcewriter - DocumentWriter object to receive the form's output.DocumentWriterpublic TextFieldList getTextFields()
TextFieldList object containing the visible form fields.TextFieldListpublic void requireLicense(int requiredLicenseLevel)
requiredLicenseLevel - The license level required.protected void drawDictionary(DocumentWriter writer)
DocumentWriter object.
writer - DocumentWriter object to receive the output.DocumentWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||