FoxitPDFSDKforWeb v11.0.1
Foxit PDF SDK for Web
|
Modules | |
constant | |
Classes | |
class | ChoiceOptionItem |
An option item in a list box or combo box. More... | |
class | CloneWidgetOptions |
Clone a widget from one page to another. More... | |
interface | DefaultAppearance |
An interface that represents default appearance data, which is used for free text annotations and forms. More... | |
interface | DefaultAppearanceFontInfo |
Represents the font information of the default appearance. More... | |
interface | ExportFormOptions |
Export form options. More... | |
interface | ExtFieldType |
Extended type information for PDF form fields, with specific properties for different field types. More... | |
class | FieldFlagOptions |
interface | FormInputEvent |
Represents a input event within a form. More... | |
class | FormInteractionEvent |
Represents an interaction event with a form. More... | |
interface | FormInteractionEventFlags |
Represents encapsulates flags for a form interaction event. More... | |
class | FormInteractionEventInterceptorOptions |
Options for form interaction event interceptor. More... | |
interface | FormKeyboardEvent |
Represents a keyboard event within a form. More... | |
interface | FormMouseEvent |
Represents a mouse event with a form. More... | |
interface | FormMouseWheelEvent |
Represents a mouse wheel event within a form. More... | |
interface | FormPasteEvent |
Represents a paste event within a form. More... | |
interface | IFormSignatureField |
Interface for handling form signature fields, extending ISignatureField. More... | |
interface | ImportFormFromCSVOptions |
Import form from CSV/TXT options. More... | |
interface | ImportFormOptions |
Import form options. More... | |
class | IncludeExcludeMDPActionData |
Filtering MDP action data. More... | |
interface | ISignatureField |
Interface representing a signature field in a PDF document. More... | |
interface | IXFASignatureField |
Interface for handling XFA signature fields, extending ISignatureField. More... | |
class | MKCaptionOptions |
Options for captions in different widget states. More... | |
class | MKIconBitmap |
Icon bitmap data. More... | |
class | MKIconFitOptions |
Options for fitting icons to the widget bounds. More... | |
class | MKIconOptions |
Icon options for different states of a form widget. More... | |
class | MoveActionOptions |
Options for moving an additional action. More... | |
interface | PagingSealConfig |
Represents the information for a paging seal signature. More... | |
class | PDFForm |
Represents a PDF form within a document.This class provides various methods for interacting with and manipulating form fields within a PDF document. It integrates with the underlying document and form APIs to perform operations such as submitting, importing, and resetting form fields. The PDFForm class is also responsible for managing form field events and maintaining the form's state. More... | |
class | PDFFormField |
class | PDFSignature |
Represents a signature field in a PDF form, providing methods for verification and retrieval of signature information. More... | |
class | SignatureService |
This class provides methods for customizing signature signing/verification behavior. More... | |
class | SignatureVerificationOptions |
Options for configuring the verification process of PDF form signatures. More... | |
class | SignatureWorkflowService |
This class is used to record the settings information required for signatures and custom verification handlers. The recorded information will be used in the SDK's built-in signature UI. More... | |
interface | SignDocInfo |
Signing settings for PDF signatures. More... | |
class | SignedFormSignatureInfo |
Information regarding a signed form signature. More... | |
class | SignedXFASignatureInfo |
Information regarding a signed XFA signature. More... | |
interface | SigningSettings |
Signing settings for PDF signatures. More... | |
interface | SigningTimeFormat |
The time format infomation. More... | |
interface | SigningTimeFormatTimeZoneOptions |
The time zone information. More... | |
class | UnsignedFormSignatureInfo |
Information regarding an unsigned form signature. More... | |
class | UnsignedXFASignatureInfo |
Information regarding an unsigned form signature. More... | |
Enumerations | |
enum | DefAPFlags { FONT = 0x0001, TEXT_COLOR = 0x0002, TEXT_SIZE = 0x0004 } |
Enumeration for default appearance flags. More... | |
enum | FormFieldPropertyName { NAME = 'fieldName', VALUE = 'fieldValue', ALTERNATE_NAME = 'fieldAlternateName', FLAGS = 'fieldFlags', MAPPING_NAME = 'fieldMappingName', ALIGNMENT = 'fieldAlignment', MAX_LENGTH = 'maxLength', DEFAULT_VALUE = 'defaultValue', CHOICE_OPTION_ITEMS = 'choiceOptionItems', SELECT_OPTION_ITEM = 'selectOptionItem', CHECKED_BY_DEFAULT = 'checkedByDefault', ACTION = 'form-field-action', CALCULATE_ACTION = 'calculate_action', FORMAT_ACTION = 'format_action', VALIDATE_ACTION = 'validate_action' } |
The following are the property names of the FormField. Those property names are used in the event of FormField's property changed. More... | |
enum | FormMouseEventButtonType { LEFT_BUTTON = 0, MIDDLE_BUTTON = 1, RIGHT_BUTTON = 2 } |
Represents the type of mouse button in FormMouseEvent. More... | |
enum | FormWidgetDirection { LEFT_TO_RIGHT = 0, RIGHT_TO_LEFT = 1 } |
Represents the text direction of a widget in a PDF form. More... | |
enum | PagingSealPosition { left = 'left', right = 'right', top = 'top', bottom = 'bottom' } |
Represents the position for a paging seal signature. More... | |
enum | ScaleWayType { NONE = 0, ALWAYS = 1, BIGGER = 2, SMALLER = 3, NEVER = 4 } |
Enum values to specify the scale way of a form widget. More... | |
enum | SignatureType { Ordinary = 0, TimeStamp = 3, PagingSeal = 4 } |
Enumeration for signature type. More... | |
enum | TextWidgetAlignment { left = 0, center = 1, right = 2 } |
Enum for text alignment. More... | |
enum | WidgetGestureState { UP = 'up', DOWN = 'down', ROLLOVER = 'rollover' } |
Enum describing the state of a form widget. More... | |
enum | WidgetIconCaptionRelation { NO_ICON = 0, NO_CAPTION = 1, CAPTION_BELOW_ICON = 2, CAPTION_ABOVE_ICON = 3, CAPTION_RIGHT = 4, CAPTION_LEFT = 5, CAPTION_OVERLAY_ON_ICON = 6 } |
Enum values for the icon caption relation of a form widget. More... | |
Variables | |
type | DigestSignHandler =(signInfo:object,plainBuffer:ArrayBuffer)=>Promise<ArrayBuffer> |
The digest and sign handler for signing. More... | |
type | EventType = 'keyup' | 'keydown' | 'dblclick' | 'mousedown' | 'mouseup' | 'mousemove' | 'mouseenter' | 'mousehover' | 'mouseleave' | 'mousewheel' | 'paste' | 'input' |
The type of interaction event occurring within a form. More... | |
type | FormInteractionEventInterceptor = (options:FormInteractionEventInterceptorOptions,next:()=>Promise<unknown>)=>Promise<void> |
Interceptor for form interaction events. More... | |
type | FormSignatureInfo = UnsignedFormSignatureInfo | SignedFormSignatureInfo |
Union type that represents the information regarding a form signature. More... | |
type | SignatureInfo = FormSignatureInfo|XFASignatureInfo |
Represents the signature information for a form or XFA signature field. More... | |
type | SignerOverridePolicy = (field:PDFSignature)=>Promise<string> |
A callback function used to override the signer. More... | |
type | SigningWorkflowHandler = (field:ISignatureField,settingsList:SigningSettings[])=>Promise<SigningSettings> |
A callback function used to override the signing workflow. This method returns a promise that resolves with the signing settings. After specifying this callback, the default signing dialog will no longer be opened, and the signing operation will be triggered directly with the settings. More... | |
type | VerifySignatureHandler = (field:PDFSignature,plainContent:Uint8Array,signedData:Uint8Array,hasDataOutOfScope:boolean)=>Promise<number> |
A callback used to send the signed data to the server and receive the verification result. More... | |
type | VerifyWorkflowHandler = (field: ISignatureField)=>Promise<number> |
A callback function used to verify the signature. More... | |
type | XFASignatureInfo = UnsignedXFASignatureInfo|SignedXFASignatureInfo |
Union type that represents the information regarding an XFA signature. More... | |
Form namespace.
enum DefAPFlags |
Enumeration for default appearance flags.
Enumerator | |
---|---|
FONT | Indicates property font of DefaultAppearance is meaningful. |
TEXT_COLOR | Indicates property textColor of DefaultAppearance is meaningful. |
TEXT_SIZE | Indicates property textSize of DefaultAppearance is meaningful. |
The following are the property names of the FormField. Those property names are used in the event of FormField's property changed.
Enumerator | |
---|---|
NAME | The name of the field.
|
VALUE | The value of the field.
|
ALTERNATE_NAME | The alternate name of the field.
|
FLAGS | The flags of the field.
|
MAPPING_NAME | The mapping name of the field.
|
ALIGNMENT | The alignment of the field.
|
MAX_LENGTH | The maximum length of the field.
|
DEFAULT_VALUE | The default value of the field.
|
CHOICE_OPTION_ITEMS | The options of the field.
|
SELECT_OPTION_ITEM | The selected option index of the field.
|
CHECKED_BY_DEFAULT | Whether the field is checked by default.
|
ACTION | The action associated with the field.
|
CALCULATE_ACTION | The calculate action associated with the field.
|
FORMAT_ACTION | The format action associated with the field.
|
VALIDATE_ACTION | The validate action associated with the field.
|
Represents the type of mouse button in FormMouseEvent.
Enumerator | |
---|---|
LEFT_BUTTON | The left mouse button. |
MIDDLE_BUTTON | The middle mouse button. |
RIGHT_BUTTON | The right mouse button. |
enum FormWidgetDirection |
enum PagingSealPosition |
Represents the position for a paging seal signature.
enum ScaleWayType |
enum SignatureType |
Enumeration for signature type.
Enumerator | |
---|---|
Ordinary | Ordinary signature type. |
TimeStamp | Time stamp signature type. |
PagingSeal | Paging seal signature type. |
enum TextWidgetAlignment |
enum WidgetGestureState |
Enum values for the icon caption relation of a form widget.
type DigestSignHandler =(signInfo:object,plainBuffer:ArrayBuffer)=>Promise<ArrayBuffer> |
The digest and sign handler for signing.
type EventType = 'keyup' | 'keydown' | 'dblclick' | 'mousedown' | 'mouseup' | 'mousemove' | 'mouseenter' | 'mousehover' | 'mouseleave' | 'mousewheel' | 'paste' | 'input' |
The type of interaction event occurring within a form.
type FormInteractionEventInterceptor = (options:FormInteractionEventInterceptorOptions,next:()=>Promise<unknown>)=>Promise<void> |
Interceptor for form interaction events.
The interceptor is called when a form interaction event is triggered, such as a mouse click or key press. The interceptor can call the next interceptor by calling the next function, or settle the event by not calling the next function.
type FormSignatureInfo = UnsignedFormSignatureInfo | SignedFormSignatureInfo |
Union type that represents the information regarding a form signature.
type SignatureInfo = FormSignatureInfo|XFASignatureInfo |
Represents the signature information for a form or XFA signature field.
type SignerOverridePolicy = (field:PDFSignature)=>Promise<string> |
A callback function used to override the signer.
type SigningWorkflowHandler = (field:ISignatureField,settingsList:SigningSettings[])=>Promise<SigningSettings> |
A callback function used to override the signing workflow. This method returns a promise that resolves with the signing settings. After specifying this callback, the default signing dialog will no longer be opened, and the signing operation will be triggered directly with the settings.
field | ISignatureField - The signature field which is being signed. |
settingsList | SigningSettings[] - The list of signing settings currently available. |
type VerifySignatureHandler = (field:PDFSignature,plainContent:Uint8Array,signedData:Uint8Array,hasDataOutOfScope:boolean)=>Promise<number> |
A callback used to send the signed data to the server and receive the verification result.
type VerifyWorkflowHandler = (field: ISignatureField)=>Promise<number> |
A callback function used to verify the signature.
field | ISignatureField - The signature field which is being verified. |
type XFASignatureInfo = UnsignedXFASignatureInfo|SignedXFASignatureInfo |
Union type that represents the information regarding an XFA signature.