Uses of Class
com.itextpdf.text.pdf.PdfReader
Packages that use PdfReader
Package
Description
-
Uses of PdfReader in com.itextpdf.testutils
Methods in com.itextpdf.testutils with parameters of type PdfReaderModifier and TypeMethodDescriptionprivate voidCompareTool.loadPagesFromReader(PdfReader reader, List<PdfDictionary> pages, List<RefKey> pagesRef) -
Uses of PdfReader in com.itextpdf.text.pdf
Subclasses of PdfReader in com.itextpdf.text.pdfModifier and TypeClassDescriptionprivate static classclassReads an FDF form and makes the fields availableFields in com.itextpdf.text.pdf declared as PdfReaderModifier and TypeFieldDescription(package private) PdfReaderAcroFields.reader(package private) PdfReaderPdfCopy.ImportedPage.reader(package private) PdfReaderPdfCopy.PageStamp.readerprotected PdfReaderPdfCopy.readerprivate final PdfReaderPdfReader.PageRefs.reader(package private) PdfReaderPdfReaderInstance.reader(package private) PdfReaderPdfStamperImp.readerprotected PdfReaderPdfStructTreeController.reader(package private) PdfReaderPRAcroForm.readerprotected PdfReaderPRIndirectReference.readerprotected PdfReaderPRStream.readerprivate PdfReaderXfaForm.readerFields in com.itextpdf.text.pdf with type parameters of type PdfReaderModifier and TypeFieldDescriptionprotected HashMap<PdfReader, HashMap<RefKey, PdfCopy.IndirectReferences>> PdfCopy.indirectMap(package private) HashMap<PdfReader, IntHashtable> PdfCopyFieldsImp.pages2intrefsDeprecated.protected HashMap<PdfReader, PdfReaderInstance> PdfWriter.readerInstancesInstances of PdfReader/PdfReaderInstance that are used to import pages.PdfCopyFieldsImp.readersDeprecated.(package private) HashMap<PdfReader, RandomAccessFileOrArray> PdfStamperImp.readers2file(package private) HashMap<PdfReader, IntHashtable> PdfCopyFieldsImp.readers2intrefsDeprecated.(package private) HashMap<PdfReader, IntHashtable> PdfStamperImp.readers2intrefs(package private) HashMap<PdfReader, IntHashtable> PdfCopyFieldsImp.visitedDeprecated.Methods in com.itextpdf.text.pdf that return PdfReaderModifier and TypeMethodDescriptionPdfStamperImp.getPdfReader()(package private) PdfReaderPdfReaderInstance.getReader()PdfStamper.getReader()Gets the underlying PdfReader.PRIndirectReference.getReader()PRStream.getReader()XfaForm.getReader()Gets thePdfReaderused by this instance.Methods in com.itextpdf.text.pdf with parameters of type PdfReaderModifier and TypeMethodDescriptionvoidPdfACopy.addDocument(PdfReader reader) voidPdfCopy.addDocument(PdfReader reader) voidPdfCopy.addDocument(PdfReader reader, List<Integer> pagesToKeep) voidPdfCopyFields.addDocument(PdfReader reader) Deprecated.Concatenates a PDF document.voidPdfCopyFields.addDocument(PdfReader reader, String ranges) Deprecated.Concatenates a PDF document selecting the pages to keep.voidPdfCopyFields.addDocument(PdfReader reader, List<Integer> pagesToKeep) Deprecated.Concatenates a PDF document selecting the pages to keep.(package private) voidPdfCopyFieldsImp.addDocument(PdfReader reader) Deprecated.(package private) voidPdfCopyFieldsImp.addDocument(PdfReader reader, List<Integer> pagesToKeep) Deprecated.voidPdfCopyForms.addDocument(PdfReader reader) Deprecated.Concatenates a PDF document.voidPdfCopyForms.addDocument(PdfReader reader, String ranges) Deprecated.Concatenates a PDF document selecting the pages to keep.voidPdfCopyForms.addDocument(PdfReader reader, List<Integer> pagesToKeep) Deprecated.Concatenates a PDF document selecting the pages to keep.intAdds the pages from an existing PDF document.SimpleBookmark.bookmarkDepth(PdfReader reader, PdfDictionary outline, IntHashtable pages, boolean processCurrentOutlineOnly) private voidPdfACopy.checkPdfAInfo(PdfReader reader) static booleanPdfStructTreeController.checkTagged(PdfReader reader) private voidPdfCopy.clearIndirects(PdfReader reader) voidPdfCopy.copyDocumentFields(PdfReader reader) Copy document fields to a destination document.voidPdfCopyForms.copyDocumentFields(PdfReader reader) Deprecated.Copies the form fields of this PDFDocument onto the PDF-Document which was addedvoidPdfCopyFormsImp.copyDocumentFields(PdfReader reader) Deprecated.This method feeds in the source documentstatic PdfAStamperPdfAStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, PdfAConformanceLevel conformanceLevel) Applies a digital signature to a document.static PdfAStamperPdfAStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, boolean append, PdfAConformanceLevel conformanceLevel) Applies a digital signature to a document, possibly as a new revision, making possible multiple signatures.static PdfAStamperPdfAStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, PdfAConformanceLevel conformanceLevel) Applies a digital signature to a document.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion) Applies a digital signature to a document.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile) Applies a digital signature to a document.static PdfStamperPdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, boolean append) Applies a digital signature to a document, possibly as a new revision, making possible multiple signatures.static PdfStamperPdfStamper.createXmlSignature(PdfReader reader, OutputStream os) (package private) voidDecrypt an encryptedPdfStringprotected static PdfDictionaryPdfReader.duplicatePdfDictionary(PdfDictionary original, PdfDictionary copy, PdfReader newReader) protected static PdfObjectPdfReader.duplicatePdfObject(PdfObject original, PdfReader newReader) static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, boolean strength, String userPassword, String ownerPassword, int permissions) Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, boolean strength, String userPassword, String ownerPassword, int permissions, HashMap<String, String> newInfo) Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits) Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits, HashMap<String, String> newInfo) Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions) Entry point to encrypt a PDF document.static voidPdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions, HashMap<String, String> newInfo) Entry point to encrypt a PDF document.(package private) static voidPdfStamperImp.findAllObjects(PdfReader reader, PdfObject obj, IntHashtable hits) voidPdfASmartCopy.freeReader(PdfReader reader) voidPdfCopy.freeReader(PdfReader reader) voidPdfSmartCopy.freeReader(PdfReader reader) voidPdfWriter.freeReader(PdfReader reader) Use this method to writes the reader to the document and free the memory used by it.SimpleBookmark.getBookmark(PdfReader reader) Gets aListwith the bookmarks.SimpleBookmark.getBookmark(PdfReader reader, PdfDictionary outline, boolean includeRoot) Gets aListwith the bookmarks that are children ofoutline.private static StringPdfCopy.getCOName(PdfReader reader, PRIndirectReference ref) private static StringPdfCopyFieldsImp.getCOName(PdfReader reader, PRIndirectReference ref) Deprecated.BaseFont.getDocumentFonts(PdfReader reader) Gets a list of all document fonts.BaseFont.getDocumentFonts(PdfReader reader, int page) Gets a list of the document fonts in a particular page.FdfWriter.getImportedPage(PdfReader reader, int pageNumber) PdfCopy.getImportedPage(PdfReader reader, int pageNumber) Grabs a page from the input documentPdfCopy.getImportedPage(PdfReader reader, int pageNumber, boolean keepTaggedPdfStructure) PdfStamper.getImportedPage(PdfReader reader, int pageNumber) Gets a page from other PDF document.PdfWriter.getImportedPage(PdfReader reader, int pageNumber) Use this method to get a page from other PDF document.protected PdfImportedPagePdfCopy.getImportedPageImpl(PdfReader reader, int pageNumber) SimpleNamedDestination.getNamedDestination(PdfReader reader, boolean fromNames) protected intPdfCopyFieldsImp.getNewObjectNumber(PdfReader reader, int number, int generation) Deprecated.protected intPdfStamperImp.getNewObjectNumber(PdfReader reader, int number, int generation) protected intPdfWriter.getNewObjectNumber(PdfReader reader, int number, int generation) static PdfPageLabels.PdfPageLabelFormat[]PdfPageLabels.getPageLabelFormats(PdfReader reader) Retrieves the page labels from a PDF as an array ofPdfPageLabels.PdfPageLabelFormatobjects.static String[]PdfPageLabels.getPageLabels(PdfReader reader) Retrieves the page labels from a PDF as an array of String objects.protected PdfReaderInstancePdfWriter.getPdfReaderInstance(PdfReader reader) Returns the PdfReaderInstance associated with the specified reader.(package private) RandomAccessFileOrArrayPdfCopyFieldsImp.getReaderFile(PdfReader reader) Deprecated.(package private) RandomAccessFileOrArrayPdfStamperImp.getReaderFile(PdfReader reader) (package private) RandomAccessFileOrArrayPdfWriter.getReaderFile(PdfReader reader) static PdfObjectXfaForm.getXfaObject(PdfReader reader) Return the XFA Object, could be an array, could be a Stream.protected booleanDeprecated.private static voidPdfStamperImp.moveRectangle(PdfDictionary dic2, PdfReader r, int pageImported, PdfName key, String name) voidPdfStamperImp.registerReader(PdfReader reader, boolean openFile) voidPdfStamper.replacePage(PdfReader r, int pageImported, int pageReplaced) Replaces a page from this document with a page from other document.(package private) voidPdfStamperImp.replacePage(PdfReader r, int pageImported, int pageReplaced) voidSets all the fields from thisPdfReaderprotected voidPdfCopy.setFromReader(PdfReader reader) convenience method.booleanPdfACopy.setOutputIntents(PdfReader reader, boolean checkExistence) Copies the output intent dictionary from other document to this one.booleanPdfAWriter.setOutputIntents(PdfReader reader, boolean checkExistence) Copies the output intent dictionary from other document to this one.booleanPdfWriter.setOutputIntents(PdfReader reader, boolean checkExistence) Use this method to copy the output intent dictionary from another document to this one.protected voidvoidSets thePdfReaderto be used by this instance.static voidSets the XFA key from a byte array.protected voidPdfCopy.structureTreeRootKidsForReaderImported(PdfReader reader) voidPdfStamperImp.unRegisterReader(PdfReader reader) private voidPdfCopy.updateCalculationOrder(PdfReader reader) protected voidPdfCopyFieldsImp.updateCalculationOrder(PdfReader reader) Deprecated.Constructors in com.itextpdf.text.pdf with parameters of type PdfReaderModifierConstructorDescription(package private)AcroFields(PdfReader reader, PdfWriter writer) (package private)ImportedPage(PdfReader reader, int pageNumber, boolean keepFields) private(package private)PageRefs(PdfReader.PageRefs other, PdfReader reader) (package private)PageStamp(PdfReader reader, PdfDictionary pageN, PdfCopy cstp) (package private)PageStamp(PdfStamperImp stamper, PdfReader reader, PdfDictionary pageN) PdfAStamper(PdfReader reader, OutputStream os, char pdfVersion, boolean append, PdfAConformanceLevel conformanceLevel) Starts the process of adding extra content to an existing PDF document keeping the document PDF/A conformant.PdfAStamper(PdfReader reader, OutputStream os, char pdfVersion, PdfAConformanceLevel conformanceLevel) Starts the process of adding extra content to an existing PDF document keeping the document PDF/A conformant.PdfAStamper(PdfReader reader, OutputStream os, PdfAConformanceLevel conformanceLevel) Starts the process of adding extra content to an existing PDF document keeping the document PDF/A conformant.(package private)PdfAStamperImp(PdfReader reader, OutputStream os, char pdfVersion, boolean append, PdfAConformanceLevel conformanceLevel) Creates new PdfStamperImp.Creates an independent duplicate.(package private)PdfReaderInstance(PdfReader reader, PdfWriter writer) PdfStamper(PdfReader reader, OutputStream os) Starts the process of adding extra content to an existing PDF document.PdfStamper(PdfReader reader, OutputStream os, char pdfVersion) Starts the process of adding extra content to an existing PDF document.PdfStamper(PdfReader reader, OutputStream os, char pdfVersion, boolean append) Starts the process of adding extra content to an existing PDF document, possibly as a new revision.protectedPdfStamperImp(PdfReader reader, OutputStream os, char pdfVersion, boolean append) Creates new PdfStamperImp.protectedPdfStructTreeController(PdfReader reader, PdfCopy writer) PRAcroForm(PdfReader reader) ConstructorPRIndirectReference(PdfReader reader, int number) Constructs aPdfIndirectReference.PRIndirectReference(PdfReader reader, int number, int generation) Constructs aPdfIndirectReference.Creates a new PDF stream object that will replace a stream in a existing PDF file.PRStream(PRStream stream, PdfDictionary newDic, PdfReader reader) A constructor from aPdfReader. -
Uses of PdfReader in com.itextpdf.text.pdf.mc
Methods in com.itextpdf.text.pdf.mc with parameters of type PdfReaderModifier and TypeMethodDescriptionvoidMCFieldFlattener.process(PdfReader reader, OutputStream os) Processes a properly tagged PDF form.Constructors in com.itextpdf.text.pdf.mc with parameters of type PdfReaderModifierConstructorDescriptionStructureItems(PdfReader reader) Creates a list of StructuredItem objects. -
Uses of PdfReader in com.itextpdf.text.pdf.ocg
Methods in com.itextpdf.text.pdf.ocg with parameters of type PdfReaderModifier and TypeMethodDescriptionvoidOCGRemover.removeLayers(PdfReader reader, String... layers) Removes layers from a PDF document -
Uses of PdfReader in com.itextpdf.text.pdf.parser
Fields in com.itextpdf.text.pdf.parser declared as PdfReaderModifier and TypeFieldDescriptionprivate final PdfReaderPdfReaderContentParser.readerthe reader this parser will processprotected PdfReaderTaggedPdfReaderTool.readerThe reader object from which the content streams are read.Methods in com.itextpdf.text.pdf.parser with parameters of type PdfReaderModifier and TypeMethodDescriptionvoidTaggedPdfReaderTool.convertToXml(PdfReader reader, OutputStream os) Parses a string with structured content.voidTaggedPdfReaderTool.convertToXml(PdfReader reader, OutputStream os, String charset) Parses a string with structured content.static byte[]ContentByteUtils.getContentBytesForPage(PdfReader reader, int pageNum) Gets the content bytes of a page from a readerstatic StringPdfTextExtractor.getTextFromPage(PdfReader reader, int pageNumber) Extract text from a specified page using the default strategy.static StringPdfTextExtractor.getTextFromPage(PdfReader reader, int pageNumber, TextExtractionStrategy strategy) Extract text from a specified page using an extraction strategy.static StringPdfTextExtractor.getTextFromPage(PdfReader reader, int pageNumber, TextExtractionStrategy strategy, Map<String, ContentOperator> additionalContentOperators) Extract text from a specified page using an extraction strategy.static voidPdfContentReaderTool.listContentStreamForPage(PdfReader reader, int pageNum, PrintWriter out) Writes information about a specific page from PdfReader to the specified output stream.Constructors in com.itextpdf.text.pdf.parser with parameters of type PdfReader -
Uses of PdfReader in com.itextpdf.text.pdf.security
Fields in com.itextpdf.text.pdf.security declared as PdfReaderModifier and TypeFieldDescriptionprivate PdfReaderLtvVerification.readerprotected PdfReaderLtvVerifier.readerA reader object for the revision that is being verified.Methods in com.itextpdf.text.pdf.security with parameters of type PdfReaderModifier and TypeMethodDescriptionstatic voidMakeSignature.signDeferred(PdfReader reader, String fieldName, OutputStream outs, ExternalSignatureContainer externalSignatureContainer) Signs a PDF where space was already reserved.Constructors in com.itextpdf.text.pdf.security with parameters of type PdfReaderModifierConstructorDescriptionLtvVerifier(PdfReader reader) Creates a VerificationData object for a PdfReader -
Uses of PdfReader in com.itextpdf.text.pdf.util
Fields in com.itextpdf.text.pdf.util declared as PdfReaderConstructors in com.itextpdf.text.pdf.util with parameters of type PdfReader