Uses of Class
org.apache.pdfbox.cos.COSObject
-
Packages that use COSObject Package Description org.apache.pdfbox.cos These are the low level objects that make up a PDF document.org.apache.pdfbox.pdfparser The pdfparser package contains classes to parse PDF documents and objects within the document.org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.graphics.color This package deals with colors that are stored in a PDF document.org.apache.pdfbox.preflight.process org.apache.pdfbox.preflight.utils -
-
Uses of COSObject in org.apache.pdfbox.cos
Fields in org.apache.pdfbox.cos with type parameters of type COSObject Modifier and Type Field Description private java.util.Map<COSObjectKey,COSObject>COSDocument. objectPoolMaps ObjectKeys to a COSObject.Methods in org.apache.pdfbox.cos that return COSObject Modifier and Type Method Description COSObjectCOSDocument. getCatalog()Deprecated.usePDDocument.getDocumentCatalog()instead.COSObjectCOSDictionary. getCOSObject(COSName key)This is a convenience method that will get the dictionary object that is expected to be a COSObject.COSObjectCOSDocument. getObjectByType(COSName type)This will get the first dictionary object by type.COSObjectCOSDocument. getObjectFromPool(COSObjectKey key)This will get an object from the pool.COSObjectCOSDocument. removeObject(COSObjectKey key)Removes an object from the object pool.Methods in org.apache.pdfbox.cos that return types with arguments of type COSObject Modifier and Type Method Description java.util.List<COSObject>COSDocument. getObjects()This will get a list of all available objects.java.util.List<COSObject>COSDocument. getObjectsByType(java.lang.String type)This will get all dictionary objects by type.java.util.List<COSObject>COSDocument. getObjectsByType(COSName type)This will get a dictionary object by type.Constructors in org.apache.pdfbox.cos with parameters of type COSObject Constructor Description COSObjectKey(COSObject object)Constructor. -
Uses of COSObject in org.apache.pdfbox.pdfparser
Fields in org.apache.pdfbox.pdfparser with type parameters of type COSObject Modifier and Type Field Description private java.util.List<COSObject>PDFObjectStreamParser. streamObjectsMethods in org.apache.pdfbox.pdfparser that return COSObject Modifier and Type Method Description private COSObjectCOSParser. compareCOSObjects(COSObject newObject, java.lang.Long newOffset, COSObject currentObject, java.lang.Long currentOffset)COSObjectPDFXRef. getObject(int objectNumber)Returns the object referenced by the given object number.COSObjectPDFXRefStream. getObject(int objectNumber)Returns the object referenced by the given object number.Methods in org.apache.pdfbox.pdfparser that return types with arguments of type COSObject Modifier and Type Method Description java.util.List<COSObject>PDFObjectStreamParser. getObjects()This will get the objects that were parsed from the stream.Methods in org.apache.pdfbox.pdfparser with parameters of type COSObject Modifier and Type Method Description private COSObjectCOSParser. compareCOSObjects(COSObject newObject, java.lang.Long newOffset, COSObject currentObject, java.lang.Long currentOffset)private longCOSParser. getObjectId(COSObject obj)Creates a unique object id using object number and object generation number.private voidCOSParser. parseDictionaryRecursive(COSObject dictionaryObject)Resolves all not already parsed objects of a dictionary recursively.private voidCOSParser. parseFileObject(java.lang.Long offsetOrObjstmObNr, COSObjectKey objKey, COSObject pdfObject)protected COSBaseCOSParser. parseObjectDynamically(COSObject obj, boolean requireExistingNotCompressedObj)This will parse the next object from the stream and add it to the local state.private COSDictionaryCOSParser. retrieveCOSDictionary(COSObject object)Method parameters in org.apache.pdfbox.pdfparser with type arguments of type COSObject Modifier and Type Method Description private intCOSParser. checkPagesDictionary(COSDictionary pagesDict, java.util.Set<COSObject> set) -
Uses of COSObject in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel with type parameters of type COSObject Modifier and Type Field Description private java.util.Map<COSObject,java.lang.ref.SoftReference<PDColorSpace>>DefaultResourceCache. colorSpacesprivate java.util.Map<COSObject,java.lang.ref.SoftReference<PDExtendedGraphicsState>>DefaultResourceCache. extGStatesprivate java.util.Map<COSObject,java.lang.ref.SoftReference<PDFont>>DefaultResourceCache. fontsprivate java.util.Map<COSObject,java.lang.ref.SoftReference<PDAbstractPattern>>DefaultResourceCache. patternsprivate java.util.Map<COSObject,java.lang.ref.SoftReference<PDPropertyList>>DefaultResourceCache. propertiesprivate java.util.Map<COSObject,java.lang.ref.SoftReference<PDShading>>DefaultResourceCache. shadingsprivate java.util.Map<COSObject,java.lang.ref.SoftReference<PDXObject>>DefaultResourceCache. xobjectsMethods in org.apache.pdfbox.pdmodel that return COSObject Modifier and Type Method Description private COSObjectPDResources. getIndirect(COSName kind, COSName name)Returns the resource with the given name and kind as an indirect object, or null.Methods in org.apache.pdfbox.pdmodel with parameters of type COSObject Modifier and Type Method Description PDColorSpaceDefaultResourceCache. getColorSpace(COSObject indirect)PDColorSpaceResourceCache. getColorSpace(COSObject indirect)Returns the color space resource for the given indirect object, if it is in the cache.PDExtendedGraphicsStateDefaultResourceCache. getExtGState(COSObject indirect)PDExtendedGraphicsStateResourceCache. getExtGState(COSObject indirect)Returns the extended graphics state resource for the given indirect object, if it is in the cache.PDFontDefaultResourceCache. getFont(COSObject indirect)PDFontResourceCache. getFont(COSObject indirect)Returns the font resource for the given indirect object, if it is in the cache.PDAbstractPatternDefaultResourceCache. getPattern(COSObject indirect)PDAbstractPatternResourceCache. getPattern(COSObject indirect)Returns the pattern resource for the given indirect object, if it is in the cache.PDPropertyListDefaultResourceCache. getProperties(COSObject indirect)PDPropertyListResourceCache. getProperties(COSObject indirect)Returns the property list resource for the given indirect object, if it is in the cache.PDShadingDefaultResourceCache. getShading(COSObject indirect)PDShadingResourceCache. getShading(COSObject indirect)Returns the shading resource for the given indirect object, if it is in the cache.PDXObjectDefaultResourceCache. getXObject(COSObject indirect)PDXObjectResourceCache. getXObject(COSObject indirect)Returns the XObject resource for the given indirect object, if it is in the cache.voidDefaultResourceCache. put(COSObject indirect, PDPropertyList propertyList)voidDefaultResourceCache. put(COSObject indirect, PDFont font)voidDefaultResourceCache. put(COSObject indirect, PDColorSpace colorSpace)voidDefaultResourceCache. put(COSObject indirect, PDAbstractPattern pattern)voidDefaultResourceCache. put(COSObject indirect, PDXObject xobject)voidDefaultResourceCache. put(COSObject indirect, PDShading shading)voidDefaultResourceCache. put(COSObject indirect, PDExtendedGraphicsState extGState)voidResourceCache. put(COSObject indirect, PDPropertyList propertyList)Puts the given indirect property list resource in the cache.voidResourceCache. put(COSObject indirect, PDFont font)Puts the given indirect font resource in the cache.voidResourceCache. put(COSObject indirect, PDColorSpace colorSpace)Puts the given indirect color space resource in the cache.voidResourceCache. put(COSObject indirect, PDAbstractPattern pattern)Puts the given indirect pattern resource in the cache.voidResourceCache. put(COSObject indirect, PDXObject xobject)Puts the given indirect XObject resource in the cache.voidResourceCache. put(COSObject indirect, PDShading shading)Puts the given indirect shading resource in the cache.voidResourceCache. put(COSObject indirect, PDExtendedGraphicsState extGState)Puts the given indirect extended graphics state resource in the cache. -
Uses of COSObject in org.apache.pdfbox.pdmodel.graphics.color
Methods in org.apache.pdfbox.pdmodel.graphics.color with parameters of type COSObject Modifier and Type Method Description private static PDColorSpacePDColorSpace. createFromCOSObject(COSObject colorSpace, PDResources resources) -
Uses of COSObject in org.apache.pdfbox.preflight.process
Methods in org.apache.pdfbox.preflight.process that return COSObject Modifier and Type Method Description private COSObjectBookmarkValidationProcess. toCOSObject(COSBase base)Returns a COSBase as a COSObject or null if null or COSNull.Methods in org.apache.pdfbox.preflight.process with parameters of type COSObject Modifier and Type Method Description private voidStreamValidationProcess. addStreamLengthValidationError(PreflightContext context, COSObject cObj, int length, java.lang.String endStream)protected voidStreamValidationProcess. checkStreamLength(PreflightContext context, COSObject cObj)protected booleanBookmarkValidationProcess. exploreOutlineLevel(PreflightContext ctx, PDOutlineItem inputItem, COSObject firstObj, COSObject lastObj)This method explores the Outline Item Level and calls a validation method on each Outline Item.voidStreamValidationProcess. validateStreamObject(PreflightContext context, COSObject cObj) -
Uses of COSObject in org.apache.pdfbox.preflight.utils
Methods in org.apache.pdfbox.preflight.utils with parameters of type COSObject Modifier and Type Method Description private static COSBaseCOSUtils. getCOSObjectAsClass(COSObject cosObject, COSDocument cDoc, java.lang.Class claz)Return the COSObject object as class if the COSObject object is a reference to an object of that class.
-