Summary: Methods | Inherited Methods | [Expand All]
public static class

# PDFCompat.PDFDoc

extends Object

java.lang.Object
↳ | com.pdftron.pdf.PDFCompat.PDFDoc

## Summary

Public Methods
static void | AddFileAttachment(long impl, String file_key, long embedded_file)
static void | AddHighlights(long impl, String hilite)
static void | AddRootBookmark(long impl, long root_bookmark)
static long | AddSignatureHandler(long impl, SignatureHandler signatureHandler)
static long | AddStdSignatureHandlerFromBuffer(long impl, byte[] pkcs12Keybuffer, String pkcs12Keypass)
static long | AddStdSignatureHandlerFromFile(long impl, String pkcs12Keyfile, String pkcs12Keypass)
static void | Close(long impl)
static long | CreateIndirectArray(long impl)
static long | CreateIndirectBool(long impl, boolean value)
static long | CreateIndirectDict(long impl)
static long | CreateIndirectName(long impl, String name)
static long | CreateIndirectNull(long impl)
static long | CreateIndirectNumber(long impl, double value)
static long | CreateIndirectStream(long impl, long data, long filter_chain)
static long | CreateIndirectStream(long impl, byte[] data, long filter_chain)
static long | CreateIndirectString(long impl, byte[] buf)
static long | CreateIndirectString(long impl, String str)
static long | FDFExtract(long impl, int extractFlag)
static void | FDFMerge(long impl, long fdf_doc)
static long | FieldCreate(long impl, String field_name, int type, long field_value, long def_field_value)
static long | FieldCreate(long impl, String field_name, int type, String field_value, String def_field_value)
static void | FlattenAnnotations(long impl, boolean forms_only)
static void | FlattenAnnotationsAdvanced(long impl, long flags)
static void | GenerateThumbnails(long impl, long size)
static long | GetAcroForm(long impl)
static long | GetDocInfo(long impl)
static long | GetField(long impl, String field_name)
static long | GetFieldIterator(long impl, String field_name)
static long | GetFieldIteratorBegin(long impl)
static String | GetFileName(long impl)
static long | GetFirstBookmark(long impl)
static long | GetOCGConfig(long impl)
static long | GetOCGs(long impl)
static long | GetOpenAction(long impl)
static long | GetPage(long impl, int page_number)
static long | GetPageIterator(long impl, int page_number)
static long | GetPageIteratorBegin(long impl)
static long | GetPageLabel(long impl, int page_num)
static long | GetPages(long impl)
static int | GetPagesCount(long impl)
static long | GetRoot(long impl)
static long | GetSecurityHandler(long impl)
static SignatureHandler | GetSignatureHandler(long impl, long id)
static long | GetStructTree(long impl)
static long | GetTrailer(long impl)
static long | GetViewPrefs(long impl)
static boolean | HasOC(long impl)
static boolean | HasSignatures(long impl)
static long[] | ImportPages(long impl, long[] pages, boolean import_bookmarks)
static boolean | InitSecurityHandler(long impl, Object custom_data)
static boolean | InitStdSecurityHandler(long impl, String password)
static void | InsertPageSet(long impl, int insertBeforeThisPage, long sourceDoc, long sourcePageSet, int insertFlag, Object progress)
static boolean | IsEncrypted(long impl)
static boolean | IsLinearized(long impl)
static boolean | IsModified(long impl)
static boolean | IsTagged(long impl)
static void | Lock(long impl)
static void | LockRead(long impl)
static long | MemStreamCreateDoc(long mem_stream)
static long | MemStreamCreateMemFilt(long size)
static void | MemStreamWriteData(long m, byte[] buf, int size)
static void | MovePageSet(long imp, int insertBeforeThisPage, long sourceDoc, long sourcePageSet, int insertFlag, Object progress)
static long | PDFDocCreate(String filepath)
static long | PDFDocCreate()
static long | PDFDocCreate(byte[] buf)
static long | PDFDocCreateFilter(long stream)
static long | PageCreate(long impl, long media_box)
static void | PageInsert(long impl, long where, long page)
static void | PagePushBack(long impl, long page)
static void | PagePushFront(long impl, long page)
static void | PageRemove(long impl, long page_itr)
static void | ReadData(byte[] buf, int size, long buf_ptr)
static void | RefreshFieldAppearances(long impl)
static void | RemovePageLabel(long impl, int page_num)
static void | RemoveSecurity(long impl)
static SignatureHandler | RemoveSignatureHandler(long impl, long id)
static void | Save(long impl, String path, long flags, Object progress)
static byte[] | Save(long impl, long flags, Object progress)
static void | SaveCustomFilter(long impl, long custom_filter, long flags)
static long[] | SaveStream(long impl, long flags, Object progress)
static void | SetOpenAction(long impl, long action)
static void | SetPageLabel(long impl, int page_num, long label)
static void | SetSecurityHandler(long impl, long handler)
static boolean | TryLock(long impl, int milliseconds)
static boolean | TryLockRead(long impl, int milliseconds)
static void | Unlock(long impl)
static void | UnlockRead(long impl)

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Methods

