| 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.
|
| Modifier and Type | Method and Description |
|---|---|
COSObject |
COSDictionary.getCOSObject(COSName key)
This is a convenience method that will get the dictionary object that is expected to be a COSObject.
|
COSObject |
COSDocument.getObjectFromPool(COSObjectKey key)
This will get an object from the pool.
|
| Modifier and Type | Method and Description |
|---|---|
List<COSObject> |
COSDocument.getObjectsByType(COSName type)
This will get all dictionaries objects by type.
|
List<COSObject> |
COSDocument.getObjectsByType(COSName type1,
COSName type2)
This will get all dictionaries objects by type.
|
| Modifier and Type | Method and Description |
|---|---|
COSBase |
ICOSParser.dereferenceCOSObject(COSObject obj)
Dereference the COSBase object which is referenced by the given COSObject.
|
| Modifier and Type | Method and Description |
|---|---|
COSBase |
COSParser.dereferenceCOSObject(COSObject obj) |
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
DefaultResourceCache.getColorSpace(COSObject indirect) |
PDColorSpace |
ResourceCache.getColorSpace(COSObject indirect)
Returns the color space resource for the given indirect object, if it is in the cache.
|
PDExtendedGraphicsState |
DefaultResourceCache.getExtGState(COSObject indirect) |
PDExtendedGraphicsState |
ResourceCache.getExtGState(COSObject indirect)
Returns the extended graphics state resource for the given indirect object, if it is in the cache.
|
PDFont |
DefaultResourceCache.getFont(COSObject indirect) |
PDFont |
ResourceCache.getFont(COSObject indirect)
Returns the font resource for the given indirect object, if it is in the cache.
|
PDAbstractPattern |
DefaultResourceCache.getPattern(COSObject indirect) |
PDAbstractPattern |
ResourceCache.getPattern(COSObject indirect)
Returns the pattern resource for the given indirect object, if it is in the cache.
|
PDPropertyList |
DefaultResourceCache.getProperties(COSObject indirect) |
PDPropertyList |
ResourceCache.getProperties(COSObject indirect)
Returns the property list resource for the given indirect object, if it is in the cache.
|
PDShading |
DefaultResourceCache.getShading(COSObject indirect) |
PDShading |
ResourceCache.getShading(COSObject indirect)
Returns the shading resource for the given indirect object, if it is in the cache.
|
PDXObject |
DefaultResourceCache.getXObject(COSObject indirect) |
PDXObject |
ResourceCache.getXObject(COSObject indirect)
Returns the XObject resource for the given indirect object, if it is in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDAbstractPattern pattern) |
void |
ResourceCache.put(COSObject indirect,
PDAbstractPattern pattern)
Puts the given indirect pattern resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDColorSpace colorSpace) |
void |
ResourceCache.put(COSObject indirect,
PDColorSpace colorSpace)
Puts the given indirect color space resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDExtendedGraphicsState extGState) |
void |
ResourceCache.put(COSObject indirect,
PDExtendedGraphicsState extGState)
Puts the given indirect extended graphics state resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDFont font) |
void |
ResourceCache.put(COSObject indirect,
PDFont font)
Puts the given indirect font resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDPropertyList propertyList) |
void |
ResourceCache.put(COSObject indirect,
PDPropertyList propertyList)
Puts the given indirect property list resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDShading shading) |
void |
ResourceCache.put(COSObject indirect,
PDShading shading)
Puts the given indirect shading resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDXObject xobject) |
void |
ResourceCache.put(COSObject indirect,
PDXObject xobject)
Puts the given indirect XObject resource in the cache.
|
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.