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

Public Methods

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

public static void AddHighlights (long impl, String hilite)

public static void AddRootBookmark (long impl, long root_bookmark)

public static long AddSignatureHandler (long impl, SignatureHandler signatureHandler)

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

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

public static void Close (long impl)

public static long CreateIndirectArray (long impl)

public static long CreateIndirectBool (long impl, boolean value)

public static long CreateIndirectDict (long impl)

public static long CreateIndirectName (long impl, String name)

public static long CreateIndirectNull (long impl)

public static long CreateIndirectNumber (long impl, double value)

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

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

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

public static long CreateIndirectString (long impl, String str)

public static long FDFExtract (long impl, int extractFlag)

public static void FDFMerge (long impl, long fdf_doc)

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

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

public static void FlattenAnnotations (long impl, boolean forms_only)

public static void FlattenAnnotationsAdvanced (long impl, long flags)

public static void GenerateThumbnails (long impl, long size)

public static long GetAcroForm (long impl)

public static long GetDocInfo (long impl)

public static long GetField (long impl, String field_name)

public static long GetFieldIterator (long impl, String field_name)

public static long GetFieldIteratorBegin (long impl)

public static String GetFileName (long impl)

public static long GetFirstBookmark (long impl)

public static long GetOCGConfig (long impl)

public static long GetOCGs (long impl)

public static long GetOpenAction (long impl)

public static long GetPage (long impl, int page_number)

public static long GetPageIterator (long impl, int page_number)

public static long GetPageIteratorBegin (long impl)

public static long GetPageLabel (long impl, int page_num)

public static long GetPages (long impl)

public static int GetPagesCount (long impl)

public static long GetRoot (long impl)

public static long GetSecurityHandler (long impl)

public static SignatureHandler GetSignatureHandler (long impl, long id)

public static long GetStructTree (long impl)

public static long GetTrailer (long impl)

public static long GetViewPrefs (long impl)

public static boolean HasOC (long impl)

public static boolean HasSignatures (long impl)

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

public static boolean InitSecurityHandler (long impl, Object custom_data)

public static boolean InitStdSecurityHandler (long impl, String password)

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

public static boolean IsEncrypted (long impl)

public static boolean IsLinearized (long impl)

public static boolean IsModified (long impl)

public static boolean IsTagged (long impl)

public static void Lock (long impl)

public static void LockRead (long impl)

public static long MemStreamCreateDoc (long mem_stream)

public static long MemStreamCreateMemFilt (long size)

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

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

public static long PDFDocCreate (String filepath)

public static long PDFDocCreate ()

public static long PDFDocCreate (byte[] buf)

public static long PDFDocCreateFilter (long stream)

public static long PageCreate (long impl, long media_box)

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

public static void PagePushBack (long impl, long page)

public static void PagePushFront (long impl, long page)

public static void PageRemove (long impl, long page_itr)

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

public static void RefreshFieldAppearances (long impl)

public static void RemovePageLabel (long impl, int page_num)

public static void RemoveSecurity (long impl)

public static SignatureHandler RemoveSignatureHandler (long impl, long id)

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

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

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

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

public static void SetOpenAction (long impl, long action)

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

public static void SetSecurityHandler (long impl, long handler)

public static boolean TryLock (long impl, int milliseconds)

public static boolean TryLockRead (long impl, int milliseconds)

public static void Unlock (long impl)

public static void UnlockRead (long impl)