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

# SDFCompat.SDFDoc

extends Object

java.lang.Object
↳ | com.pdftron.sdf.SDFCompat.SDFDoc

## Summary

Public Methods
static void | ClearMarks(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[] value)
static long | CreateIndirectString(long impl, String str)
static void | Destroy(long impl)
static void | EnableDiskCaching(long impl, boolean use_cache)
static String | GetFileName(long impl)
static String | GetHeader(long impl)
static long | GetHintStream(long impl)
static long | GetLinearizationDict(long impl)
static long | GetObj(long impl, long obj_num)
static long | GetSecurityHandler(long impl)
static long | GetTrailer(long impl)
static long | ImportObj(long impl, long obj, boolean deep_copy)
static long[] | ImportObjs(long impl, long[] obj_list)
static boolean | InitSecurityHandler(long impl, Object custom_data)
static boolean | InitStdSecurityHandler(long impl, String password)
static boolean | IsEncrypted(long impl)
static boolean | IsFullSaveRequired(long impl)
static boolean | IsLinearized(long impl)
static boolean | IsModified(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 | ReadData(byte[] buf, int size, long buf_ptr)
static void | RemoveSecurity(long impl)
static long | SDFDocCreate(byte[] buf)
static long | SDFDocCreate()
static long | SDFDocCreate(String filepath)
static long | SDFDocCreate(long stream)
static byte[] | Save(long impl, long flags, Object progress, String header)
static void | Save(long impl, String path, long flags, Object progress, String header)
static long[] | SaveStream(long impl, long flags, Object progress, String header)
static void | SetSecurityHandler(long impl, long handler)
static void | Swap(long impl, long obj_num1, long obj_num2)
static boolean | TryLock(long impl, int milliseconds)
static boolean | TryLockRead(long impl, int milliseconds)
static void | Unlock(long impl)
static void | UnlockRead(long impl)
static long | XRefSize(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 ClearMarks (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[] value)

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

#### public static void EnableDiskCaching (long impl, boolean use_cache)

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

#### public static long GetHintStream (long impl)

##### Throws

PDFNetException |

#### public static long GetLinearizationDict (long impl)

##### Throws

PDFNetException |

#### public static long GetObj (long impl, long obj_num)

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

#### public static long ImportObj (long impl, long obj, boolean deep_copy)

##### Throws

PDFNetException |

#### public static long[] ImportObjs (long impl, long[] obj_list)

##### 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 boolean IsEncrypted (long impl)

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

#### public static boolean IsModified (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 ReadData (byte[] buf, int size, long buf_ptr)

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

#### public static long SDFDocCreate ()

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

#### public static long SDFDocCreate (long stream)

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

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

##### Throws

PDFNetException |

#### public static void Swap (long impl, long obj_num1, long obj_num2)

##### 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 |

#### public static long XRefSize (long impl)

##### Throws

PDFNetException |