Package | Description |
---|---|
org.apache.pdfbox.debugger | |
org.apache.pdfbox.debugger.flagbitspane | |
org.apache.pdfbox.debugger.pagepane | |
org.apache.pdfbox.debugger.ui | |
org.apache.pdfbox.multipdf | |
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.common.filespecification |
The file specification package defines classes that are used for the PDF File Specification logic.
|
org.apache.pdfbox.pdmodel.encryption |
The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
org.apache.pdfbox.pdmodel.graphics |
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
|
org.apache.pdfbox.pdmodel.graphics.color |
This package deals with colors that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.graphics.form |
This package deals with Form XObjects that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.graphics.image |
This package deals with images that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.interactive.annotation |
The annotation package contains classes that work with PDF annotation elements.
|
org.apache.pdfbox.pdmodel.interactive.annotation.handlers | |
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.pdmodel.interactive.documentnavigation.outline |
The outline package allows for a PDF outline(bookmarks) to be created.
|
org.apache.pdfbox.pdmodel.interactive.form |
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
|
org.apache.pdfbox.preflight | |
org.apache.pdfbox.preflight.metadata | |
org.apache.pdfbox.preflight.parser | |
org.apache.pdfbox.preflight.process | |
org.apache.pdfbox.preflight.utils | |
org.apache.pdfbox.printing | |
org.apache.pdfbox.rendering | |
org.apache.pdfbox.text | |
org.apache.pdfbox.tools |
Modifier and Type | Field and Description |
---|---|
private PDDocument |
PDFDebugger.document |
Modifier and Type | Method and Description |
---|---|
(package private) abstract PDDocument |
PDFDebugger.DocumentOpener.open()
Override to load the actual input type (File, URL, stream), don't call it directly!
|
(package private) PDDocument |
PDFDebugger.DocumentOpener.parse()
Call this!
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
PDFDebugger.getPageLabel(PDDocument document,
int pageIndex)
Convenience method to get the page label if available.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
FlagBitsPane.document |
private PDDocument |
SigFlag.document |
Constructor and Description |
---|
FlagBitsPane(PDDocument document,
COSDictionary dictionary,
COSName flagType)
Constructor.
|
SigFlag(PDDocument document,
COSDictionary acroFormDictionary)
Constructor
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
PagePane.document |
Constructor and Description |
---|
PagePane(PDDocument document,
COSDictionary pageDict,
javax.swing.JLabel statuslabel) |
Modifier and Type | Field and Description |
---|---|
private PDDocument |
DocumentEntry.doc |
Constructor and Description |
---|
DocumentEntry(PDDocument doc,
java.lang.String filename) |
PDFTreeModel(PDDocument doc)
Constructor to take a document.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
Overlay.allPagesOverlay |
private PDDocument |
Splitter.currentDestinationDocument |
private PDDocument |
Overlay.defaultOverlay |
private PDDocument |
PDFCloneUtility.destination |
private PDDocument |
Overlay.evenPageOverlay |
private PDDocument |
Overlay.firstPageOverlay |
private PDDocument |
Overlay.inputPDFDocument |
private PDDocument |
Overlay.lastPageOverlay |
private PDDocument |
Overlay.oddPageOverlay |
private PDDocument |
Splitter.sourceDocument |
private PDDocument |
PageExtractor.sourceDocument |
private PDDocument |
LayerUtility.targetDoc |
Modifier and Type | Field and Description |
---|---|
private java.util.List<PDDocument> |
Splitter.destinationDocuments |
private java.util.Set<PDDocument> |
Overlay.openDocuments |
Modifier and Type | Method and Description |
---|---|
protected PDDocument |
Splitter.createNewDocument()
Create a new document to write the split contents to.
|
PDDocument |
PageExtractor.extract()
This will take a document and extract the desired pages into a new
document.
|
PDDocument |
PDFCloneUtility.getDestination()
Returns the destination PDF document this cloner instance is set up for.
|
protected PDDocument |
Splitter.getDestinationDocument()
The source PDF document.
|
PDDocument |
LayerUtility.getDocument()
Returns the PDF document we work on.
|
protected PDDocument |
Splitter.getSourceDocument()
The source PDF document.
|
private PDDocument |
Overlay.loadPDF(java.lang.String pdfName) |
PDDocument |
Overlay.overlay(java.util.Map<java.lang.Integer,java.lang.String> specificPageOverlayFile)
This will add overlays to a document.
|
PDDocument |
Overlay.overlayDocuments(java.util.Map<java.lang.Integer,PDDocument> specificPageOverlayDocuments)
This will add overlays documents to a document.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PDDocument> |
Splitter.split(PDDocument document)
This will take a document and split into several other documents.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFMergerUtility.appendDocument(PDDocument destination,
PDDocument source)
append all pages from source to destination.
|
private Overlay.LayoutPage |
Overlay.getLayoutPage(PDDocument doc) |
private java.util.Map<java.lang.Integer,Overlay.LayoutPage> |
Overlay.getLayoutPages(PDDocument doc) |
private void |
LayerUtility.importOcProperties(PDDocument srcDoc)
Imports OCProperties from source document to target document so hidden layers can still be
hidden after import.
|
PDFormXObject |
LayerUtility.importPageAsForm(PDDocument sourceDoc,
int pageNumber)
Imports a page from some PDF file as a Form XObject so it can be placed on another page
in the target document.
|
PDFormXObject |
LayerUtility.importPageAsForm(PDDocument sourceDoc,
PDPage page)
Imports a page from some PDF file as a Form XObject so it can be placed on another page
in the target document.
|
private void |
Overlay.processPages(PDDocument document) |
void |
Overlay.setAllPagesOverlayPDF(PDDocument allPagesOverlayPDF)
Sets the all pages overlay PDF.
|
void |
Overlay.setDefaultOverlayPDF(PDDocument defaultOverlayPDF)
Sets the default overlay PDF.
|
void |
Overlay.setEvenPageOverlayPDF(PDDocument evenPageOverlayPDF)
Sets the even page overlay PDF.
|
void |
Overlay.setFirstPageOverlayPDF(PDDocument firstPageOverlayPDF)
Sets the first page overlay PDF.
|
void |
Overlay.setInputPDF(PDDocument inputPDF)
Sets the PDF to be overlaid.
|
void |
Overlay.setLastPageOverlayPDF(PDDocument lastPageOverlayPDF)
Sets the last page overlay PDF.
|
void |
Overlay.setOddPageOverlayPDF(PDDocument oddPageOverlayPDF)
Sets the odd page overlay PDF.
|
java.util.List<PDDocument> |
Splitter.split(PDDocument document)
This will take a document and split into several other documents.
|
Modifier and Type | Method and Description |
---|---|
PDDocument |
Overlay.overlayDocuments(java.util.Map<java.lang.Integer,PDDocument> specificPageOverlayDocuments)
This will add overlays documents to a document.
|
Constructor and Description |
---|
LayerUtility(PDDocument document)
Creates a new instance.
|
PageExtractor(PDDocument sourceDocument)
Creates a new instance of PageExtractor
|
PageExtractor(PDDocument sourceDocument,
int startPage,
int endPage)
Creates a new instance of PageExtractor
|
PDFCloneUtility(PDDocument dest)
Creates a new instance for the given target document.
|
Modifier and Type | Method and Description |
---|---|
PDDocument |
PDFParser.getPDDocument()
This will get the PD document that was parsed.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
COSWriter.pdDocument |
Modifier and Type | Method and Description |
---|---|
private void |
COSWriter.prepareIncrement(PDDocument doc) |
void |
COSWriter.write(PDDocument doc)
This will write the pdf document.
|
void |
COSWriter.write(PDDocument doc,
SignatureInterface signInterface)
This will write the pdf document.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
PDDocumentCatalog.document |
protected PDDocument |
PDAbstractContentStream.document |
private PDDocument |
PDPageTree.document |
private PDDocument |
PDPageContentStream.document |
Modifier and Type | Method and Description |
---|---|
static PDDocument |
PDDocument.load(byte[] input)
Parses a PDF.
|
static PDDocument |
PDDocument.load(byte[] input,
java.lang.String password)
Parses a PDF.
|
static PDDocument |
PDDocument.load(byte[] input,
java.lang.String password,
java.io.InputStream keyStore,
java.lang.String alias)
Parses a PDF.
|
static PDDocument |
PDDocument.load(byte[] input,
java.lang.String password,
java.io.InputStream keyStore,
java.lang.String alias,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.File file)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.File file,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.File file,
java.lang.String password)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.File file,
java.lang.String password,
java.io.InputStream keyStore,
java.lang.String alias)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.File file,
java.lang.String password,
java.io.InputStream keyStore,
java.lang.String alias,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.File file,
java.lang.String password,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.InputStream input)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.InputStream input,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.InputStream input,
java.lang.String password)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.InputStream input,
java.lang.String password,
java.io.InputStream keyStore,
java.lang.String alias)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.InputStream input,
java.lang.String password,
java.io.InputStream keyStore,
java.lang.String alias,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(java.io.InputStream input,
java.lang.String password,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
private static PDDocument |
PDDocument.load(RandomAccessBufferedFileInputStream raFile,
java.lang.String password,
java.io.InputStream keyStore,
java.lang.String alias,
MemoryUsageSetting memUsageSetting) |
Constructor and Description |
---|
PDAbstractContentStream(PDDocument document,
java.io.OutputStream outputStream,
PDResources resources)
Create a new appearance stream.
|
PDDocumentCatalog(PDDocument doc)
Constructor.
|
PDDocumentCatalog(PDDocument doc,
COSDictionary rootDictionary)
Constructor.
|
PDPageContentStream(PDDocument doc,
PDAppearanceStream appearance)
Create a new appearance stream.
|
PDPageContentStream(PDDocument doc,
PDAppearanceStream appearance,
java.io.OutputStream outputStream)
Create a new appearance stream.
|
PDPageContentStream(PDDocument doc,
PDFormXObject form,
java.io.OutputStream outputStream)
Create a new appearance stream.
|
PDPageContentStream(PDDocument document,
PDPage sourcePage)
Create a new PDPage content stream.
|
PDPageContentStream(PDDocument document,
PDPage sourcePage,
boolean appendContent,
boolean compress)
|
PDPageContentStream(PDDocument document,
PDPage sourcePage,
boolean appendContent,
boolean compress,
boolean resetContext)
|
PDPageContentStream(PDDocument document,
PDPage sourcePage,
PDPageContentStream.AppendMode appendContent,
boolean compress)
Create a new PDPage content stream.
|
PDPageContentStream(PDDocument document,
PDPage sourcePage,
PDPageContentStream.AppendMode appendContent,
boolean compress,
boolean resetContext)
Create a new PDPage content stream.
|
PDPageContentStream(PDDocument doc,
PDTilingPattern pattern,
java.io.OutputStream outputStream)
Create a new appearance stream.
|
PDPageTree(COSDictionary root,
PDDocument document)
Constructor for reading.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
PDPageLabels.doc |
Modifier and Type | Method and Description |
---|---|
static PDObjectStream |
PDObjectStream.createStream(PDDocument document)
This will create a new PDObjectStream object.
|
Constructor and Description |
---|
PDMetadata(PDDocument document)
This will create a new PDMetadata object.
|
PDMetadata(PDDocument doc,
java.io.InputStream str)
Constructor.
|
PDPageLabels(PDDocument document)
Creates an empty page label dictionary for the given document.
|
PDPageLabels(PDDocument document,
COSDictionary dict)
Creates an page label dictionary for a document using the information in
the given COS dictionary.
|
PDStream(PDDocument document)
Creates a new empty PDStream object.
|
PDStream(PDDocument doc,
java.io.InputStream input)
Constructor.
|
PDStream(PDDocument doc,
java.io.InputStream input,
COSArray filters)
Constructor.
|
PDStream(PDDocument doc,
java.io.InputStream input,
COSBase filters)
Constructor.
|
PDStream(PDDocument doc,
java.io.InputStream input,
COSName filter)
Constructor.
|
Constructor and Description |
---|
PDEmbeddedFile(PDDocument document)
Constructor.
|
PDEmbeddedFile(PDDocument doc,
java.io.InputStream str)
Constructor.
|
PDEmbeddedFile(PDDocument doc,
java.io.InputStream input,
COSName filter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SecurityHandler.prepareDocumentForEncryption(PDDocument doc)
Prepare the document for encryption.
|
void |
StandardSecurityHandler.prepareDocumentForEncryption(PDDocument document)
Prepare document for encryption.
|
void |
PublicKeySecurityHandler.prepareDocumentForEncryption(PDDocument doc)
Prepare the document for encryption.
|
private void |
StandardSecurityHandler.prepareEncryptionDictRev2345(java.lang.String ownerPassword,
java.lang.String userPassword,
PDEncryption encryptionDictionary,
int permissionInt,
PDDocument document,
int revision,
int length) |
Modifier and Type | Field and Description |
---|---|
private PDDocument |
TrueTypeEmbedder.document |
private PDDocument |
PDCIDFontType2Embedder.document |
Modifier and Type | Method and Description |
---|---|
static PDType0Font |
PDType0Font.load(PDDocument doc,
java.io.File file)
Loads a TTF to be embedded and subset into a document as a Type 0 font.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
java.io.File file,
Encoding encoding)
Loads a TTF to be embedded into a document as a simple font.
|
static PDType0Font |
PDType0Font.load(PDDocument doc,
java.io.InputStream input)
Loads a TTF to be embedded and subset into a document as a Type 0 font.
|
static PDType0Font |
PDType0Font.load(PDDocument doc,
java.io.InputStream input,
boolean embedSubset)
Loads a TTF to be embedded into a document as a Type 0 font.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
java.io.InputStream input,
Encoding encoding)
Loads a TTF to be embedded into a document as a simple font.
|
static PDType0Font |
PDType0Font.load(PDDocument doc,
TrueTypeFont ttf,
boolean embedSubset)
Loads a TTF to be embedded into a document as a Type 0 font.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
TrueTypeFont ttf,
Encoding encoding)
Loads a TTF to be embedded into a document as a simple font.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.io.File file)
Deprecated.
Use
PDType0Font.load(PDDocument, File) instead. |
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.io.InputStream input)
Deprecated.
Use
PDType0Font.load(PDDocument, InputStream) instead. |
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
java.io.File file)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
java.io.InputStream input)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
java.io.InputStream input,
boolean embedSubset)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
TrueTypeFont ttf,
boolean embedSubset)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
Constructor and Description |
---|
PDCIDFontType2Embedder(PDDocument document,
COSDictionary dict,
TrueTypeFont ttf,
boolean embedSubset,
PDType0Font parent,
boolean vertical)
Creates a new TrueType font embedder for the given TTF as a PDCIDFontType2.
|
PDTrueTypeFont(PDDocument document,
TrueTypeFont ttf,
Encoding encoding,
boolean closeTTF)
Creates a new TrueType font for embedding.
|
PDTrueTypeFontEmbedder(PDDocument document,
COSDictionary dict,
TrueTypeFont ttf,
Encoding encoding)
Creates a new TrueType font embedder for the given TTF as a PDTrueTypeFont.
|
PDType0Font(PDDocument document,
TrueTypeFont ttf,
boolean embedSubset,
boolean closeTTF,
boolean vertical)
Private.
|
PDType1Font(PDDocument doc,
java.io.InputStream pfbIn)
Creates a new Type 1 font for embedding.
|
PDType1Font(PDDocument doc,
java.io.InputStream pfbIn,
Encoding encoding)
Creates a new Type 1 font for embedding.
|
PDType1FontEmbedder(PDDocument doc,
COSDictionary dict,
java.io.InputStream pfbStream,
Encoding encoding)
This will load a PFB to be embedded into a document.
|
TrueTypeEmbedder(PDDocument document,
COSDictionary dict,
TrueTypeFont ttf,
boolean embedSubset)
Creates a new TrueType font for embedding.
|
Constructor and Description |
---|
PDXObject(PDDocument document,
COSName subtype)
Creates a new XObject of the given subtype for writing.
|
Modifier and Type | Method and Description |
---|---|
private PDStream |
PDOutputIntent.configureOutputProfile(PDDocument doc,
java.io.InputStream colorProfile) |
Constructor and Description |
---|
PDICCBased(PDDocument doc)
Creates a new ICC color space with an empty stream.
|
PDOutputIntent(PDDocument doc,
java.io.InputStream colorProfile) |
Constructor and Description |
---|
PDFormXObject(PDDocument document)
Creates a Form Image XObject for writing, in the given document.
|
PDTransparencyGroup(PDDocument document)
Creates a Transparency Group for writing, in the given document.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
LosslessFactory.PredictorEncoder.document |
Modifier and Type | Method and Description |
---|---|
private static PDImageXObject |
PNGConverter.buildImageObject(PDDocument document,
PNGConverter.PNGConverterState state)
Build the base image object from the IDATs and profile information
|
private static PDImageXObject |
PNGConverter.buildIndexImage(PDDocument doc,
PNGConverter.PNGConverterState state)
Build a indexed image
|
private static PDImageXObject |
PNGConverter.buildTransparencyMaskFromIndexedData(PDDocument doc,
PDImageXObject image,
PNGConverter.PNGConverterState state) |
private static PDImageXObject |
PNGConverter.convertPng(PDDocument doc,
PNGConverter.PNGConverterState state)
Convert the image using the state.
|
(package private) static PDImageXObject |
PNGConverter.convertPNGImage(PDDocument doc,
byte[] imageData)
Try to convert a PNG into a PDImageXObject.
|
static PDImageXObject |
JPEGFactory.createFromByteArray(PDDocument document,
byte[] byteArray)
Creates a new JPEG Image XObject from a byte array containing JPEG data.
|
static PDImageXObject |
CCITTFactory.createFromByteArray(PDDocument document,
byte[] byteArray)
Creates a new CCITT Fax compressed image XObject from a specific image of a TIFF file stored
in a byte array.
|
static PDImageXObject |
CCITTFactory.createFromByteArray(PDDocument document,
byte[] byteArray,
int number)
Creates a new CCITT Fax compressed image XObject from a specific image of a TIFF file stored
in a byte array.
|
static PDImageXObject |
PDImageXObject.createFromByteArray(PDDocument document,
byte[] byteArray,
java.lang.String name)
Create a PDImageXObject from bytes of an image file.
|
static PDImageXObject |
CCITTFactory.createFromFile(PDDocument document,
java.io.File file)
Creates a new CCITT Fax compressed image XObject from the first image of a TIFF file.
|
static PDImageXObject |
CCITTFactory.createFromFile(PDDocument document,
java.io.File file,
int number)
Creates a new CCITT Fax compressed image XObject from a specific image of a TIFF file.
|
static PDImageXObject |
PDImageXObject.createFromFile(java.lang.String imagePath,
PDDocument doc)
Create a PDImageXObject from an image file, see
PDImageXObject.createFromFileByExtension(File, PDDocument) for
more details. |
static PDImageXObject |
PDImageXObject.createFromFileByContent(java.io.File file,
PDDocument doc)
Create a PDImageXObject from an image file.
|
static PDImageXObject |
PDImageXObject.createFromFileByExtension(java.io.File file,
PDDocument doc)
Create a PDImageXObject from an image file.
|
private static PDImageXObject |
LosslessFactory.createFromGrayImage(java.awt.image.BufferedImage image,
PDDocument document) |
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image)
Creates a new JPEG PDImageXObject from a BufferedImage.
|
static PDImageXObject |
CCITTFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image)
Creates a new CCITT group 4 (T6) compressed image XObject from a b/w BufferedImage.
|
static PDImageXObject |
LosslessFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image)
Creates a new lossless encoded image XObject from a BufferedImage.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image,
float quality)
Creates a new JPEG PDImageXObject from a BufferedImage and a given quality.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image,
float quality,
int dpi)
Creates a new JPEG Image XObject from a BufferedImage, a given quality and dpi metadata.
|
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader)
Deprecated.
Use
CCITTFactory.createFromFile(PDDocument, File) instead. |
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader,
int number)
Deprecated.
Use
CCITTFactory.createFromFile(PDDocument, File, int) instead. |
private static PDImageXObject |
CCITTFactory.createFromRandomAccessImpl(PDDocument document,
RandomAccess reader,
int number)
Creates a new CCITT Fax compressed image XObject from a TIFF file.
|
private static PDImageXObject |
LosslessFactory.createFromRGBImage(java.awt.image.BufferedImage image,
PDDocument document) |
static PDImageXObject |
JPEGFactory.createFromStream(PDDocument document,
java.io.InputStream stream)
Creates a new JPEG Image XObject from an input stream containing JPEG data.
|
private static PDImageXObject |
JPEGFactory.createJPEG(PDDocument document,
java.awt.image.BufferedImage image,
float quality,
int dpi) |
private static COSStream |
PDImageXObject.createRawStream(PDDocument document,
java.io.InputStream rawInput)
Creates a COS stream from raw (encoded) data.
|
(package private) static PDImageXObject |
LosslessFactory.prepareImageXObject(PDDocument document,
byte[] byteArray,
int width,
int height,
int bitsPerComponent,
PDColorSpace initColorSpace)
Create a PDImageXObject using the Flate filter.
|
private static PDImageXObject |
CCITTFactory.prepareImageXObject(PDDocument document,
byte[] byteArray,
int width,
int height,
PDColorSpace initColorSpace) |
private static void |
PNGConverter.setupIndexedColorSpace(PDDocument doc,
PNGConverter.Chunk lookupTable,
PDImageXObject image,
int highVal) |
Constructor and Description |
---|
PDImageXObject(PDDocument document)
Creates an Image XObject in the given document.
|
PDImageXObject(PDDocument document,
java.io.InputStream encodedStream,
COSBase cosFilter,
int width,
int height,
int bitsPerComponent,
PDColorSpace initColorSpace)
Creates an Image XObject in the given document using the given filtered stream.
|
PredictorEncoder(PDDocument document,
java.awt.image.BufferedImage image)
Initialize the encoder and set all final fields
|
Modifier and Type | Method and Description |
---|---|
void |
PDAnnotationText.constructAppearances(PDDocument document) |
void |
PDAnnotation.constructAppearances(PDDocument document)
Create the appearance entry for this annotation.
|
void |
PDAnnotationLink.constructAppearances(PDDocument document) |
void |
PDAnnotationTextMarkup.constructAppearances(PDDocument document) |
void |
PDAnnotationSquareCircle.constructAppearances(PDDocument document) |
void |
PDAnnotationMarkup.constructAppearances(PDDocument document) |
void |
PDAnnotationLine.constructAppearances(PDDocument document) |
Constructor and Description |
---|
PDAppearanceStream(PDDocument document)
Creates a Form Image XObject for writing, in the given document.
|
Modifier and Type | Field and Description |
---|---|
protected PDDocument |
PDAbstractAppearanceHandler.document |
Modifier and Type | Field and Description |
---|---|
private PDDocument |
PDFTemplateStructure.template |
Modifier and Type | Method and Description |
---|---|
PDDocument |
PDFTemplateStructure.getTemplate()
Gets PDDocument template.
|
Modifier and Type | Method and Description |
---|---|
private void |
PDVisibleSignDesigner.calculatePageSize(PDDocument document,
int page)
Each page of document can be different sizes.
|
void |
PDFTemplateBuilder.closeTemplate(PDDocument template)
Closes template
|
void |
PDVisibleSigBuilder.closeTemplate(PDDocument template) |
void |
PDFTemplateBuilder.createAcroForm(PDDocument template)
Creates Acro forms in the template.
|
void |
PDVisibleSigBuilder.createAcroForm(PDDocument template) |
void |
PDFTemplateBuilder.createHolderFormStream(PDDocument template) |
void |
PDVisibleSigBuilder.createHolderFormStream(PDDocument template) |
void |
PDFTemplateBuilder.createImageFormStream(PDDocument template) |
void |
PDVisibleSigBuilder.createImageFormStream(PDDocument template) |
void |
PDFTemplateBuilder.createInnerFormStream(PDDocument template) |
void |
PDVisibleSigBuilder.createInnerFormStream(PDDocument template) |
void |
PDFTemplateBuilder.createSignatureImage(PDDocument template,
java.awt.image.BufferedImage image)
Creates signature image.
|
void |
PDVisibleSigBuilder.createSignatureImage(PDDocument template,
java.awt.image.BufferedImage image) |
void |
PDFTemplateBuilder.createVisualSignature(PDDocument template)
just to create visible signature
|
void |
PDVisibleSigBuilder.createVisualSignature(PDDocument template) |
void |
PDFTemplateStructure.setTemplate(PDDocument template)
Wets PDDocument template.
|
Constructor and Description |
---|
PDVisibleSignDesigner(PDDocument document,
java.awt.image.BufferedImage image,
int page)
Constructor.
|
PDVisibleSignDesigner(PDDocument document,
java.io.InputStream imageStream,
int page)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PDPage |
PDOutlineItem.findDestinationPage(PDDocument doc)
This method will attempt to find the page in this PDF document that this outline points to.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
PDAcroForm.document |
Modifier and Type | Method and Description |
---|---|
(package private) PDDocument |
PDAcroForm.getDocument()
This will get the document associated with this form.
|
Constructor and Description |
---|
PDAcroForm(PDDocument doc)
Constructor.
|
PDAcroForm(PDDocument doc,
COSDictionary form)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
PreflightDocument |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationResult.ValidationError> |
SynchronizedMetaDataValidation.validateMetadataSynchronization(PDDocument document,
XMPMetadata metadata)
Check if document information entries and XMP information are synchronized
|
Modifier and Type | Method and Description |
---|---|
PDDocument |
PreflightParser.getPDDocument() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ValidationResult.ValidationError> |
MetadataValidationProcess.checkStreamFilterUsage(PDDocument doc)
Check if metadata dictionary has no stream filter
|
protected COSDictionary |
TrailerValidationProcess.getLinearizedDictionary(PDDocument document)
According to the PDF Reference, A linearized PDF contain a dictionary as first object (linearized dictionary) and
only this one in the first section.
|
private static java.io.InputStream |
MetadataValidationProcess.getXpacket(PDDocument document)
Return the xpacket from the dictionary's stream
|
Modifier and Type | Method and Description |
---|---|
static void |
COSUtils.closeDocumentQuietly(PDDocument document)
Close the given Document.
|
Modifier and Type | Field and Description |
---|---|
private PDDocument |
PDFPageable.document |
private PDDocument |
PDFPrintable.document |
Constructor and Description |
---|
PDFPageable(PDDocument document)
Creates a new PDFPageable.
|
PDFPageable(PDDocument document,
Orientation orientation)
Creates a new PDFPageable with the given page orientation.
|
PDFPageable(PDDocument document,
Orientation orientation,
boolean showPageBorder)
Creates a new PDFPageable with the given page orientation and with optional page borders
shown.
|
PDFPageable(PDDocument document,
Orientation orientation,
boolean showPageBorder,
float dpi)
Creates a new PDFPageable with the given page orientation and with optional page borders
shown.
|
PDFPrintable(PDDocument document)
Creates a new PDFPrintable.
|
PDFPrintable(PDDocument document,
Scaling scaling)
Creates a new PDFPrintable with the given page scaling.
|
PDFPrintable(PDDocument document,
Scaling scaling,
boolean showPageBorder)
Creates a new PDFPrintable with the given page scaling and with optional page borders shown.
|
PDFPrintable(PDDocument document,
Scaling scaling,
boolean showPageBorder,
float dpi)
Creates a new PDFPrintable with the given page scaling and with optional page borders shown.
|
PDFPrintable(PDDocument document,
Scaling scaling,
boolean showPageBorder,
float dpi,
boolean center)
Creates a new PDFPrintable with the given page scaling and with optional page borders shown.
|
Modifier and Type | Field and Description |
---|---|
protected PDDocument |
PDFRenderer.document |
Constructor and Description |
---|
PDFRenderer(PDDocument document)
Creates a new PDFRenderer.
|
Modifier and Type | Field and Description |
---|---|
protected PDDocument |
PDFTextStripper.document |
Modifier and Type | Method and Description |
---|---|
protected void |
PDFTextStripper.endDocument(PDDocument document)
This method is available for subclasses of this class.
|
java.lang.String |
PDFTextStripper.getText(PDDocument doc)
This will return the text of a document.
|
protected void |
PDFTextStripper.startDocument(PDDocument document)
This method is available for subclasses of this class.
|
void |
PDFTextStripper.writeText(PDDocument doc,
java.io.Writer outputStream)
This will take a PDDocument and write the text of that document to the print writer.
|
Modifier and Type | Method and Description |
---|---|
PDDocument |
TextToPDF.createPDFFromText(java.io.Reader text)
Create a PDF document with some text.
|
Modifier and Type | Method and Description |
---|---|
private static void |
PDFToImage.changeCropBox(PDDocument document,
float a,
float b,
float c,
float d) |
void |
ExportFDF.close(PDDocument doc)
Close the document.
|
void |
ExportXFDF.close(PDDocument doc)
Close the document.
|
void |
ImportXFDF.close(PDDocument doc)
Close the document.
|
void |
ImportFDF.close(PDDocument doc)
Close the document.
|
(package private) void |
ImageToPDF.createPDFFromImages(PDDocument doc,
java.util.List<java.lang.String> imageFilenames) |
void |
TextToPDF.createPDFFromText(PDDocument doc,
java.io.Reader text)
Create a PDF document with some text.
|
void |
PDFText2HTML.endDocument(PDDocument document)
This method is available for subclasses of this class.
|
private void |
ExtractText.extractPages(int startPage,
int endPage,
PDFTextStripper stripper,
PDDocument document,
java.io.Writer output,
boolean rotationMagic,
boolean alwaysNext) |
void |
ImportXFDF.importFDF(PDDocument pdfDocument,
FDFDocument fdfDocument)
This will takes the values from the fdf document and import them into the
PDF document.
|
void |
ImportFDF.importFDF(PDDocument pdfDocument,
FDFDocument fdfDocument)
This will takes the values from the fdf document and import them into the
PDF document.
|
protected void |
PDFText2HTML.startDocument(PDDocument document) |
private static void |
PDFSplit.writeDocument(PDDocument doc,
java.lang.String fileName) |