Package | Description |
---|---|
org.apache.pdfbox |
This package holds executable classes that interact with the PDFBox application.
|
org.apache.pdfbox.cos |
These are the low level objects that make up a PDF document.
|
org.apache.pdfbox.pdfwriter |
This is the persistence layer used to write the PDFBox documents to a stream.
|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.common |
High level PD classes that are used throughout several packages are placed in the PDModel common package.
|
org.apache.pdfbox.pdmodel.fdf |
The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.
|
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible |
This is the visual signature part that help creating the visual representation for the digital signature.
|
org.apache.pdfbox.util |
This package contains utility classes that are used by the PDFBox project.
|
Modifier and Type | Method | Description |
---|---|---|
void |
WriteDecodedDoc.doIt(java.lang.String in,
java.lang.String out) |
Deprecated.
|
void |
WriteDecodedDoc.doIt(java.lang.String in,
java.lang.String out,
java.lang.String password,
boolean useNonSeqParser) |
This will perform the document reading, decoding and writing.
|
static void |
Overlay.main(java.lang.String[] args) |
This will overlay a document and write out the results.
usage: java org.apache.pdfbox.Overlay <overlay.pdf> <document.pdf> <result.pdf> |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
COSArray.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
abstract java.lang.Object |
COSBase.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSBoolean.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSDictionary.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSDocument.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSFloat.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSInteger.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSName.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSNull.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSObject.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSStream.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSString.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
java.lang.Object |
COSUnread.accept(ICOSVisitor visitor) |
|
java.lang.Object |
ICOSVisitor.visitFromArray(COSArray obj) |
Notification of visit to Array object.
|
java.lang.Object |
ICOSVisitor.visitFromBoolean(COSBoolean obj) |
Notification of visit to boolean object.
|
java.lang.Object |
ICOSVisitor.visitFromDictionary(COSDictionary obj) |
Notification of visit to dictionary object.
|
java.lang.Object |
ICOSVisitor.visitFromDocument(COSDocument obj) |
Notification of visit to document object.
|
java.lang.Object |
ICOSVisitor.visitFromFloat(COSFloat obj) |
Notification of visit to float object.
|
java.lang.Object |
ICOSVisitor.visitFromInt(COSInteger obj) |
Notification of visit to integer object.
|
java.lang.Object |
ICOSVisitor.visitFromName(COSName obj) |
Notification of visit to name object.
|
java.lang.Object |
ICOSVisitor.visitFromNull(COSNull obj) |
Notification of visit to null object.
|
java.lang.Object |
ICOSVisitor.visitFromStream(COSStream obj) |
Notification of visit to stream object.
|
java.lang.Object |
ICOSVisitor.visitFromString(COSString obj) |
Notification of visit to string object.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
COSWriter.doWriteBody(COSDocument doc) |
This will write the body of the document.
|
void |
COSWriter.doWriteObject(COSBase obj) |
This will write a COS object.
|
protected void |
COSWriter.doWriteTrailer(COSDocument doc) |
This will write the trailer to the PDF document.
|
java.lang.Object |
COSWriter.visitFromArray(COSArray obj) |
visitFromArray method comment.
|
java.lang.Object |
COSWriter.visitFromBoolean(COSBoolean obj) |
visitFromBoolean method comment.
|
java.lang.Object |
COSWriter.visitFromDictionary(COSDictionary obj) |
visitFromDictionary method comment.
|
java.lang.Object |
COSWriter.visitFromDocument(COSDocument doc) |
The visit from document method.
|
java.lang.Object |
COSWriter.visitFromFloat(COSFloat obj) |
visitFromFloat method comment.
|
java.lang.Object |
COSWriter.visitFromInt(COSInteger obj) |
visitFromFloat method comment.
|
java.lang.Object |
COSWriter.visitFromName(COSName obj) |
visitFromName method comment.
|
java.lang.Object |
COSWriter.visitFromNull(COSNull obj) |
visitFromNull method comment.
|
java.lang.Object |
COSWriter.visitFromStream(COSStream obj) |
visitFromStream method comment.
|
java.lang.Object |
COSWriter.visitFromString(COSString obj) |
visitFromString method comment.
|
void |
COSWriter.write(COSDocument doc) |
This will write the pdf document.
|
void |
COSWriter.write(PDDocument doc) |
This will write the pdf document.
|
void |
COSWriter.writeReference(COSBase obj) |
visitFromObjRef method comment.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDDocument.save(java.io.File file) |
Save the document to a file.
|
void |
PDDocument.save(java.io.OutputStream output) |
This will save the document to an output stream.
|
void |
PDDocument.save(java.lang.String fileName) |
Save the document to a file.
|
void |
PDDocument.saveIncremental(java.io.InputStream input,
java.io.OutputStream output) |
Save the pdf as incremental.
|
void |
PDDocument.saveIncremental(java.lang.String fileName) |
Save the pdf as incremental.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
COSStreamArray.accept(ICOSVisitor visitor) |
visitor pattern double dispatch method.
|
Modifier and Type | Method | Description |
---|---|---|
void |
FDFDocument.save(java.io.File fileName) |
This will save this document to the filesystem.
|
void |
FDFDocument.save(java.io.OutputStream output) |
This will save the document to an output stream.
|
void |
FDFDocument.save(java.lang.String fileName) |
This will save this document to the filesystem.
|
void |
FDFDocument.saveXFDF(java.io.File fileName) |
This will save this document to the filesystem.
|
void |
FDFDocument.saveXFDF(java.io.Writer output) |
This will save the document to an output stream and close the stream.
|
void |
FDFDocument.saveXFDF(java.lang.String fileName) |
This will save this document to the filesystem.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.ByteArrayInputStream |
PDFTemplateStructure.getTemplateAppearanceStream() |
Gets AP of the created template
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDFMergerUtility.mergeDocuments() |
Merge the list of source documents, saving the result in the destination
file.
|
void |
PDFMergerUtility.mergeDocumentsNonSeq(RandomAccess scratchFile) |
Merge the list of source documents with the non sequential parser, saving
the result in the destination file.
|
void |
Overlay.overlay(java.util.Map<java.lang.Integer,java.lang.String> specificPageOverlayFile,
boolean useNonSeqParser) |
This will add overlays to a documents.
|