Foxit PDF SDK
fsdk.ImportDataAction Class Reference

Public Member Functions

def GetFDFFileSpec ()
 Get the file specification for the FDF file, from which to import form data.
More...
 
def SetFDFFileSpec (file_specification)
 Set a file specification of a FDF file, from which to import form data.
More...
 

Detailed Description

Import-data action is to import field values from a FDF file. Class fsdk.ImportDataAction is derived from Action and offers functions to get/set import-data action data.

See also
Action

Member Function Documentation

◆ GetFDFFileSpec()

def fsdk.ImportDataAction.GetFDFFileSpec ( )

Get the file specification for the FDF file, from which to import form data.

Returns
A file specification object. If the return value of function fsdk.FileSpec.IsEmpty for the returned file specification object is true, that means no such object is found.

◆ SetFDFFileSpec()

def fsdk.ImportDataAction.SetFDFFileSpec (   file_specification)

Set a file specification of a FDF file, from which to import form data.

File specification of a FDF file is necessary for an import-data action. So, for a new import-data action, user should call this function to set the file specification of a FDF file; otherwise the action will be useless.

Parameters
[in]file_specificationA file specification object which represents a FDF file. It should be valid and be in the same PDF document as current action.
Returns
None.