Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents

The cross-reference table contains information that permits random access to indirect objects within the file. More...

Inheritance diagram for XrefHandle:
IUnknownHandle
error_type CALLING_CONVENTION Xref_Create (XrefHandle **result)
 Creates a new instance.
 
error_type CALLING_CONVENTION Xref_Insert (XrefHandle *handle, XrefEntryHandle *entry)
 Insert new entry into the collection.
 
error_type CALLING_CONVENTION Xref_Contains (XrefHandle *handle, biguint_type object_number, boolean_type *result)
 Determine if collection contains object_number.
 
error_type CALLING_CONVENTION Xref_Find (XrefHandle *handle, biguint_type object_number, XrefEntryHandle **result)
 Find mapped value for key object_number.
 
error_type CALLING_CONVENTION Xref_Remove (XrefHandle *handle, biguint_type object_number, boolean_type *result)
 Remove entry with key object_number from the collection.
 
error_type CALLING_CONVENTION Xref_Clear (XrefHandle *handle)
 Remove all items from the collection.
 
error_type CALLING_CONVENTION Xref_GetTrailerDictionary (XrefHandle *handle, DictionaryObjectHandle **result)
 Get cross-reference table meta-data dictionary.
 
error_type CALLING_CONVENTION Xref_GetLastXrefOffset (XrefHandle *handle, offset_type *result)
 Get byte offset in the decoded stream from the beginning of the file to the beginning of the xref keyword in the last cross-reference section.
 
error_type CALLING_CONVENTION Xref_GetIterator (XrefHandle *handle, XrefIteratorHandle **result)
 Get cross-reference entry iterator.
 
error_type CALLING_CONVENTION Xref_ToUnknown (XrefHandle *handle, IUnknownHandle **result)
 Reinterpret current object as IUnknownHandle.
 
error_type CALLING_CONVENTION Xref_FromUnknown (IUnknownHandle *handle, XrefHandle **result)
 Convert IUnknownHandle to XrefHandle.
 
error_type CALLING_CONVENTION Xref_Release (XrefHandle *handle)
 Decrement the internal reference counter.
 

Additional Inherited Members

- Public Member Functions inherited from IUnknownHandle
error_type CALLING_CONVENTION IUnknown_AddRef (IUnknownHandle *handle)
 Increment the internal reference counter.
 

Detailed Description

The cross-reference table contains information that permits random access to indirect objects within the file.

Examples
extract.c.

Friends And Related Symbol Documentation

◆ Xref_GetTrailerDictionary()

error_type CALLING_CONVENTION Xref_GetTrailerDictionary ( XrefHandle * handle,
DictionaryObjectHandle ** result )
related

Get cross-reference table meta-data dictionary.

For cross-reference tables it is the trailer dictionary after all entries. For cross-reference streams it is the streams dictionary.

◆ Xref_Release()

error_type CALLING_CONVENTION Xref_Release ( XrefHandle * handle)
related

Decrement the internal reference counter.

When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.

See also
IUnknown_Release

The documentation for this class was generated from the following file: