Top Deprecated
Apache PDFBox 3.0.4

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.apache.fontbox.cff.Type1FontUtil

This class isn't used and will be removed in 4.0.0.

org.apache.pdfbox.cos.COSArray.getIndirectObjectKeys(List<COSObjectKey>
a list of already found indirect objects.
indirectObjects
)

use getIndirectObjectKeys(Collection) instead

org.apache.pdfbox.cos.COSDictionary.getIndirectObjectKeys(List<COSObjectKey>
a list of already found indirect objects.
indirectObjects
)

use getIndirectObjectKeys(Collection) instead

Returns:

Value of property generationNumber.
org.apache.pdfbox.cos.COSObject.getGenerationNumber
()

will be removed in 4.0.0

Returns:

Value of property objectNumber.
org.apache.pdfbox.cos.COSObject.getObjectNumber
()

will be removed in 4.0.0

org.apache.pdfbox.cos.COSString.setForceHexForm(boolean
True to force hex.
value
)

to be removed in a future release.

org.apache.pdfbox.cos.COSString.setValue(byte[]
The raw bytes of the PDF text string or byte string.
value
)

to be removed in a future release.

Returns:

The byte array of this bitmap.
org.apache.pdfbox.jbig2.Bitmap.getByteArray
()

don't expose the underlying byte array, will be removed in a future release.

Returns:

byte array length
org.apache.pdfbox.jbig2.Bitmap.getMemorySize
()

renamed, will be removed in a future release. Use Bitmap#getLength() instead.

Returns:

loaded document
org.apache.pdfbox.pdfparser.PDFParser.load
(File
file to be loaded
file
)

use Loader#loadPDF(File) instead

Returns:

loaded document
org.apache.pdfbox.pdfparser.PDFParser.load
(File
file to be loaded
file
,
String
password to be used for decryption
password
)

use Loader#loadPDF(File, String) instead

org.apache.pdfbox.pdmodel.PDPageContentStream.appendRawCommands(String
The commands to append to the stream.
commands
)

Usage of this method is discouraged.

org.apache.pdfbox.pdmodel.PDPageContentStream.appendRawCommands(byte[]
The commands to append to the stream.
commands
)

Usage of this method is discouraged.

org.apache.pdfbox.pdmodel.PDPageContentStream.appendRawCommands(int
Append a raw byte to the stream.
data
)

Usage of this method is discouraged.

org.apache.pdfbox.pdmodel.PDPageContentStream.appendRawCommands(double
Append a formatted double value to the stream.
data
)

Usage of this method is discouraged.

org.apache.pdfbox.pdmodel.PDPageContentStream.appendRawCommands(float
Append a formatted float value to the stream.
data
)

Usage of this method is discouraged.

Returns:

the height of the given character
org.apache.pdfbox.pdmodel.font.PDFontLike.getHeight
(int
character code
code
)

Use getBoundingBox().getHeight() instead.

org.apache.pdfbox.pdmodel.graphics.shading.IntPoint

the map in question was replaced with an array, so that this class is no longer needed

Returns:

a Hash table which contains all the points' positions and colors of one image
org.apache.pdfbox.pdmodel.graphics.shading.TriangleBasedShadingContext.calcPixelTable
(Rectangle deviceBounds)

the map was replaced with an array due to a better performance

org.apache.pdfbox.pdmodel.graphics.shading.TriangleBasedShadingContext.calcPixelTable(List<ShadedTriangle> triangleList, Map<Point, Integer> map, Rectangle deviceBounds)

the map was replaced with an array due to a better performance

org.apache.pdfbox.util.SmallMap<K, V>

will be removed in 4.0.0

No API in this release references deprecated elements.