public class

NativeDocument

extends Object
java.lang.Object
   ↳ com.pspdfkit.internal.NativeDocument

Summary

Fields
protected boolean swigCMemOwn
Public Constructors
NativeDocument(NativeDataSource nativeDataSource)
Protected Constructors
NativeDocument(long cPtr, boolean cMemoryOwn)
Public Methods
String addAnnotationJson(String annotationJson)
synchronized void delete()
void exportJson(NativeDataSource nativeDataSource)
void exportXfdf(NativeDataSource nativeDataSource, set_int annotationIDs, set_string formFQNs)
NativeDocumentEditor getDocumentEditor()
NativeForm getForm()
String getFormFieldsValues()
NativePage getPage(int pageIndex)
long getPageCount()
void importJson(NativeDataSource nativeDataSource)
void importXfdf(NativeDataSource nativeDataSource)
void redactPreset(NativeRedactionRegexPresets preset, set_int pages, String fillColor)
void redactRegex(String pattern, set_int pages, String fillColor)
void redactRegion(NativeRect region, set_int pages, String fillColor)
void save(NativeDocumentSaveOptions nativeDocumentSaveOptions, boolean forceSave)
void saveAs(NativeDataSource nativeDataSource, NativeDocumentSaveOptions nativeDocumentSaveOptions)
void setFormFieldsValues(String formJson)
Protected Methods
void finalize()
static long getCPtr(NativeDocument obj)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected boolean swigCMemOwn

Public Constructors

public NativeDocument (NativeDataSource nativeDataSource)

Protected Constructors

protected NativeDocument (long cPtr, boolean cMemoryOwn)

Public Methods

public String addAnnotationJson (String annotationJson)

public synchronized void delete ()

public void exportJson (NativeDataSource nativeDataSource)

public void exportXfdf (NativeDataSource nativeDataSource, set_int annotationIDs, set_string formFQNs)

public NativeDocumentEditor getDocumentEditor ()

public NativeForm getForm ()

public String getFormFieldsValues ()

public NativePage getPage (int pageIndex)

public long getPageCount ()

public void importJson (NativeDataSource nativeDataSource)

public void importXfdf (NativeDataSource nativeDataSource)

public void redactPreset (NativeRedactionRegexPresets preset, set_int pages, String fillColor)

public void redactRegex (String pattern, set_int pages, String fillColor)

public void redactRegion (NativeRect region, set_int pages, String fillColor)

public void save (NativeDocumentSaveOptions nativeDocumentSaveOptions, boolean forceSave)

public void saveAs (NativeDataSource nativeDataSource, NativeDocumentSaveOptions nativeDocumentSaveOptions)

public void setFormFieldsValues (String formJson)

Protected Methods

protected void finalize ()

protected static long getCPtr (NativeDocument obj)