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.preflight.process |
Modifier and Type | Method and 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 and Description |
---|---|
List<COSObject> |
COSDocument.getObjects()
This will get a list of all available objects.
|
List<COSObject> |
COSDocument.getObjectsByType(COSName type)
This will get a dictionary object by type.
|
List<COSObject> |
COSDocument.getObjectsByType(String type)
This will get all dictionary objects by type.
|
Constructor and Description |
---|
COSObjectKey(COSObject object)
PDFObjectKey constructor comment.
|
Modifier and Type | Method and Description |
---|---|
COSObject |
PDFXRefStream.getObject(int objectNumber)
Returns the object referenced by the given object number.
|
COSObject |
PDFXRef.getObject(int objectNumber)
Returns the object referenced by the given object number.
|
Modifier and Type | Method and Description |
---|---|
List<COSObject> |
PDFObjectStreamParser.getObjects()
This will get the objects that were parsed from the stream.
|
Modifier and Type | Method and 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 and Description |
---|---|
PDColorSpace |
ResourceCache.getColorSpace(COSObject indirect)
Returns the color space resource for the given indirect object, if it is in the cache.
|
PDColorSpace |
DefaultResourceCache.getColorSpace(COSObject indirect) |
PDExtendedGraphicsState |
ResourceCache.getExtGState(COSObject indirect)
Returns the external graphics state resource for the given indirect object, if it is in the
cache.
|
PDExtendedGraphicsState |
DefaultResourceCache.getExtGState(COSObject indirect) |
PDFont |
ResourceCache.getFont(COSObject indirect)
Returns the font resource for the given indirect object, if it is in the cache.
|
PDFont |
DefaultResourceCache.getFont(COSObject indirect) |
PDAbstractPattern |
ResourceCache.getPattern(COSObject indirect)
Returns the pattern resource for the given indirect object, if it is in the cache.
|
PDAbstractPattern |
DefaultResourceCache.getPattern(COSObject indirect) |
PDPropertyList |
ResourceCache.getProperties(COSObject indirect)
Returns the property list resource for the given indirect object, if it is in the cache.
|
PDPropertyList |
DefaultResourceCache.getProperties(COSObject indirect) |
PDShading |
ResourceCache.getShading(COSObject indirect)
Returns the shading resource for the given indirect object, if it is in the cache.
|
PDShading |
DefaultResourceCache.getShading(COSObject indirect) |
PDXObject |
ResourceCache.getXObject(COSObject indirect)
Returns the XObject resource for the given indirect object, if it is in the cache.
|
PDXObject |
DefaultResourceCache.getXObject(COSObject indirect) |
void |
ResourceCache.put(COSObject indirect,
PDAbstractPattern pattern)
Puts the given indirect pattern resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDAbstractPattern pattern) |
void |
ResourceCache.put(COSObject indirect,
PDColorSpace colorSpace)
Puts the given indirect color space resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDColorSpace colorSpace) |
void |
ResourceCache.put(COSObject indirect,
PDExtendedGraphicsState extGState)
Puts the given indirect extended graphics state resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDExtendedGraphicsState extGState) |
void |
ResourceCache.put(COSObject indirect,
PDFont font)
Puts the given indirect font resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDFont font) |
void |
ResourceCache.put(COSObject indirect,
PDPropertyList propertyList)
Puts the given indirect property list resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDPropertyList propertyList) |
void |
ResourceCache.put(COSObject indirect,
PDShading shading)
Puts the given indirect shading resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDShading shading) |
void |
ResourceCache.put(COSObject indirect,
PDXObject xobject)
Puts the given indirect XObject resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDXObject xobject) |
Modifier and Type | Method and Description |
---|---|
protected void |
StreamValidationProcess.checkStreamLength(PreflightContext context,
COSObject cObj) |
protected boolean |
BookmarkValidationProcess.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.
|
void |
StreamValidationProcess.validateStreamObject(PreflightContext context,
COSObject cObj) |
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.