Deprecated Methods |
org.apache.pdfbox.pdmodel.PDDocument.clearWillEncryptWhenSaving()
Do not rely on this method anymore. It is the responsability of
COSWriter to hold this state. |
org.apache.pdfbox.pdfviewer.PageDrawer.colorChanged(boolean)
|
org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(COSDictionary, Map)
due to some side effects font caching is no longer supported,
use PDFontFactory.createFont(COSDictionary) instead |
org.apache.pdfbox.WriteDecodedDoc.doIt(String, String)
use WriteDecodedDoc#doIt(String, String, String) instead. |
org.apache.pdfbox.pdmodel.font.PDFont.drawString(String, Graphics, float, AffineTransform, float, float)
use PDFont.drawString(String, int[], Graphics, float, AffineTransform, float, float) instead |
org.apache.pdfbox.pdmodel.encryption.SecurityHandler.encryptData(long, long, InputStream, OutputStream)
While this works fine for RC4 encryption, it will never decrypt AES data
You should use encryptData(objectNumber, genNumber, data, output, decrypt)
which can do everything. This function is just here for compatibility
reasons and will be removed in the future. |
org.apache.pdfbox.pdmodel.interactive.action.type.PDActionURI.getBase()
use PDURIDictionary.getBase() instead |
org.apache.pdfbox.cos.COSDictionary.getDictionaryObject(String, String)
use COSDictionary.getDictionaryObject(COSName, COSName) using COSName constants instead |
org.apache.pdfbox.util.BitFlagHelper.getFlag(COSDictionary, String, int)
use #getFlag(COSDictionary, COSName, boolean) using COSName constants instead |
org.apache.pdfbox.pdmodel.PDResources.getFonts(Map)
due to some side effects font caching is no longer supported, use PDResources.getFonts() instead |
org.apache.pdfbox.pdmodel.PDDocument.getOwnerPasswordForEncryption()
Do not rely on this method anymore. |
org.apache.pdfbox.pdmodel.PDDocument.getPageCount()
Use the getNumberOfPages method instead! |
org.apache.pdfbox.pdmodel.PDDocument.getPageFormat(int)
Use the PDPageable adapter class |
org.apache.pdfbox.util.PDFTextStripper.getText(COSDocument)
|
org.apache.pdfbox.pdmodel.PDDocument.getUserPasswordForEncryption()
Do not rely on this method anymore. |
org.apache.pdfbox.pdmodel.interactive.form.PDSignatureField.getValue()
use getSignature() instead |
org.apache.pdfbox.util.TextPosition.getWordSpacing()
|
org.apache.pdfbox.pdmodel.PDDocument.isOwnerPassword(String)
|
org.apache.pdfbox.pdmodel.PDDocument.isUserPassword(String)
|
org.apache.pdfbox.cos.COSDictionary.keyList()
Use the COSDictionary.entrySet() method instead. |
org.apache.pdfbox.pdmodel.PDPage.print(Graphics, PageFormat, int)
Use the PDPageable adapter class |
org.apache.pdfbox.pdmodel.interactive.action.type.PDActionURI.setBase(String)
use PDURIDictionary.setBase(String) instead |
org.apache.pdfbox.util.BitFlagHelper.setFlag(COSDictionary, String, int, boolean)
use BitFlagHelper.setFlag(COSDictionary, COSName, int, boolean) using COSName constants instead |
org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.setNonFullScreenPageMode(String)
|
org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.setPrintArea(String)
|
org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.setPrintClip(String)
|
org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.setReadingDirection(String)
|
org.apache.pdfbox.pdmodel.interactive.form.PDSignatureField.setValue(String)
use setSignature(PDSignature) instead |
org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.setViewArea(String)
|
org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.setViewClip(String)
|
org.apache.pdfbox.pdfviewer.PageDrawer.SHFill(COSName)
use {@link #shFill(COSName)) instead. |
org.apache.pdfbox.pdmodel.PDDocument.wasDecryptedWithOwnerPassword()
use getCurrentAccessPermission instead |
org.apache.pdfbox.pdmodel.PDDocument.willEncryptWhenSaving()
Do not rely on this method anymore. It is the responsibility of
COSWriter to hold this state |
org.apache.pdfbox.util.PDFTextStripper.writeText(COSDocument, Writer)
|