Package | Description |
---|---|
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.mc | |
com.itextpdf.text.pdf.ocg | |
com.itextpdf.text.pdf.parser | |
com.itextpdf.text.pdf.security | |
com.itextpdf.text.pdf.util |
Modifier and Type | Class and Description |
---|---|
class |
FdfReader
Reads an FDF form and makes the fields available
|
Modifier and Type | Field and Description |
---|---|
protected PdfReader |
PdfStructTreeController.reader |
protected PdfReader |
PdfCopy.reader |
protected PdfReader |
PRStream.reader |
protected PdfReader |
PRIndirectReference.reader |
Modifier and Type | Field and Description |
---|---|
protected HashMap<PdfReader,HashMap<RefKey,com.itextpdf.text.pdf.PdfCopy.IndirectReferences>> |
PdfCopy.indirectMap |
protected HashMap<PdfReader,com.itextpdf.text.pdf.PdfReaderInstance> |
PdfWriter.readerInstances
Instances of PdfReader/PdfReaderInstance that are used to import pages.
|
Modifier and Type | Method and Description |
---|---|
PdfReader |
XfaForm.getReader()
Gets the PdfReader used by this instance.
|
PdfReader |
PdfStamper.getReader()
Gets the underlying PdfReader.
|
PdfReader |
PRStream.getReader() |
PdfReader |
PRIndirectReference.getReader() |
Modifier and Type | Method and Description |
---|---|
void |
PdfACopy.addDocument(PdfReader reader) |
void |
PdfCopyForms.addDocument(PdfReader reader)
Deprecated.
Concatenates a PDF document.
|
void |
PdfCopyFields.addDocument(PdfReader reader)
Deprecated.
Concatenates a PDF document.
|
void |
PdfCopy.addDocument(PdfReader reader) |
void |
PdfCopyForms.addDocument(PdfReader reader, List<Integer> pagesToKeep)
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
void |
PdfCopyFields.addDocument(PdfReader reader, List<Integer> pagesToKeep)
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
void |
PdfCopy.addDocument(PdfReader reader, List<Integer> pagesToKeep) |
void |
PdfCopyForms.addDocument(PdfReader reader, String ranges)
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
void |
PdfCopyFields.addDocument(PdfReader reader, String ranges)
Deprecated.
Concatenates a PDF document selecting the pages to keep.
|
int |
PdfConcatenate.addPages(PdfReader reader)
Adds the pages from an existing PDF document.
|
static boolean |
PdfStructTreeController.checkTagged(PdfReader reader) |
void |
PdfCopyForms.copyDocumentFields(PdfReader reader)
Deprecated.
Copies the form fields of this PDFDocument onto the PDF-Document which was added
|
void |
PdfCopy.copyDocumentFields(PdfReader reader)
Copy document fields to a destination document.
|
static PdfStamper |
PdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion)
Applies a digital signature to a document.
|
static PdfStamper |
PdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile)
Applies a digital signature to a document.
|
static PdfStamper |
PdfStamper.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 PdfAStamper |
PdfAStamper.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 PdfAStamper |
PdfAStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, PdfAConformanceLevel conformanceLevel)
Applies a digital signature to a document.
|
static PdfAStamper |
PdfAStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, PdfAConformanceLevel conformanceLevel)
Applies a digital signature to a document.
|
static PdfStamper |
PdfStamper.createXmlSignature(PdfReader reader, OutputStream os) |
protected static PdfDictionary |
PdfReader.duplicatePdfDictionary(PdfDictionary original, PdfDictionary copy, PdfReader newReader) |
protected static PdfObject |
PdfReader.duplicatePdfObject(PdfObject original, PdfReader newReader) |
static void |
PdfEncryptor.encrypt(PdfReader reader, OutputStream os, boolean strength, String userPassword, String ownerPassword, int permissions)
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.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 void |
PdfEncryptor.encrypt(PdfReader reader, OutputStream os, byte[] userPassword, byte[] ownerPassword, int permissions, boolean strength128Bits)
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.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 void |
PdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions)
Entry point to encrypt a PDF document.
|
static void |
PdfEncryptor.encrypt(PdfReader reader, OutputStream os, int type, String userPassword, String ownerPassword, int permissions, HashMap<String,String> newInfo)
Entry point to encrypt a PDF document.
|
void |
PdfASmartCopy.freeReader(PdfReader reader) |
void |
PdfWriter.freeReader(PdfReader reader)
Use this method to writes the reader to the document and free the memory used by it.
|
void |
PdfSmartCopy.freeReader(PdfReader reader) |
void |
PdfCopy.freeReader(PdfReader reader) |
static List<HashMap<String,Object>> |
SimpleBookmark.getBookmark(PdfReader reader)
Gets a List with the bookmarks.
|
static List<HashMap<String,Object>> |
SimpleBookmark.getBookmark(PdfReader reader, PdfDictionary outline, boolean includeRoot)
Gets a List with the bookmarks that are children of outline .
|
static ArrayList<Object[]> |
BaseFont.getDocumentFonts(PdfReader reader)
Gets a list of all document fonts.
|
static ArrayList<Object[]> |
BaseFont.getDocumentFonts(PdfReader reader, int page)
Gets a list of the document fonts in a particular page.
|
PdfImportedPage |
PdfWriter.getImportedPage(PdfReader reader, int pageNumber)
Use this method to get a page from other PDF document.
|
PdfImportedPage |
PdfStamper.getImportedPage(PdfReader reader, int pageNumber)
Gets a page from other PDF document.
|
PdfImportedPage |
PdfCopy.getImportedPage(PdfReader reader, int pageNumber)
Grabs a page from the input document
|
PdfImportedPage |
FdfWriter.getImportedPage(PdfReader reader, int pageNumber) |
PdfImportedPage |
PdfCopy.getImportedPage(PdfReader reader, int pageNumber, boolean keepTaggedPdfStructure) |
protected PdfImportedPage |
PdfCopy.getImportedPageImpl(PdfReader reader, int pageNumber) |
static HashMap<String,String> |
SimpleNamedDestination.getNamedDestination(PdfReader reader, boolean fromNames) |
protected int |
PdfWriter.getNewObjectNumber(PdfReader reader, int number, int generation) |
static PdfPageLabels.PdfPageLabelFormat[] |
PdfPageLabels.getPageLabelFormats(PdfReader reader)
Retrieves the page labels from a PDF as an array of PdfPageLabels.PdfPageLabelFormat objects.
|
static String[] |
PdfPageLabels.getPageLabels(PdfReader reader)
Retrieves the page labels from a PDF as an array of String objects.
|
protected com.itextpdf.text.pdf.PdfReaderInstance |
PdfWriter.getPdfReaderInstance(PdfReader reader)
Returns the PdfReaderInstance associated with the specified reader.
|
static PdfObject |
XfaForm.getXfaObject(PdfReader reader)
Return the XFA Object, could be an array, could be a Stream.
|
void |
PdfStamper.replacePage(PdfReader r, int pageImported, int pageReplaced)
Replaces a page from this document with a page from other document.
|
void |
FdfWriter.setFields(PdfReader pdf)
Sets all the fields from this PdfReader
|
protected void |
PdfCopy.setFromReader(PdfReader reader)
convenience method.
|
boolean |
PdfAWriter.setOutputIntents(PdfReader reader, boolean checkExistence)
Copies the output intent dictionary from other document to this one.
|
boolean |
PdfACopy.setOutputIntents(PdfReader reader, boolean checkExistence)
Copies the output intent dictionary from other document to this one.
|
boolean |
PdfWriter.setOutputIntents(PdfReader reader, boolean checkExistence)
Use this method to copy the output intent dictionary from another document to this one.
|
void |
XfaForm.setReader(PdfReader reader)
Sets the PdfReader to be used by this instance.
|
protected void |
PdfStructTreeController.setReader(PdfReader reader) |
static void |
XfaForm.setXfa(XfaForm form, PdfReader reader, PdfWriter writer)
Sets the XFA key from a byte array.
|
protected void |
PdfCopy.structureTreeRootKidsForReaderImported(PdfReader reader) |
Constructor and Description |
---|
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.
|
PdfReader(PdfReader reader)
Creates an independent duplicate.
|
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.
|
PdfStructTreeController(PdfReader reader, PdfCopy writer) |
PRAcroForm(PdfReader reader)
Constructor
|
PRIndirectReference(PdfReader reader, int number)
Constructs a PdfIndirectReference .
|
PRIndirectReference(PdfReader reader, int number, int generation)
Constructs a PdfIndirectReference .
|
PRStream(PdfReader reader, byte[] conts) |
PRStream(PdfReader reader, byte[] conts, int compressionLevel)
Creates a new PDF stream object that will replace a stream in a existing PDF file.
|
PRStream(PdfReader reader, long offset) |
PRStream(PRStream stream, PdfDictionary newDic, PdfReader reader) |
XfaForm(PdfReader reader)
A constructor from a PdfReader .
|
Modifier and Type | Method and Description |
---|---|
void |
MCFieldFlattener.process(PdfReader reader, OutputStream os)
Processes a properly tagged PDF form.
|
Constructor and Description |
---|
StructureItems(PdfReader reader)
Creates a list of StructuredItem objects.
|
Modifier and Type | Method and Description |
---|---|
void |
OCGRemover.removeLayers(PdfReader reader, String... layers)
Removes layers from a PDF document
|
Modifier and Type | Field and Description |
---|---|
protected PdfReader |
TaggedPdfReaderTool.reader
The reader object from which the content streams are read.
|
Modifier and Type | Method and Description |
---|---|
void |
TaggedPdfReaderTool.convertToXml(PdfReader reader, OutputStream os)
Parses a string with structured content.
|
void |
TaggedPdfReaderTool.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 reader
|
static String |
PdfTextExtractor.getTextFromPage(PdfReader reader, int pageNumber)
Extract text from a specified page using the default strategy.
|
static String |
PdfTextExtractor.getTextFromPage(PdfReader reader, int pageNumber, TextExtractionStrategy strategy)
Extract text from a specified page using an extraction strategy.
|
static String |
PdfTextExtractor.getTextFromPage(PdfReader reader, int pageNumber, TextExtractionStrategy strategy, Map<String,ContentOperator> additionalContentOperators)
Extract text from a specified page using an extraction strategy.
|
static void |
PdfContentReaderTool.listContentStreamForPage(PdfReader reader, int pageNum, PrintWriter out)
Writes information about a specific page from PdfReader to the specified output stream.
|
Constructor and Description |
---|
PdfReaderContentParser(PdfReader reader) |
Modifier and Type | Field and Description |
---|---|
protected PdfReader |
LtvVerifier.reader
A reader object for the revision that is being verified.
|
Modifier and Type | Method and Description |
---|---|
static void |
MakeSignature.signDeferred(PdfReader reader, String fieldName, OutputStream outs, ExternalSignatureContainer externalSignatureContainer)
Signs a PDF where space was already reserved.
|
Constructor and Description |
---|
LtvVerifier(PdfReader reader)
Creates a VerificationData object for a PdfReader
|
Modifier and Type | Field and Description |
---|---|
protected PdfReader |
SmartPdfSplitter.reader |
Constructor and Description |
---|
SmartPdfSplitter(PdfReader reader) |
Copyright © 2016. All rights reserved.