Uses of Class
com.itextpdf.kernel.pdf.PdfIndirectReference
-
-
Uses of PdfIndirectReference in com.itextpdf.forms.xfdf
Fields in com.itextpdf.forms.xfdf declared as PdfIndirectReference Modifier and Type Field Description private PdfIndirectReference
AnnotObject. ref
The reference to the sourcePdfAnnotation
.Methods in com.itextpdf.forms.xfdf that return PdfIndirectReference Modifier and Type Method Description PdfIndirectReference
AnnotObject. getRef()
Gets the reference to the sourcePdfAnnotation
.Methods in com.itextpdf.forms.xfdf with parameters of type PdfIndirectReference Modifier and Type Method Description AnnotObject
AnnotObject. setRef(PdfIndirectReference ref)
Sets the reference to the sourcePdfAnnotation
. -
Uses of PdfIndirectReference in com.itextpdf.kernel.pdf
Fields in com.itextpdf.kernel.pdf declared as PdfIndirectReference Modifier and Type Field Description private PdfIndirectReference
PdfReader. currentIndirectReference
protected PdfIndirectReference
PdfObject. indirectReference
If object is flushed the indirect reference is kept here.private PdfIndirectReference[]
PdfXrefTable. xref
Fields in com.itextpdf.kernel.pdf with type parameters of type PdfIndirectReference Modifier and Type Field Description private java.util.Map<PdfIndirectReference,PdfIndirectReference>
PdfWriter. copiedObjects
Is used to avoid duplications on object copying.private java.util.Map<PdfIndirectReference,PdfIndirectReference>
PdfWriter. copiedObjects
Is used to avoid duplications on object copying.private java.util.Map<PdfIndirectReference,PdfFont>
PdfDocument. documentFonts
private java.util.TreeMap<java.lang.Integer,PdfIndirectReference>
PdfXrefTable. freeReferencesLinkedList
Free references linked list is stored in a form of a map, where: key - free reference obj number; value - previous item in the linked list of free references for the object denoted by the key.private java.util.Set<PdfIndirectReference>
PageFlushingHelper. layersRefs
private java.util.Set<PdfIndirectReference>
DocumentRevision. modifiedObjects
private ISimpleList<PdfIndirectReference>
PdfPagesTree. pageRefs
private java.util.HashMap<SerializedObjectContent,PdfIndirectReference>
SmartModePdfObjectsSerializer. serializedContentToObj
(package private) java.util.Map<PdfIndirectReference,byte[]>
PdfDocument. serializedObjectsCache
Cache of already serialized objects from this document for smart mode.Methods in com.itextpdf.kernel.pdf that return PdfIndirectReference Modifier and Type Method Description PdfIndirectReference
PdfXrefTable. add(PdfIndirectReference reference)
Adds indirect reference to list of indirect objects.(package private) PdfIndirectReference
PdfXrefTable. createNewIndirectReference(PdfDocument document)
Method is used for object streams to avoid reuse existed references.PdfIndirectReference
PdfDocument. createNextIndirectReference()
Creates next available indirect reference.protected PdfIndirectReference
PdfXrefTable. createNextIndirectReference(PdfDocument document)
Creates next available indirect reference.PdfIndirectReference
PdfXrefTable. get(int index)
Get appropriate reference to indirect object.PdfIndirectReference
PdfObject. getIndirectReference()
Gets the indirect reference associated with the object.PdfIndirectReference
SmartModePdfObjectsSerializer. getSavedSerializedObject(SerializedObjectContent serializedContent)
private PdfIndirectReference
PdfXrefTable. removeFreeRefFromList(int freeRefObjNr)
Removes indirect reference from free references linked list.Methods in com.itextpdf.kernel.pdf that return types with arguments of type PdfIndirectReference Modifier and Type Method Description private static java.util.Set<PdfIndirectReference>
OcgPropertiesCopier. getAllUsedNonFlushedOCGs(java.util.Map<PdfPage,PdfPage> page2page, PdfDictionary toOcProperties)
java.util.Set<PdfIndirectReference>
DocumentRevision. getModifiedObjects()
Gets objects which were modified in this document revision.(package private) static java.util.Set<PdfIndirectReference>
OcgPropertiesCopier. getOCGsFromPage(PdfPage page)
Get all OCGs from a given page annotations/xobjects/resources, including ones already stored in catalogjava.util.List<PdfIndirectReference>
PdfDocument. listIndirectReferences()
Gets static copy of cross reference table.Methods in com.itextpdf.kernel.pdf with parameters of type PdfIndirectReference Modifier and Type Method Description PdfIndirectReference
PdfXrefTable. add(PdfIndirectReference reference)
Adds indirect reference to list of indirect objects.private void
PdfXrefTable. appendNewRefToFreeList(PdfIndirectReference reference)
private int
PdfIndirectReference. comparePdfDocumentLinks(PdfIndirectReference toCompare)
int
PdfIndirectReference. compareTo(PdfIndirectReference o)
protected void
PdfXrefTable. freeReference(PdfIndirectReference reference)
Set the reference to free state.(package private) boolean
PdfDocument. isDocumentFont(PdfIndirectReference indRef)
PdfObject
PdfObject. makeIndirect(PdfDocument document, PdfIndirectReference reference)
Marks object to be saved as indirect.PdfObjectWrapper<T>
PdfObjectWrapper. makeIndirect(PdfDocument document, PdfIndirectReference reference)
Marks object behind wrapper to be saved as indirect.PdfObject
PdfPrimitiveObject. makeIndirect(PdfDocument document, PdfIndirectReference reference)
private static boolean
OcgPropertiesCopier. ocgAlreadyInOCGs(PdfIndirectReference toOcgRef, PdfDictionary toOcProperties)
protected PdfObject
PdfReader. readObject(PdfIndirectReference reference)
private PdfObject
PdfReader. readObject(PdfIndirectReference reference, boolean fixXref)
void
SmartModePdfObjectsSerializer. saveSerializedObject(SerializedObjectContent serializedContent, PdfIndirectReference objectReference)
protected PdfObject
PdfObject. setIndirectReference(PdfIndirectReference indirectReference)
PdfObject
PdfPrimitiveObject. setIndirectReference(PdfIndirectReference indirectReference)
private void
PdfOutputStream. write(PdfIndirectReference indirectReference)
Method parameters in com.itextpdf.kernel.pdf with type arguments of type PdfIndirectReference Modifier and Type Method Description private static void
OcgPropertiesCopier. attemptToAddObjectToArray(java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfObject fromObj, PdfArray toArray, PdfDocument toDocument)
private static void
OcgPropertiesCopier. copyDArrayField(PdfName fieldToCopy, java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary fromDict, PdfDictionary toDict, PdfDocument toDocument)
private static void
OcgPropertiesCopier. copyDDictionary(java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary fromDDict, PdfDictionary toOcProperties, PdfDocument toDocument)
private static void
OcgPropertiesCopier. copyOCGs(java.util.Set<PdfIndirectReference> fromOcgsToCopy, PdfDictionary toOcProperties, PdfDocument toDocument)
protected void
PdfWriter. flushModifiedWaitingObjects(java.util.Set<PdfIndirectReference> forbiddenToFlush)
Flushes all modified objects which have not been flushed yet.protected void
PdfWriter. flushWaitingObjects(java.util.Set<PdfIndirectReference> forbiddenToFlush)
Flushes all objects which have not been flushed yet.private static void
OcgPropertiesCopier. getUsedNonFlushedOCGsFromAnnotation(PdfAnnotation toAnnot, PdfAnnotation fromAnnot, java.util.Set<PdfIndirectReference> fromUsedOcgs, PdfDictionary toOcProperties)
private static void
OcgPropertiesCopier. getUsedNonFlushedOCGsFromOcDict(PdfObject toObj, PdfObject fromObj, java.util.Set<PdfIndirectReference> fromUsedOcgs, PdfDictionary toOcProperties)
private static void
OcgPropertiesCopier. getUsedNonFlushedOCGsFromResources(PdfDictionary toResources, PdfDictionary fromResources, java.util.Set<PdfIndirectReference> fromUsedOcgs, PdfDictionary toOcProperties, java.util.Set<PdfObject> visitedObjects)
private static void
OcgPropertiesCopier. getUsedNonFlushedOCGsFromXObject(PdfDictionary toXObject, PdfDictionary fromXObject, java.util.Set<PdfIndirectReference> fromUsedOcgs, PdfDictionary toOcProperties, java.util.Set<PdfObject> visitedObjects)
private void
PdfPagesTree. loadPage(int pageNum, java.util.Set<PdfIndirectReference> processedParents)
Load page from pages tree node structureprivate static boolean
OcgPropertiesCopier. orderBranchContainsSetElements(PdfObject arrayObj, PdfArray array, int currentIndex, java.util.Set<PdfIndirectReference> ocgs, PdfArray toOcgs, PdfDocument toDocument)
private void
SmartModePdfObjectsSerializer. serArray(PdfArray array, ByteBuffer bb, int level, java.util.Map<PdfIndirectReference,byte[]> serializedCache)
private void
SmartModePdfObjectsSerializer. serDic(PdfDictionary dic, ByteBuffer bb, int level, java.util.Map<PdfIndirectReference,byte[]> serializedCache)
private void
SmartModePdfObjectsSerializer. serObject(PdfObject obj, ByteBuffer bb, int level, java.util.Map<PdfIndirectReference,byte[]> serializedCache)
Constructor parameters in com.itextpdf.kernel.pdf with type arguments of type PdfIndirectReference Constructor Description DocumentRevision(long eofOffset, java.util.Set<PdfIndirectReference> modifiedObjects)
CreatesDocumentRevision
from end-of-file byte position and a set of indirect references which were modified in this document revision. -
Uses of PdfIndirectReference in com.itextpdf.kernel.pdf.layer
Fields in com.itextpdf.kernel.pdf.layer with type parameters of type PdfIndirectReference Modifier and Type Field Description private java.util.Set<PdfIndirectReference>
PdfOCProperties. references
Methods in com.itextpdf.kernel.pdf.layer that return PdfIndirectReference Modifier and Type Method Description PdfIndirectReference
IPdfOCG. getIndirectReference()
Gets thePdfIndirectReference
that represents this layer.PdfIndirectReference
PdfLayer. getIndirectReference()
Gets the indirect reference to the current layer object.PdfIndirectReference
PdfLayerMembership. getIndirectReference()
Method parameters in com.itextpdf.kernel.pdf.layer with type arguments of type PdfIndirectReference Modifier and Type Method Description private void
PdfOCProperties. readOrderFromDictionary(PdfLayer parent, PdfArray orderArray, java.util.Map<PdfIndirectReference,PdfLayer> layerMap)
Reads the /Order in the /D entry and initialized the parent-child hierarchy. -
Uses of PdfIndirectReference in com.itextpdf.kernel.pdf.tagging
Fields in com.itextpdf.kernel.pdf.tagging with type parameters of type PdfIndirectReference Modifier and Type Field Description (package private) java.util.Map<PdfIndirectReference,java.util.TreeMap<java.lang.Integer,PdfMcr>>
ParentTreeHandler.PageMcrsContainer. pageResourceXObjects
private java.util.Map<PdfIndirectReference,ParentTreeHandler.PageMcrsContainer>
ParentTreeHandler. pageToPageMcrs
private java.util.Map<PdfIndirectReference,java.lang.Integer>
ParentTreeHandler. pageToStructParentsInd
private java.util.Map<PdfIndirectReference,java.lang.Integer>
ParentTreeHandler. xObjectToStructParentsInd
Methods in com.itextpdf.kernel.pdf.tagging that return PdfIndirectReference Modifier and Type Method Description PdfIndirectReference
PdfMcr. getPageIndirectReference()
Methods in com.itextpdf.kernel.pdf.tagging that return types with arguments of type PdfIndirectReference Modifier and Type Method Description (package private) java.util.Map<PdfIndirectReference,java.util.TreeMap<java.lang.Integer,PdfMcr>>
ParentTreeHandler.PageMcrsContainer. getPageResourceXObjects()
Methods in com.itextpdf.kernel.pdf.tagging with parameters of type PdfIndirectReference Modifier and Type Method Description (package private) void
ParentTreeHandler.PageMcrsContainer. putXObjectMcr(PdfIndirectReference xObjectIndRef, PdfMcr mcr)
-
Uses of PdfIndirectReference in com.itextpdf.kernel.utils
Fields in com.itextpdf.kernel.utils with type parameters of type PdfIndirectReference Modifier and Type Field Description private java.util.List<PdfIndirectReference>
CompareTool. cmpPagesRef
private java.util.List<PdfIndirectReference>
CompareTool. outPagesRef
-
Uses of PdfIndirectReference in com.itextpdf.kernel.utils.objectpathitems
Fields in com.itextpdf.kernel.utils.objectpathitems declared as PdfIndirectReference Modifier and Type Field Description private PdfIndirectReference
ObjectPath. baseCmpObject
private PdfIndirectReference
ObjectPath. baseOutObject
private PdfIndirectReference
IndirectPathItem. cmpObject
private PdfIndirectReference
IndirectPathItem. outObject
Methods in com.itextpdf.kernel.utils.objectpathitems that return PdfIndirectReference Modifier and Type Method Description PdfIndirectReference
ObjectPath. getBaseCmpObject()
Method returns current basePdfIndirectReference
object in the cmp document.PdfIndirectReference
ObjectPath. getBaseOutObject()
Method returns current basePdfIndirectReference
object in the out document.PdfIndirectReference
IndirectPathItem. getCmpObject()
Method returns aIndirectPathItem
object from the cmp object that was met to get to the path base objects during comparing process.PdfIndirectReference
IndirectPathItem. getOutObject()
Method returns aIndirectPathItem
object that was met to get to the path base objects during comparing process.Methods in com.itextpdf.kernel.utils.objectpathitems with parameters of type PdfIndirectReference Modifier and Type Method Description boolean
ObjectPath. isComparing(PdfIndirectReference cmpObject, PdfIndirectReference outObject)
This method is used to define if given objects were already met in the path to the current base objects.ObjectPath
ObjectPath. resetDirectPath(PdfIndirectReference baseCmpObject, PdfIndirectReference baseOutObject)
Creates a new ObjectPath instance with two new given base objects, which are supposed to be nested in the base objects of the current instance of the ObjectPath.Constructors in com.itextpdf.kernel.utils.objectpathitems with parameters of type PdfIndirectReference Constructor Description IndirectPathItem(PdfIndirectReference cmpObject, PdfIndirectReference outObject)
CreatesIndirectPathItem
instance for two corresponding objects from two comparing documents.ObjectPath(PdfIndirectReference baseCmpObject, PdfIndirectReference baseOutObject)
Creates CompareObjectPath with corresponding base objects in two documents.ObjectPath(PdfIndirectReference baseCmpObject, PdfIndirectReference baseOutObject, java.util.Stack<LocalPathItem> path, java.util.Stack<IndirectPathItem> indirects)
Creates CompareObjectPath with corresponding base objects in two documents. -
Uses of PdfIndirectReference in com.itextpdf.signatures.mac
Fields in com.itextpdf.signatures.mac declared as PdfIndirectReference Modifier and Type Field Description private PdfIndirectReference
SignatureDocumentClosingEvent. signatureReference
Methods in com.itextpdf.signatures.mac that return PdfIndirectReference Modifier and Type Method Description PdfIndirectReference
SignatureDocumentClosingEvent. getSignatureReference()
GetsPdfIndirectReference
to the signature object.Constructors in com.itextpdf.signatures.mac with parameters of type PdfIndirectReference Constructor Description SignatureDocumentClosingEvent(PdfIndirectReference signatureReference)
Creates an event firing before embedding the signature into the document. -
Uses of PdfIndirectReference in com.itextpdf.signatures.validation
Fields in com.itextpdf.signatures.validation with type parameters of type PdfIndirectReference Modifier and Type Field Description private Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>>
DocumentRevisionsValidator. usuallyModifiedObjects
private Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>>
DocumentRevisionsValidator. usuallyModifiedObjects
Methods in com.itextpdf.signatures.validation that return types with arguments of type PdfIndirectReference Modifier and Type Method Description private java.util.Set<PdfIndirectReference>
DocumentRevisionsValidator. createAllowedDssEntries(PdfDocument document)
private java.util.Collection<PdfIndirectReference>
DocumentRevisionsValidator. createAllowedPagesEntries(PdfDictionary pagesDictionary)
private java.util.Set<PdfIndirectReference>
DocumentRevisionsValidator. createAllowedReferences(PdfDocument document)
private java.util.Set<PdfIndirectReference>
DocumentRevisionsValidator. createAllowedStructTreeRootEntries(PdfDictionary structTreeRoot)
private java.util.Set<PdfIndirectReference>
DocumentRevisionsValidator. createUsuallyModifiedObjectsSet(PdfDocument document)
Methods in com.itextpdf.signatures.validation with parameters of type PdfIndirectReference Modifier and Type Method Description private boolean
DocumentRevisionsValidator. checkAllowedReferences(java.util.Set<PdfIndirectReference> currentAllowedReferences, java.util.Set<PdfIndirectReference> previousAllowedReferences, PdfIndirectReference indirectReference, PdfDocument documentWithoutRevision)
private boolean
DocumentRevisionsValidator. isAllowedStreamObj(PdfIndirectReference indirectReference, PdfDocument document)
private static boolean
DocumentRevisionsValidator. isMaxGenerationObject(PdfIndirectReference indirectReference)
private static boolean
DocumentRevisionsValidator. isSameReference(PdfIndirectReference indirectReference1, PdfIndirectReference indirectReference2)
Method parameters in com.itextpdf.signatures.validation with type arguments of type PdfIndirectReference Modifier and Type Method Description private void
DocumentRevisionsValidator. addAllNestedArrayEntries(java.util.Set<PdfIndirectReference> allowedReferences, PdfArray pdfArray)
private void
DocumentRevisionsValidator. addAllNestedDictionaryEntries(java.util.Set<PdfIndirectReference> allowedReferences, PdfDictionary dictionary)
private void
DocumentRevisionsValidator. addPageEntriesToSet(PdfDictionary page, java.util.Set<PdfIndirectReference> set)
private void
DocumentRevisionsValidator. addStructTreeElementsToSet(PdfArray structTreeRootKids, java.util.Set<PdfIndirectReference> set)
private void
DocumentRevisionsValidator. addStructTreeElementsToSet(PdfObject structTreeRootKids, java.util.Set<PdfIndirectReference> set)
private void
DocumentRevisionsValidator. addWidgetAnnotation(java.util.Set<PdfIndirectReference> allowedReferences, PdfDictionary annotDict)
private boolean
DocumentRevisionsValidator. checkAllowedReferences(java.util.Set<PdfIndirectReference> currentAllowedReferences, java.util.Set<PdfIndirectReference> previousAllowedReferences, PdfIndirectReference indirectReference, PdfDocument documentWithoutRevision)
private static boolean
DocumentRevisionsValidator. comparePdfArrays(PdfArray array1, PdfArray array2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfArrays(PdfArray array1, PdfArray array2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfDictionaries(PdfDictionary dictionary1, PdfDictionary dictionary2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfDictionaries(PdfDictionary dictionary1, PdfDictionary dictionary2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfObjects(PdfObject pdfObject1, PdfObject pdfObject2, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfObjects(PdfObject pdfObject1, PdfObject pdfObject2, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfObjects(PdfObject pdfObject1, PdfObject pdfObject2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfObjects(PdfObject pdfObject1, PdfObject pdfObject2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfStreams(PdfStream stream1, PdfStream stream2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private static boolean
DocumentRevisionsValidator. comparePdfStreams(PdfStream stream1, PdfStream stream2, java.util.List<Pair<PdfObject,PdfObject>> visitedObjects, Pair<java.util.Set<PdfIndirectReference>,java.util.Set<PdfIndirectReference>> usuallyModifiedObjects)
private void
DocumentRevisionsValidator. createAllowedFormFieldEntries(PdfArray fields, java.util.Set<PdfIndirectReference> allowedReferences)
private void
DocumentRevisionsValidator. createAllowedStructTreeRootKidsEntries(PdfArray structTreeRootKids, java.util.Set<PdfIndirectReference> allowedReferences)
private void
DocumentRevisionsValidator. createAllowedStructTreeRootKidsEntries(PdfObject structTreeRootKids, java.util.Set<PdfIndirectReference> allowedReferences)
private void
DocumentRevisionsValidator. createAllowedTreeEntries(PdfObject treeNode, java.util.Set<PdfIndirectReference> allowedReferences, PdfName contentName)
-