#### public static void AddFileAttachment (long impl, String file_key, long embedded_file)

##### Throws

PDFNetException |

#### public static void AddHighlights (long impl, String hilite)

##### Throws

PDFNetException |

#### public static void AddRootBookmark (long impl, long root_bookmark)

##### Throws

PDFNetException |

#### public static long AddSignatureHandler (long impl, SignatureHandler signatureHandler)

##### Throws

PDFNetException |

#### public static long AddStdSignatureHandlerFromBuffer (long impl, byte[] pkcs12Keybuffer, String pkcs12Keypass)

##### Throws

PDFNetException |

#### public static long AddStdSignatureHandlerFromFile (long impl, String pkcs12Keyfile, String pkcs12Keypass)

##### Throws

PDFNetException |

#### public static void Close (long impl)

##### Throws

PDFNetException |

#### public static long CreateIndirectArray (long impl)

##### Throws

PDFNetException |

#### public static long CreateIndirectBool (long impl, boolean value)

##### Throws

PDFNetException |

#### public static long CreateIndirectDict (long impl)

##### Throws

PDFNetException |

#### public static long CreateIndirectName (long impl, String name)

##### Throws

PDFNetException |

#### public static long CreateIndirectNull (long impl)

##### Throws

PDFNetException |

#### public static long CreateIndirectNumber (long impl, double value)

##### Throws

PDFNetException |

#### public static long CreateIndirectStream (long impl, long data, long filter_chain)

##### Throws

PDFNetException |

#### public static long CreateIndirectStream (long impl, byte[] data, long filter_chain)

##### Throws

PDFNetException |

#### public static long CreateIndirectString (long impl, byte[] buf)

##### Throws

PDFNetException |

#### public static long CreateIndirectString (long impl, String str)

##### Throws

PDFNetException |

#### public static long FDFExtract (long impl, int extractFlag)

##### Throws

PDFNetException |

#### public static void FDFMerge (long impl, long fdf_doc)

##### Throws

PDFNetException |

#### public static long FieldCreate (long impl, String field_name, int type, long field_value, long def_field_value)

##### Throws

PDFNetException |

#### public static long FieldCreate (long impl, String field_name, int type, String field_value, String def_field_value)

##### Throws

PDFNetException |

#### public static void FlattenAnnotations (long impl, boolean forms_only)

##### Throws

PDFNetException |

#### public static void FlattenAnnotationsAdvanced (long impl, long flags)

##### Throws

PDFNetException |

#### public static void GenerateThumbnails (long impl, long size)

##### Throws

PDFNetException |

#### public static long GetAcroForm (long impl)

##### Throws

PDFNetException |

#### public static long GetDocInfo (long impl)

##### Throws

PDFNetException |

#### public static long GetField (long impl, String field_name)

##### Throws

PDFNetException |

#### public static long GetFieldIterator (long impl, String field_name)

##### Throws

PDFNetException |

#### public static long GetFieldIteratorBegin (long impl)

##### Throws

PDFNetException |

#### public static String GetFileName (long impl)

##### Throws

PDFNetException |

#### public static long GetFirstBookmark (long impl)

##### Throws

PDFNetException |

#### public static long GetOCGConfig (long impl)

##### Throws

PDFNetException |

#### public static long GetOCGs (long impl)

##### Throws

PDFNetException |

#### public static long GetOpenAction (long impl)

##### Throws

PDFNetException |

#### public static long GetPage (long impl, int page_number)

##### Throws

PDFNetException |

#### public static long GetPageIterator (long impl, int page_number)

##### Throws

PDFNetException |

#### public static long GetPageIteratorBegin (long impl)

##### Throws

PDFNetException |

#### public static long GetPageLabel (long impl, int page_num)

##### Throws

PDFNetException |

#### public static long GetPages (long impl)

##### Throws

PDFNetException |

#### public static int GetPagesCount (long impl)

