| Inherits from | |
| Conforms to | |
| Framework | Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework |
| Availability | Available in Mac OS X v10.5 and later.
|
| Declared in | PDFActionResetForm.h |
PDFActionResetForm, a subclass of PDFAction, defines methods for getting and clearing fields in a PDF form.
A PDFActionResetForm object represents an action associated with a PDF form.
Returns an array of fields associated with the reset action.
- (NSArray *)fields
An array of NSString objects that corresponds to the fieldNames property of widget annotations (such as PDFAnnotationButtonWidget) on the PDF page. This method can return NULL.
– setFieldsPDFActionResetForm.hReturns whether the fields associated with the reset action are cleared when the action is performed.
- (BOOL)fieldsIncludedAreCleared
If YES, the reset action’s fields are cleared when the action is performed. If NO, the fields are excluded from the reset action; that is, they are not cleared, but all other fields in the document are cleared.
– setFieldsIncludedAreCleared:PDFActionResetForm.hInitializes a reset form action.
- (id)init
An initialized PDFActionResetForm instance, or NULL if the object could not be initialized.
Initially, there are no fields and fieldsIncludedAreCleared returns YES.
PDFActionResetForm.hSets the array of fields associated with the reset action.
- (void)setFields:(NSArray *)fields
An array of strings that represent field names.
– fieldsPDFActionResetForm.hSets whether the fields associated with the reset action are cleared when the action is performed.
- (void)setFieldsIncludedAreCleared:(BOOL)include
Pass YES to clear the fields associated with the action when the reset action is performed. Pass NO to exclude from the reset action only the fields associated with the action.
– fieldsIncludedAreClearedPDFActionResetForm.h
Last updated: 2007-12-11