Package | Description |
---|---|
org.apache.pdfbox.cos |
These are the low level objects that make up a PDF document.
|
org.apache.pdfbox.pdfparser |
The pdfparser package contains classes to parse PDF documents and objects within the 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 |
The digitial signature library will manage signatures that are stored in the PDF 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.preflight | |
org.apache.pdfbox.preflight.content | |
org.apache.pdfbox.preflight.font | |
org.apache.pdfbox.preflight.process | |
org.apache.pdfbox.preflight.utils | |
org.apache.pdfbox.preflight.xobject |
Modifier and Type | Method and Description |
---|---|
Object |
ICOSVisitor.visitFromDocument(COSDocument obj)
Notification of visit to document object.
|
Modifier and Type | Field and Description |
---|---|
protected COSDocument |
BaseParser.document
This is the document that will be parsed.
|
Modifier and Type | Method and Description |
---|---|
COSDocument |
COSParser.getDocument()
This will get the document that was parsed.
|
Constructor and Description |
---|
PDFObjectStreamParser(COSStream stream,
COSDocument document)
Constructor.
|
PDFXRefStream(COSDocument cosDocument)
Create a fresh XRef stream like for a fresh file or an incremental update.
|
PDFXrefStreamParser(COSStream stream,
COSDocument document,
XrefTrailerResolver resolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
COSWriter.doWriteBody(COSDocument doc)
This will write the body of the document.
|
protected void |
COSWriter.doWriteHeader(COSDocument doc)
This will write the header to the PDF document.
|
protected void |
COSWriter.doWriteTrailer(COSDocument doc)
This will write the trailer to the PDF document.
|
Object |
COSWriter.visitFromDocument(COSDocument doc) |
void |
COSWriter.write(COSDocument doc)
This will write the pdf document.
|
Modifier and Type | Method and Description |
---|---|
COSDocument |
PDDocument.getDocument()
This will get the low level document.
|
Constructor and Description |
---|
PDDocument(COSDocument doc)
Constructor that uses an existing document.
|
PDDocument(COSDocument doc,
RandomAccessRead source)
Constructor that uses an existing document.
|
PDDocument(COSDocument doc,
RandomAccessRead source,
AccessPermission permission)
Constructor that uses an existing document.
|
Constructor and Description |
---|
PDStream(COSDocument document)
Creates a new PDStream object.
|
Modifier and Type | Method and Description |
---|---|
COSDocument |
FDFDocument.getDocument()
This will get the low level document.
|
Constructor and Description |
---|
FDFDocument(COSDocument doc)
Constructor that uses an existing document.
|
Modifier and Type | Method and Description |
---|---|
COSDocument |
SignatureOptions.getVisualSignature()
Get the visual signature.
|
Modifier and Type | Method and Description |
---|---|
COSDocument |
PDFTemplateStructure.getVisualSignature()
Gets COSDocument of visible Signature.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFTemplateStructure.setVisualSignature(COSDocument visualSignature)
Sets COSDocument of visible Signature.
|
Constructor and Description |
---|
PreflightDocument(COSDocument doc,
Format format)
Create a preflight document based on the COSDocument and load the default configuration for the given format.
|
PreflightDocument(COSDocument doc,
Format format,
PreflightConfiguration config)
Create a preflight document based on the COSDocument that will use the given configuration bean to process the
validation. if the configuration is null, a default configuration will be load using the given format.
|
Modifier and Type | Field and Description |
---|---|
protected COSDocument |
PreflightStreamEngine.cosDocument |
Modifier and Type | Field and Description |
---|---|
protected COSDocument |
Type3FontValidator.cosDocument |
protected COSDocument |
Type0FontValidator.cosDocument |
protected COSDocument |
DescendantFontValidator.cosDocument |
Modifier and Type | Method and Description |
---|---|
protected boolean |
TrailerValidationProcess.compareIds(COSDictionary first,
COSDictionary last,
COSDocument cosDocument)
Return true if the ID of the first dictionary is the same as the id of the last dictionary Return false
otherwise.
|
Modifier and Type | Method and Description |
---|---|
static void |
COSUtils.closeDocumentQuietly(COSDocument document)
Close the given Document.
|
static COSArray |
COSUtils.getAsArray(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as COSArray if the COSBase object is an instance of COSArray or a reference to a
COSArray object.
|
static COSDictionary |
COSUtils.getAsDictionary(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as COSDictionary if the COSBase object is an instance of COSDictionary or a reference
to a COSDictionary object.
|
static Float |
COSUtils.getAsFloat(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as Float if the COSBase object is an instance of COSFloat or a reference to a COSFloat
object.
|
static Integer |
COSUtils.getAsInteger(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as Integer if the COSBase object is an instance of COSInteger or a reference to a
COSInteger object.
|
static COSStream |
COSUtils.getAsStream(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as COSStream if the COSBase object is an instance of COSStream or a reference to a
COSStream object.
|
static String |
COSUtils.getAsString(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as String if the COSBase object is an instance of COSString or
COSName or a reference to it.
|
static boolean |
COSUtils.isArray(COSBase elt,
COSDocument doc)
return true if the elt is a COSArray or a reference to a COSArray
|
static boolean |
COSUtils.isDictionary(COSBase elt,
COSDocument doc)
return true if the elt is a COSDictionary or a reference to a COSDictionary
|
static boolean |
COSUtils.isFloat(COSBase elt,
COSDocument doc)
return true if the elt is a COSFloat or a reference to a COSFloat
|
static boolean |
COSUtils.isInteger(COSBase elt,
COSDocument doc)
return true if the elt is a COSInteger or a reference to a COSInteger
|
static boolean |
COSUtils.isNumeric(COSBase elt,
COSDocument doc)
return true if elt is COSInteger or COSFloat
|
static boolean |
COSUtils.isStream(COSBase elt,
COSDocument doc)
return true if the elt is a COSStream or a reference to a COSStream
|
static boolean |
COSUtils.isString(COSBase elt,
COSDocument doc)
return true if the elt is a COSString or a COSName or a reference to it.
|
Modifier and Type | Field and Description |
---|---|
protected COSDocument |
AbstractXObjValidator.cosDocument
The PDF document as COSDocument.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.