Namespace TallComponents.PDF.JavaScript.Scripting
Class Doc
Doc JavaScript object.
To override the default behavior you must specialize this class and register a custom JavaScript class factory that returns an instance of this class.
Syntax
public class Doc
: Object
Constructors
Methods
Void ExportAsFDF(String,FdfFormData)
Override this method to implement custom exportAsFDF behavior.
Void ExportDataObject(EmbeddedFile,Boolean,Int32)
Extracts the specified data object to an external file.
FdfFormData ImportAnFDF(String)
Override this method to implement custom importAnFDF behavior.
XfdfFormData ImportAnXFDF(String)
Override this method to implement custom importAnXFDF behavior.
Boolean ImportDataObject(String,String,String)
Imports an external file into the document and associates the specified name with the data object. Data objects can later be extracted or manipulated. When a file attachment is imported using importDataObject, the value of its Data.name is assigned by the parameter cName.
ImportTextDataResult ImportTextData(String,Int32)
Override this method to implement custom importTextData behavior.
Void Initialize(Document)
Override this method to perform initializations before any javascript code
is being run for this document.
Document Open(String)
Opens the specified PDF document. Override this method to provide custom open functionality.
Void SubmitForm(SubmitFormOptions)
Override this method to implement custom submitForm behavior.