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()
boolean hasStructureTags()
void importJson(NativeDataSource nativeDataSource)
void importXfdf(NativeDataSource nativeDataSource)
boolean isPDFUA()
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)
String reflowPages(vector_int32_t pages)
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)
static long swigRelease(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 boolean hasStructureTags ()

public void importJson (NativeDataSource nativeDataSource)

public void importXfdf (NativeDataSource nativeDataSource)

public boolean isPDFUA ()

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 String reflowPages (vector_int32_t pages)

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)

protected static long swigRelease (NativeDocument obj)