Vanilla.PDF
1.3.0
Cross-platform toolkit for creating and modifying PDF documents
|
Represents low-level file access handle. More...
error_type | File_Open (string_type filename, FileHandle **result) |
Opens a file for reading. More... | |
error_type | File_Create (string_type filename, FileHandle **result) |
Creates a file for writing. More... | |
error_type | File_Initialize (FileHandle *handle) |
Perform basic intialization. More... | |
error_type | File_IsEncrypted (FileHandle *handle, boolean_type *result) |
Determine if file is encrypted. More... | |
error_type | File_SetEncryptionPassword (FileHandle *handle, string_type password) |
Set encryption password. | |
error_type | File_SetEncryptionKey (FileHandle *handle, EncryptionKeyHandle *key) |
Set files encryption key. More... | |
error_type | File_XrefChain (FileHandle *handle, XrefChainHandle **result) |
Get chain of xref tables for iteration. | |
error_type | File_GetIndirectObject (FileHandle *handle, biguint_type obj_number, ushort_type gen_number, ObjectHandle **result) |
Find exact object within all xref tables. | |
error_type | File_Release (FileHandle *handle) |
Decrement the internal reference counter. More... | |
Additional Inherited Members | |
Public Member Functions inherited from IUnknownHandle | |
error_type | IUnknown_AddRef (IUnknownHandle *handle) |
Increment the internal reference counter. | |
Related Functions inherited from IUnknownHandle | |
error_type | IUnknown_Release (IUnknownHandle *handle) |
Decrement the internal reference counter. More... | |
Represents low-level file access handle.
The file is basically composed of:
When the file has been incrementally updated, there may be multiple cross-reference sections.
For more details please visit section 7.5 - File Structure and section 7.5.6 - Incremental Updates.
error_type File_Open | ( | string_type | filename, |
FileHandle ** | result | ||
) |
|
related |
Creates a file for writing.
Truncates the contents if it already exists.
|
related |
Perform basic intialization.
Read xref tables, determine if file is encrypted.
|
related |
Determine if file is encrypted.
If the file was not initialized returns false.
|
related |
Set files encryption key.
This is most often certificate.
|
related |
Decrement the internal reference counter.
When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.