##### Throws

PDFNetException |

#### public static long GetRoot (long impl)

##### Throws

PDFNetException |

#### public static long GetSecurityHandler (long impl)

##### Throws

PDFNetException |

#### public static SignatureHandler GetSignatureHandler (long impl, long id)

##### Throws

PDFNetException |

#### public static long GetStructTree (long impl)

##### Throws

PDFNetException |

#### public static long GetTrailer (long impl)

##### Throws

PDFNetException |

#### public static long GetViewPrefs (long impl)

##### Throws

PDFNetException |

#### public static boolean HasOC (long impl)

##### Throws

PDFNetException |

#### public static boolean HasSignatures (long impl)

##### Throws

PDFNetException |

#### public static long[] ImportPages (long impl, long[] pages, boolean import_bookmarks)

##### Throws

PDFNetException |

#### public static boolean InitSecurityHandler (long impl, Object custom_data)

##### Throws

PDFNetException |

#### public static boolean InitStdSecurityHandler (long impl, String password)

##### Throws

PDFNetException |

#### public static void InsertPageSet (long impl, int insertBeforeThisPage, long sourceDoc, long sourcePageSet, int insertFlag, Object progress)

##### Throws

PDFNetException |

#### public static boolean IsEncrypted (long impl)

##### Throws

PDFNetException |

#### public static boolean IsLinearized (long impl)

##### Throws

PDFNetException |

#### public static boolean IsModified (long impl)

##### Throws

PDFNetException |

#### public static boolean IsTagged (long impl)

##### Throws

PDFNetException |

#### public static void Lock (long impl)

##### Throws

PDFNetException |

#### public static void LockRead (long impl)

##### Throws

PDFNetException |

#### public static long MemStreamCreateDoc (long mem_stream)

##### Throws

PDFNetException |

#### public static long MemStreamCreateMemFilt (long size)

##### Throws

PDFNetException |

#### public static void MemStreamWriteData (long m, byte[] buf, int size)

##### Throws

PDFNetException |

#### public static void MovePageSet (long imp, int insertBeforeThisPage, long sourceDoc, long sourcePageSet, int insertFlag, Object progress)

##### Throws

PDFNetException |

#### public static long PDFDocCreate (String filepath)

##### Throws

PDFNetException |

#### public static long PDFDocCreate ()

##### Throws

PDFNetException |

#### public static long PDFDocCreate (byte[] buf)

##### Throws

PDFNetException |

#### public static long PDFDocCreateFilter (long stream)

##### Throws

PDFNetException |

#### public static long PageCreate (long impl, long media_box)

##### Throws

PDFNetException |

#### public static void PageInsert (long impl, long where, long page)

##### Throws

PDFNetException |

#### public static void PagePushBack (long impl, long page)

##### Throws

PDFNetException |

#### public static void PagePushFront (long impl, long page)

##### Throws

PDFNetException |

#### public static void PageRemove (long impl, long page_itr)

##### Throws

PDFNetException |

#### public static void ReadData (byte[] buf, int size, long buf_ptr)

##### Throws

PDFNetException |

#### public static void RefreshFieldAppearances (long impl)

##### Throws

PDFNetException |

#### public static void RemovePageLabel (long impl, int page_num)

##### Throws

PDFNetException |

#### public static void RemoveSecurity (long impl)

##### Throws

PDFNetException |

#### public static SignatureHandler RemoveSignatureHandler (long impl, long id)

##### Throws

PDFNetException |

#### public static void Save (long impl, String path, long flags, Object progress)

##### Throws

PDFNetException |

#### public static byte[] Save (long impl, long flags, Object progress)

##### Throws

PDFNetException |

#### public static void SaveCustomFilter (long impl, long custom_filter, long flags)

##### Throws

PDFNetException |

#### public static long[] SaveStream (long impl, long flags, Object progress)

##### Throws

PDFNetException |

#### public static void SetOpenAction (long impl, long action)

##### Throws

PDFNetException |

#### public static void SetPageLabel (long impl, int page_num, long label)

##### Throws

PDFNetException |

#### public static void SetSecurityHandler (long impl, long handler)

##### Throws

PDFNetException |

#### public static boolean TryLock (long impl, int milliseconds)

##### Throws

PDFNetException |

#### public static boolean TryLockRead (long impl, int milliseconds)

##### Throws

PDFNetException |

#### public static void Unlock (long impl)

##### Throws

PDFNetException |

#### public static void UnlockRead (long impl)

##### Throws

PDFNetException |