iText 8.0.5 API
|
A representation of a cross-referenced table of a PDF document. More...
Public Member Functions |
|
PdfXrefTable () | |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document. More... |
|
PdfXrefTable (int capacity) | |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document. More... |
|
PdfXrefTable (MemoryLimitsAwareHandler memoryLimitsAwareHandler) | |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document. More... |
|
PdfXrefTable (int capacity, MemoryLimitsAwareHandler memoryLimitsAwareHandler) | |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document. More... |
|
virtual void | SetMemoryLimitsAwareHandler (MemoryLimitsAwareHandler memoryLimitsAwareHandler) |
Sets custom MemoryLimitsAwareHandler. More... |
|
virtual PdfIndirectReference | Add (PdfIndirectReference reference) |
Adds indirect reference to list of indirect objects. More... |
|
virtual int | Size () |
Get size of cross-reference table. More... |
|
virtual int | GetCountOfIndirectObjects () |
Calculates a number of stored references to indirect objects. More... |
|
virtual PdfIndirectReference | Get (int index) |
Get appropriate reference to indirect object. More... |
|
Package Functions |
|
virtual PdfIndirectReference | CreateNextIndirectReference (PdfDocument document) |
Creates next available indirect reference. More... |
|
virtual void | FreeReference (PdfIndirectReference reference) |
Set the reference to free state. More... |
|
virtual int | GetCapacity () |
Gets the capacity of xref stream. More... |
|
virtual void | SetCapacity (int capacity) |
Increase capacity of the array of indirect references. More... |
|
virtual void | WriteXrefTableAndTrailer (PdfDocument document, PdfObject fileId, PdfObject crypto) |
Writes cross reference table and trailer to PDF. More... |
|
Static Package Functions |
|
static void | WriteKeyInfo (PdfDocument document) |
Convenience method to write the fingerprint preceding the trailer. More... |
|
A representation of a cross-referenced table of a PDF document.
|
inline |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document.
Creates a PdfXrefTable which will be used to store xref structure of the pdf document. Capacity and MemoryLimitsAwareHandler instance would be set by default values.
|
inline |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document.
capacity | initial capacity of xref table. |
|
inline |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document.
memoryLimitsAwareHandler | custom MemoryLimitsAwareHandler to set. |
|
inline |
Creates a PdfXrefTable which will be used to store xref structure of the pdf document.
capacity | initial capacity of xref table. |
memoryLimitsAwareHandler | memoryLimitsAwareHandler custom MemoryLimitsAwareHandler to set. |
|
inlinevirtual |
Adds indirect reference to list of indirect objects.
reference | indirect reference to add. |
|
inlinepackagevirtual |
Creates next available indirect reference.
document | is the current document |
|
inlinepackagevirtual |
Set the reference to free state.
reference | is a reference to be updated. |
|
inlinevirtual |
Get appropriate reference to indirect object.
index | is the index of required object |
|
inlinepackagevirtual |
Gets the capacity of xref stream.
|
inlinevirtual |
Calculates a number of stored references to indirect objects.
|
inlinepackagevirtual |
Increase capacity of the array of indirect references.
capacity | is a new capacity to set |
|
inlinevirtual |
Sets custom MemoryLimitsAwareHandler.
memoryLimitsAwareHandler | instance to set. |
|
inlinevirtual |
Get size of cross-reference table.
|
inlinestaticpackage |
Convenience method to write the fingerprint preceding the trailer.
Convenience method to write the fingerprint preceding the trailer. The fingerprint contains information on iText products used in the generation or manipulation of an outputted PDF file.
document | pdfDocument to write the fingerprint to |
|
inlinepackagevirtual |
Writes cross reference table and trailer to PDF.
document | is the current document |
fileId | field id |
crypto | pdf encryption |