Uses of Class
org.apache.pdfbox.cos.COSObjectKey
-
Packages that use COSObjectKey Package Description org.apache.pdfbox.cos These are the low level objects that make up a PDF document.org.apache.pdfbox.debugger.ui org.apache.pdfbox.pdfparser The pdfparser package contains classes to parse PDF documents and objects within the document.org.apache.pdfbox.pdfparser.xref org.apache.pdfbox.pdfwriter This is the persistence layer used to write the PDFBox documents to a stream.org.apache.pdfbox.pdfwriter.compress org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.preflight.action org.apache.pdfbox.preflight.parser org.apache.pdfbox.preflight.process -
-
Uses of COSObjectKey in org.apache.pdfbox.cos
Fields in org.apache.pdfbox.cos declared as COSObjectKey Modifier and Type Field Description private COSObjectKeyCOSBase. keyFields in org.apache.pdfbox.cos with type parameters of type COSObjectKey Modifier and Type Field Description private java.util.Map<COSObjectKey,COSObject>COSDocument. objectPoolMaps ObjectKeys to a COSObject.private java.util.Map<COSObjectKey,java.lang.Long>COSDocument. xrefTableMaps object and generation id to object byte offsets.Methods in org.apache.pdfbox.cos that return COSObjectKey Modifier and Type Method Description COSObjectKeyCOSBase. getKey()This will return the COSObjectKey of an indirect object.Methods in org.apache.pdfbox.cos that return types with arguments of type COSObjectKey Modifier and Type Method Description java.util.Map<COSObjectKey,java.lang.Long>COSDocument. getXrefTable()Returns the xrefTable which is a mapping of ObjectKeys to byte offsets in the file.Methods in org.apache.pdfbox.cos with parameters of type COSObjectKey Modifier and Type Method Description intCOSObjectKey. compareTo(COSObjectKey other)COSObjectCOSDocument. 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 COSObjectKey Modifier and Type Method Description voidCOSDocument. addXRefTable(java.util.Map<COSObjectKey,java.lang.Long> xrefTableValues)Populate XRef HashMap with given values.voidCOSArray. getIndirectObjectKeys(java.util.Collection<COSObjectKey> indirectObjects)Collects all indirect objects numbers within this COSArray and all included dictionaries.voidCOSArray. getIndirectObjectKeys(java.util.List<COSObjectKey> indirectObjects)Collects all indirect objects numbers within this COSArray and all included dictionaries.voidCOSDictionary. getIndirectObjectKeys(java.util.Collection<COSObjectKey> indirectObjects)Collects all indirect objects numbers within this dictionary and all included dictionaries.voidCOSDictionary. getIndirectObjectKeys(java.util.List<COSObjectKey> indirectObjects)Collects all indirect objects numbers within this dictionary and all included dictionaries.private java.util.List<COSObject>COSDocument. getObjectsByType(java.util.List<COSObjectKey> keys, COSName type1, COSName type2)Constructors in org.apache.pdfbox.cos with parameters of type COSObjectKey Constructor Description COSObject(COSBase object, COSObjectKey objectKey)Constructor.COSObject(COSObjectKey key, ICOSParser parser)Constructor. -
Uses of COSObjectKey in org.apache.pdfbox.debugger.ui
Fields in org.apache.pdfbox.debugger.ui declared as COSObjectKey Modifier and Type Field Description private COSObjectKeyXrefEntry. keyFields in org.apache.pdfbox.debugger.ui with type parameters of type COSObjectKey Modifier and Type Field Description private java.util.List<java.util.Map.Entry<COSObjectKey,java.lang.Long>>XrefEntries. entriesMethods in org.apache.pdfbox.debugger.ui that return COSObjectKey Modifier and Type Method Description COSObjectKeyXrefEntry. getKey()Constructors in org.apache.pdfbox.debugger.ui with parameters of type COSObjectKey Constructor Description XrefEntry(int index, COSObjectKey key, long offset, COSObject cosObject) -
Uses of COSObjectKey in org.apache.pdfbox.pdfparser
Fields in org.apache.pdfbox.pdfparser with type parameters of type COSObjectKey Modifier and Type Field Description private java.util.Map<COSObjectKey,java.lang.Long>BruteForceParser. bfSearchCOSObjectKeyOffsetsContains all found objects of a brute force search.private java.util.Map<java.lang.Long,java.util.Map<COSObjectKey,COSBase>>COSParser. decompressedObjectsIntermediate cache.private java.util.Map<java.lang.Long,COSObjectKey>BaseParser. keyCacheprivate java.util.Map<COSObjectKey,java.lang.Long>XrefTrailerResolver.XrefTrailerObj. xrefTableMethods in org.apache.pdfbox.pdfparser that return COSObjectKey Modifier and Type Method Description private COSObjectKeyCOSParser. findObjectKey(COSObjectKey objectKey, long offset, java.util.Map<COSObjectKey,java.lang.Long> xrefOffset)Check if the given object can be found at the given offset.protected 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 COSObjectKey Modifier and Type Method Description private java.util.Map<java.lang.Long,COSObjectKey>BruteForceParser. bfSearchForObjStreamOffsets()Search for all offsets of object streams within the given pdfprotected java.util.Map<COSObjectKey,java.lang.Long>BruteForceParser. getBFCOSObjectOffsets()Returns all found objects of a brute force search.java.util.Map<COSObjectKey,java.lang.Long>XrefTrailerResolver. getXrefTable()Gets the resolved xref table.java.util.Map<COSObjectKey,COSBase>PDFObjectStreamParser. parseAllObjects()Parse all compressed objects.Methods in org.apache.pdfbox.pdfparser with parameters of type COSObjectKey Modifier and Type Method Description private COSObjectKeyCOSParser. findObjectKey(COSObjectKey objectKey, long offset, java.util.Map<COSObjectKey,java.lang.Long> xrefOffset)Check if the given object can be found at the given offset.private COSBaseBaseParser. getObjectFromPool(COSObjectKey key)private java.lang.LongCOSParser. getObjectOffset(COSObjectKey objKey, boolean requireExistingNotCompressedObj)private COSBaseCOSParser. parseFileObject(java.lang.Long objOffset, COSObjectKey objKey)protected 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.Method parameters in org.apache.pdfbox.pdfparser with type arguments of type COSObjectKey Modifier and Type Method Description private COSObjectKeyCOSParser. findObjectKey(COSObjectKey objectKey, long offset, java.util.Map<COSObjectKey,java.lang.Long> xrefOffset)Check if the given object can be found at the given offset.private booleanCOSParser. validateXrefOffsets(java.util.Map<COSObjectKey,java.lang.Long> xrefOffset) -
Uses of COSObjectKey in org.apache.pdfbox.pdfparser.xref
Fields in org.apache.pdfbox.pdfparser.xref declared as COSObjectKey Modifier and Type Field Description private COSObjectKeyFreeXReference. keyprivate COSObjectKeyNormalXReference. keyprivate COSObjectKeyObjectStreamXReference. keyprivate COSObjectKeyObjectStreamXReference. parentKeyMethods in org.apache.pdfbox.pdfparser.xref that return COSObjectKey Modifier and Type Method Description COSObjectKeyObjectStreamXReference. getParentKey()Returns theCOSObjectKeyof the object stream, that is containing the object.COSObjectKeyFreeXReference. getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.COSObjectKeyNormalXReference. getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.COSObjectKeyObjectStreamXReference. getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.COSObjectKeyXReferenceEntry. getReferencedKey()Returns theCOSObjectKeyof the object, that is described by this crossreference stream entry.Constructors in org.apache.pdfbox.pdfparser.xref with parameters of type COSObjectKey Constructor Description FreeXReference(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
Fields in org.apache.pdfbox.pdfwriter declared as COSObjectKey Modifier and Type Field Description private COSObjectKeyCOSWriter. currentObjectKeyFields in org.apache.pdfbox.pdfwriter with type parameters of type COSObjectKey Modifier and Type Field Description private java.util.Map<COSObjectKey,COSBase>COSWriter. keyObjectprivate java.util.Map<COSBase,COSObjectKey>COSWriter. objectKeysMethods in org.apache.pdfbox.pdfwriter that return COSObjectKey Modifier and Type Method Description private COSObjectKeyCOSWriter. getObjectKey(COSBase obj)This will get the object key for the object.Methods in org.apache.pdfbox.pdfwriter with parameters of type COSObjectKey Modifier and Type Method Description voidCOSWriter. doWriteObject(COSObjectKey key, COSBase obj)This will write a COS object for a predefined key. -
Uses of COSObjectKey in org.apache.pdfbox.pdfwriter.compress
Fields in org.apache.pdfbox.pdfwriter.compress with type parameters of type COSObjectKey Modifier and Type Field Description private java.util.Map<COSObjectKey,COSBase>COSObjectPool. keyPoolprivate java.util.Map<COSBase,COSObjectKey>COSObjectPool. objectPoolprivate java.util.List<COSObjectKey>COSWriterCompressionPool. objectStreamObjectsprivate java.util.List<COSObjectKey>COSWriterObjectStream. preparedKeysprivate java.util.List<COSObjectKey>COSWriterCompressionPool. topLevelObjectsMethods in org.apache.pdfbox.pdfwriter.compress that return COSObjectKey Modifier and Type Method Description COSObjectKeyCOSObjectPool. getKey(COSBase object)Returns theCOSObjectKeyfor a given registeredCOSBase.COSObjectKeyCOSWriterCompressionPool. getKey(COSBase object)Returns theCOSObjectKey, that is registered for the givenCOSBasein this compression pool.COSObjectKeyCOSObjectPool. 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 COSObjectKey Modifier and Type Method Description java.util.List<COSObjectKey>COSWriterCompressionPool. getObjectStreamObjects()Returns allCOSBases that can be appended to an object stream.java.util.List<COSObjectKey>COSWriterObjectStream. getPreparedKeys()Returns allCOSObjectKeys, that shall be added to the object stream, whenCOSWriterObjectStream.writeObjectsToStream(COSStream)is called.java.util.List<COSObjectKey>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 COSObjectKey Modifier and Type Method Description private COSBaseCOSWriterCompressionPool. addObjectToPool(COSObjectKey key, COSBase base)Adds the givenCOSBaseto this pool, using the givenCOSObjectKeyas it's referencable ID.booleanCOSObjectPool. contains(COSObjectKey key)Returns true, if aCOSBaseis registered for the givenCOSObjectKey.COSBaseCOSObjectPool. getObject(COSObjectKey key)Returns theCOSBase, that is registered for the givenCOSObjectKey, or null if no object is registered for that key.COSBaseCOSWriterCompressionPool. 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.COSObjectKeyCOSObjectPool. put(COSObjectKey key, COSBase object)Update the key and object maps.private voidCOSWriterObjectStream. writeObjectReference(java.io.OutputStream output, COSObjectKey indirectReference)Write the givenCOSObjectKeyto the given stream. -
Uses of COSObjectKey in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel with type parameters of type COSObjectKey Modifier and Type Field Description private java.util.Collection<COSObjectKey>PDDocument. indirectObjectKeys -
Uses of COSObjectKey in org.apache.pdfbox.preflight.action
Method parameters in org.apache.pdfbox.preflight.action with type arguments of type COSObjectKey Modifier and Type Method Description private voidActionManagerFactory. callCreateAction(COSBase aDict, PreflightContext ctx, java.util.List<AbstractActionManager> result, java.lang.String additionActionKey, java.util.Map<COSObjectKey,java.lang.Boolean> alreadyCreated)Call the create action to add the ActionManager to the result list.private voidActionManagerFactory. callCreateAction(COSBase aDict, PreflightContext ctx, java.util.List<AbstractActionManager> result, java.util.Map<COSObjectKey,java.lang.Boolean> alreadyCreated)Call the callCreateAction(COSBase, COSDocument, List, String) method with null as isAA parameter. -
Uses of COSObjectKey in org.apache.pdfbox.preflight.parser
Methods in org.apache.pdfbox.preflight.parser with parameters of type COSObjectKey Modifier and Type Method Description private COSBasePreflightParser. parseFileObject(java.lang.Long offsetOrObjstmObNr, COSObjectKey objKey)protected COSBasePreflightParser. parseObjectDynamically(COSObjectKey objKey, boolean requireExistingNotCompressedObj) -
Uses of COSObjectKey in org.apache.pdfbox.preflight.process
Method parameters in org.apache.pdfbox.preflight.process with type arguments of type COSObjectKey Modifier and Type Method Description private voidCatalogValidationProcess. validateICCProfile(COSBase destOutputProfile, java.util.Map<COSObjectKey,java.lang.Boolean> mapDestOutputProfile, PreflightContext ctx)This method checks the destOutputProfile which must be a valid ICCProfile.
-