Uses of Class
org.apache.pdfbox.cos.COSObjectKey
Packages that use COSObjectKey
Package
Description
These are the low level objects that make up a PDF document.
The pdfparser package contains classes to parse PDF documents and objects within the document.
This is the persistence layer used to write the PDFBox documents to a stream.
-
Uses of COSObjectKey in org.apache.pdfbox.cos
Methods in org.apache.pdfbox.cos that return COSObjectKeyModifier and TypeMethodDescriptionCOSBase.getKey()This will return the COSObjectKey of an indirect object.Methods in org.apache.pdfbox.cos that return types with arguments of type COSObjectKeyModifier and TypeMethodDescriptionCOSDocument.getXrefTable()Returns the xrefTable which is a mapping of ObjectKeys to byte offsets in the file.protected Collection<COSObjectKey> COSArray.resetObjectKeys(Collection<COSObjectKey> indirectObjects) Resets the object key of all indirect objects numbers within this array and all included dictionaries and arrays.protected Collection<COSObjectKey> COSDictionary.resetObjectKeys(Collection<COSObjectKey> indirectObjects) Resets the object key of all indirect objects numbers within this dictionary and all included dictionaries and arrays.Methods in org.apache.pdfbox.cos with parameters of type COSObjectKeyModifier and TypeMethodDescriptionintCOSObjectKey.compareTo(COSObjectKey other) COSDocument.getObjectFromPool(COSObjectKey key) This will get an object from the pool.voidCOSBase.setKey(COSObjectKey key) Set the COSObjectKey of an indirect object.Method parameters in org.apache.pdfbox.cos with type arguments of type COSObjectKeyModifier and TypeMethodDescriptionvoidCOSDocument.addXRefTable(Map<COSObjectKey, Long> xrefTableValues) Populate XRef HashMap with given values.voidCOSArray.getIndirectObjectKeys(Collection<COSObjectKey> indirectObjects) Collects all indirect objects numbers within this COSArray and all included dictionaries.voidCOSArray.getIndirectObjectKeys(List<COSObjectKey> indirectObjects) Collects all indirect objects numbers within this COSArray and all included dictionaries.voidCOSDictionary.getIndirectObjectKeys(Collection<COSObjectKey> indirectObjects) Collects all indirect objects numbers within this dictionary and all included dictionaries.voidCOSDictionary.getIndirectObjectKeys(List<COSObjectKey> indirectObjects) Collects all indirect objects numbers within this dictionary and all included dictionaries.protected Collection<COSObjectKey> COSArray.resetObjectKeys(Collection<COSObjectKey> indirectObjects) Resets the object key of all indirect objects numbers within this array and all included dictionaries and arrays.protected Collection<COSObjectKey> COSDictionary.resetObjectKeys(Collection<COSObjectKey> indirectObjects) Resets the object key of all indirect objects numbers within this dictionary and all included dictionaries and arrays.Constructors in org.apache.pdfbox.cos with parameters of type COSObjectKeyModifierConstructorDescriptionCOSObject(COSBase object, COSObjectKey objectKey) Constructor.COSObject(COSObjectKey key, ICOSParser parser) Constructor. -
Uses of COSObjectKey in org.apache.pdfbox.pdfparser
Methods in org.apache.pdfbox.pdfparser that return COSObjectKeyModifier and TypeMethodDescriptionprotected COSObjectKeyBaseParser.getObjectKey(long num, int gen) Returns the object key for the given combination of object and generation number.Methods in org.apache.pdfbox.pdfparser that return types with arguments of type COSObjectKeyModifier and TypeMethodDescriptionprotected Map<COSObjectKey, Long> BruteForceParser.getBFCOSObjectOffsets()Returns all found objects of a brute force search.XrefTrailerResolver.getXrefTable()Gets the resolved xref table.PDFObjectStreamParser.parseAllObjects()Parse all compressed objects.Methods in org.apache.pdfbox.pdfparser with parameters of type COSObjectKeyModifier and TypeMethodDescriptionprotected COSBaseCOSParser.parseObjectDynamically(COSObjectKey objKey, boolean requireExistingNotCompressedObj) Parse the object for the given object key.protected COSBaseCOSParser.parseObjectStreamObject(long objstmObjNr, COSObjectKey key) Parse the object with the given key from the object stream with the given number.voidXrefTrailerResolver.setXRef(COSObjectKey objKey, long offset) Populate XRef HashMap of current XRef object. -
Uses of COSObjectKey in org.apache.pdfbox.pdfparser.xref
Methods in org.apache.pdfbox.pdfparser.xref that return COSObjectKeyModifier and TypeMethodDescriptionObjectStreamXReference.getParentKey()Returns theCOSObjectKeyof the object stream, that is containing the object.FreeXReference.getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.NormalXReference.getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.ObjectStreamXReference.getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.XReferenceEntry.getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.Constructors in org.apache.pdfbox.pdfparser.xref with parameters of type COSObjectKeyModifierConstructorDescriptionFreeXReference(COSObjectKey key, long nextFreeObject) Sets the givenCOSObjectKeyas a free reference in a PDF's crossreference stream (PDFXRefStream).NormalXReference(long byteOffset, COSObjectKey key, COSBase object) Prepares a normal reference for the givenCOSObjectin a PDF's crossreference stream (PDFXRefStream).ObjectStreamXReference(int objectStreamIndex, COSObjectKey key, COSBase object, COSObjectKey parentKey) Prepares a object stream entry reference for the givenCOSObjectin a PDF's crossreference stream (PDFXRefStream). -
Uses of COSObjectKey in org.apache.pdfbox.pdfwriter
Methods in org.apache.pdfbox.pdfwriter with parameters of type COSObjectKeyModifier and TypeMethodDescriptionvoidCOSWriter.doWriteObject(COSObjectKey key, COSBase obj) This will write a COS object for a predefined key. -
Uses of COSObjectKey in org.apache.pdfbox.pdfwriter.compress
Methods in org.apache.pdfbox.pdfwriter.compress that return COSObjectKeyModifier and TypeMethodDescriptionReturns theCOSObjectKeyfor a given registeredCOSBase.Returns theCOSObjectKey, that is registered for the givenCOSBasein this compression pool.COSObjectPool.put(COSObjectKey key, COSBase object) Update the key and object maps.Methods in org.apache.pdfbox.pdfwriter.compress that return types with arguments of type COSObjectKeyModifier and TypeMethodDescriptionCOSWriterCompressionPool.getObjectStreamObjects()Returns allCOSBases that can be appended to an object stream.COSWriterObjectStream.getPreparedKeys()Returns allCOSObjectKeys, that shall be added to the object stream, whenCOSWriterObjectStream.writeObjectsToStream(COSStream)is called.COSWriterCompressionPool.getTopLevelObjects()Returns allCOSBases, that must be added to the document's top level container.Methods in org.apache.pdfbox.pdfwriter.compress with parameters of type COSObjectKeyModifier and TypeMethodDescriptionbooleanCOSObjectPool.contains(COSObjectKey key) Returns true, if aCOSBaseis registered for the givenCOSObjectKey.COSObjectPool.getObject(COSObjectKey key) Returns theCOSBase, that is registered for the givenCOSObjectKey, or null if no object is registered for that key.COSWriterCompressionPool.getObject(COSObjectKey key) Returns theCOSBase, that is registered for the givenCOSObjectKeyin this compression pool.voidCOSWriterObjectStream.prepareStreamObject(COSObjectKey key, COSBase object) Prepares the givenCOSObjectto be written to this object stream, using the givenCOSObjectKeyas it's ID for indirect references.COSObjectPool.put(COSObjectKey key, COSBase object) Update the key and object maps.