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 | Description |
---|---|---|
COSObject |
COSDocument.getCatalog() |
This will get the document catalog.
|
COSObject |
COSDocument.getObjectByType(COSName type) |
This will get the first dictionary object by type.
|
COSObject |
COSDocument.getObjectFromPool(COSObjectKey key) |
This will get an object from the pool.
|
COSObject |
COSDocument.removeObject(COSObjectKey key) |
Removes an object from the object pool.
|
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.
|
Constructor | Description |
---|---|
COSObjectKey(COSObject object) |
PDFObjectKey constructor comment.
|
Modifier and Type | Method | Description |
---|---|---|
COSObject |
PDFXRef.getObject(int objectNumber) |
Returns the object referenced by the given object number.
|
COSObject |
PDFXRefStream.getObject(int objectNumber) |
Returns the object referenced by the given object number.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<COSObject> |
PDFObjectStreamParser.getObjects() |
This will get the objects that were parsed from the stream.
|
Modifier and Type | Method | Description |
---|---|---|
protected COSBase |
COSParser.parseObjectDynamically(COSObject obj,
boolean requireExistingNotCompressedObj) |
This will parse the next object from the stream and add it to the local state.
|
Modifier and Type | Method | 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,
PDPropertyList propertyList) |
|
void |
DefaultResourceCache.put(COSObject indirect,
PDFont font) |
|
void |
DefaultResourceCache.put(COSObject indirect,
PDColorSpace colorSpace) |
|
void |
DefaultResourceCache.put(COSObject indirect,
PDAbstractPattern pattern) |
|
void |
DefaultResourceCache.put(COSObject indirect,
PDXObject xobject) |
|
void |
DefaultResourceCache.put(COSObject indirect,
PDShading shading) |
|
void |
DefaultResourceCache.put(COSObject indirect,
PDExtendedGraphicsState extGState) |
|
void |
ResourceCache.put(COSObject indirect,
PDPropertyList propertyList) |
Puts the given indirect property list resource in the cache.
|
void |
ResourceCache.put(COSObject indirect,
PDFont font) |
Puts the given indirect font resource in the cache.
|
void |
ResourceCache.put(COSObject indirect,
PDColorSpace colorSpace) |
Puts the given indirect color space resource in the cache.
|
void |
ResourceCache.put(COSObject indirect,
PDAbstractPattern pattern) |
Puts the given indirect pattern resource in the cache.
|
void |
ResourceCache.put(COSObject indirect,
PDXObject xobject) |
Puts the given indirect XObject resource in the cache.
|
void |
ResourceCache.put(COSObject indirect,
PDShading shading) |
Puts the given indirect shading resource in the cache.
|
void |
ResourceCache.put(COSObject indirect,
PDExtendedGraphicsState extGState) |
Puts the given indirect extended graphics state resource in the cache.
|
Copyright © 2002–2018. All rights reserved.