Uses of Class
org.apache.pdfbox.pdmodel.PDDocument
-
Packages that use PDDocument Package Description 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.fixup org.apache.pdfbox.pdmodel.fixup.processor 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.printing org.apache.pdfbox.rendering org.apache.pdfbox.text -
-
Uses of PDDocument in org.apache.pdfbox.multipdf
Methods in org.apache.pdfbox.multipdf that return PDDocument Modifier and Type Method Description protected PDDocumentSplitter. createNewDocument()Create a new document to write the split contents to.PDDocumentPageExtractor. extract()This will take a document and extract the desired pages into a new document.PDDocumentPDFCloneUtility. getDestination()Returns the destination PDF document this cloner instance is set up for.protected PDDocumentSplitter. getDestinationDocument()The source PDF document.PDDocumentLayerUtility. getDocument()Returns the PDF document we work on.protected PDDocumentSplitter. getSourceDocument()The source PDF document.PDDocumentOverlay. overlay(java.util.Map<java.lang.Integer,java.lang.String> specificPageOverlayMap)This will add overlays to a document.PDDocumentOverlay. overlayDocuments(java.util.Map<java.lang.Integer,PDDocument> specificPageOverlayDocumentMap)This will add overlays documents to a document.Methods in org.apache.pdfbox.multipdf that return types with arguments of type PDDocument Modifier and Type Method Description java.util.List<PDDocument>Splitter. split(PDDocument document)This will take a document and split into several other documents.Methods in org.apache.pdfbox.multipdf with parameters of type PDDocument Modifier and Type Method Description voidPDFMergerUtility. appendDocument(PDDocument destination, PDDocument source)append all pages from source to destination.PDFormXObjectLayerUtility. 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.PDFormXObjectLayerUtility. 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.voidOverlay. setAllPagesOverlayPDF(PDDocument allPagesOverlayPDF)Sets the all pages overlay PDF.voidOverlay. setDefaultOverlayPDF(PDDocument defaultOverlayPDF)Sets the default overlay PDF.voidOverlay. setEvenPageOverlayPDF(PDDocument evenPageOverlayPDF)Sets the even page overlay PDF.voidOverlay. setFirstPageOverlayPDF(PDDocument firstPageOverlayPDF)Sets the first page overlay PDF.voidOverlay. setInputPDF(PDDocument inputPDF)Sets the PDF to be overlaid.voidOverlay. setLastPageOverlayPDF(PDDocument lastPageOverlayPDF)Sets the last page overlay PDF.voidOverlay. 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.Method parameters in org.apache.pdfbox.multipdf with type arguments of type PDDocument Modifier and Type Method Description PDDocumentOverlay. overlayDocuments(java.util.Map<java.lang.Integer,PDDocument> specificPageOverlayDocumentMap)This will add overlays documents to a document.Constructors in org.apache.pdfbox.multipdf with parameters of type PDDocument Constructor Description LayerUtility(PDDocument targetDoc)Creates a new instance.PageExtractor(PDDocument sourceDocument)Creates a new instance of PageExtractorPageExtractor(PDDocument sourceDocument, int startPage, int endPage)Creates a new instance of PageExtractorPDFCloneUtility(PDDocument dest)Creates a new instance for the given target document. -
Uses of PDDocument in org.apache.pdfbox.pdfparser
Methods in org.apache.pdfbox.pdfparser that return PDDocument Modifier and Type Method Description PDDocumentPDFParser. getPDDocument()This will get the PD document that was parsed. -
Uses of PDDocument in org.apache.pdfbox.pdfwriter
Methods in org.apache.pdfbox.pdfwriter with parameters of type PDDocument Modifier and Type Method Description voidCOSWriter. write(PDDocument doc)This will write the pdf document.voidCOSWriter. write(PDDocument doc, SignatureInterface signInterface)This will write the pdf document. -
Uses of PDDocument in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel declared as PDDocument Modifier and Type Field Description protected PDDocumentPDAbstractContentStream. documentprotected PDDocumentPDAbstractContentStream. documentprotected PDDocumentPDAbstractContentStream. documentMethods in org.apache.pdfbox.pdmodel that return PDDocument Modifier and Type Method Description static PDDocumentPDDocument. load(byte[] input)Parses a PDF.static PDDocumentPDDocument. load(byte[] input, java.lang.String password)Parses a PDF.static PDDocumentPDDocument. load(byte[] input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias)Parses a PDF.static PDDocumentPDDocument. load(byte[] input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, MemoryUsageSetting memUsageSetting)Parses a PDF.static PDDocumentPDDocument. load(java.io.File file)Parses a PDF.static PDDocumentPDDocument. load(java.io.File file, java.lang.String password)Parses a PDF.static PDDocumentPDDocument. load(java.io.File file, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias)Parses a PDF.static PDDocumentPDDocument. load(java.io.File file, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, MemoryUsageSetting memUsageSetting)Parses a PDF.static PDDocumentPDDocument. load(java.io.File file, java.lang.String password, MemoryUsageSetting memUsageSetting)Parses a PDF.static PDDocumentPDDocument. load(java.io.File file, MemoryUsageSetting memUsageSetting)Parses a PDF.static PDDocumentPDDocument. load(java.io.InputStream input)Parses a PDF.static PDDocumentPDDocument. load(java.io.InputStream input, java.lang.String password)Parses a PDF.static PDDocumentPDDocument. load(java.io.InputStream input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias)Parses a PDF.static PDDocumentPDDocument. load(java.io.InputStream input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, MemoryUsageSetting memUsageSetting)Parses a PDF.static PDDocumentPDDocument. load(java.io.InputStream input, java.lang.String password, MemoryUsageSetting memUsageSetting)Parses a PDF.static PDDocumentPDDocument. load(java.io.InputStream input, MemoryUsageSetting memUsageSetting)Parses a PDF.Constructors in org.apache.pdfbox.pdmodel with parameters of type PDDocument Constructor Description PDDocumentCatalog(PDDocument doc)Constructor.PDDocumentCatalog(PDDocument doc, COSDictionary rootDictionary)Constructor.PDPageContentStream(PDDocument doc, PDFormXObject form, java.io.OutputStream outputStream)Create a new appearance stream.PDPageContentStream(PDDocument doc, PDTilingPattern pattern, java.io.OutputStream outputStream)Create a new appearance stream.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 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. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.common
Methods in org.apache.pdfbox.pdmodel.common with parameters of type PDDocument Modifier and Type Method Description static PDObjectStreamPDObjectStream. createStream(PDDocument document)This will create a new PDObjectStream object.Constructors in org.apache.pdfbox.pdmodel.common with parameters of type PDDocument Constructor Description PDMetadata(PDDocument document)This will create a new PDMetadata object with the /Type and /Subtype entries for a document level metadata 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, COSName filter)Constructor. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.common.filespecification
Constructors in org.apache.pdfbox.pdmodel.common.filespecification with parameters of type PDDocument Constructor Description PDEmbeddedFile(PDDocument document)PDEmbeddedFile(PDDocument doc, java.io.InputStream str)PDEmbeddedFile(PDDocument doc, java.io.InputStream input, COSName filter) -
Uses of PDDocument in org.apache.pdfbox.pdmodel.encryption
Methods in org.apache.pdfbox.pdmodel.encryption with parameters of type PDDocument Modifier and Type Method Description voidPublicKeySecurityHandler. prepareDocumentForEncryption(PDDocument doc)Prepare the document for encryption.abstract voidSecurityHandler. prepareDocumentForEncryption(PDDocument doc)Prepare the document for encryption.voidStandardSecurityHandler. prepareDocumentForEncryption(PDDocument document)Prepare document for encryption. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.fixup
Fields in org.apache.pdfbox.pdmodel.fixup declared as PDDocument Modifier and Type Field Description protected PDDocumentAbstractFixup. documentConstructors in org.apache.pdfbox.pdmodel.fixup with parameters of type PDDocument Constructor Description AbstractFixup(PDDocument document)AcroFormDefaultFixup(PDDocument document) -
Uses of PDDocument in org.apache.pdfbox.pdmodel.fixup.processor
Fields in org.apache.pdfbox.pdmodel.fixup.processor declared as PDDocument Modifier and Type Field Description protected PDDocumentAbstractProcessor. documentConstructors in org.apache.pdfbox.pdmodel.fixup.processor with parameters of type PDDocument Constructor Description AbstractProcessor(PDDocument document)AcroFormDefaultsProcessor(PDDocument document)AcroFormGenerateAppearancesProcessor(PDDocument document)AcroFormOrphanWidgetsProcessor(PDDocument document) -
Uses of PDDocument in org.apache.pdfbox.pdmodel.font
Methods in org.apache.pdfbox.pdmodel.font with parameters of type PDDocument Modifier and Type Method Description static PDTrueTypeFontPDTrueTypeFont. load(PDDocument doc, java.io.File file, Encoding encoding)Loads a TTF to be embedded into a document as a simple font.static PDTrueTypeFontPDTrueTypeFont. load(PDDocument doc, java.io.InputStream input, Encoding encoding)Loads a TTF to be embedded into a document as a simple font.static PDTrueTypeFontPDTrueTypeFont. load(PDDocument doc, org.apache.fontbox.ttf.TrueTypeFont ttf, Encoding encoding)Loads a TTF to be embedded into a document as a simple font.static PDType0FontPDType0Font. load(PDDocument doc, java.io.File file)Loads a TTF to be embedded and subset into a document as a Type 0 font.static PDType0FontPDType0Font. load(PDDocument doc, java.io.InputStream input)Loads a TTF to be embedded and subset into a document as a Type 0 font.static PDType0FontPDType0Font. load(PDDocument doc, java.io.InputStream input, boolean embedSubset)Loads a TTF to be embedded into a document as a Type 0 font.static PDType0FontPDType0Font. load(PDDocument doc, org.apache.fontbox.ttf.TrueTypeFont ttf, boolean embedSubset)Loads a TTF to be embedded into a document as a Type 0 font.static PDTrueTypeFontPDTrueTypeFont. loadTTF(PDDocument doc, java.io.File file)Deprecated.UsePDType0Font.load(PDDocument, File)instead.static PDTrueTypeFontPDTrueTypeFont. loadTTF(PDDocument doc, java.io.InputStream input)Deprecated.UsePDType0Font.load(PDDocument, InputStream)instead.static PDType0FontPDType0Font. loadVertical(PDDocument doc, java.io.File file)Loads a TTF to be embedded into a document as a vertical Type 0 font.static PDType0FontPDType0Font. loadVertical(PDDocument doc, java.io.InputStream input)Loads a TTF to be embedded into a document as a vertical Type 0 font.static PDType0FontPDType0Font. 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 PDType0FontPDType0Font. loadVertical(PDDocument doc, org.apache.fontbox.ttf.TrueTypeFont ttf, boolean embedSubset)Loads a TTF to be embedded into a document as a vertical Type 0 font.Constructors in org.apache.pdfbox.pdmodel.font with parameters of type PDDocument Constructor Description 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. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.graphics
Constructors in org.apache.pdfbox.pdmodel.graphics with parameters of type PDDocument Constructor Description PDXObject(PDDocument document, COSName subtype)Creates a new XObject of the given subtype for writing. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.graphics.color
Constructors in org.apache.pdfbox.pdmodel.graphics.color with parameters of type PDDocument Constructor Description PDICCBased(PDDocument doc)Creates a new ICC color space with an empty stream.PDOutputIntent(PDDocument doc, java.io.InputStream colorProfile)Create an output intent of GTS_PDFA1 subtype. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.graphics.form
Constructors in org.apache.pdfbox.pdmodel.graphics.form with parameters of type PDDocument Constructor 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. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.graphics.image
Methods in org.apache.pdfbox.pdmodel.graphics.image with parameters of type PDDocument Modifier and Type Method Description static PDImageXObjectCCITTFactory. 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 PDImageXObjectCCITTFactory. 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 PDImageXObjectJPEGFactory. createFromByteArray(PDDocument document, byte[] byteArray)Creates a new JPEG Image XObject from a byte array containing JPEG data.static PDImageXObjectPDImageXObject. createFromByteArray(PDDocument document, byte[] byteArray, java.lang.String name)Create a PDImageXObject from bytes of an image file.static PDImageXObjectCCITTFactory. createFromFile(PDDocument document, java.io.File file)Creates a new CCITT Fax compressed image XObject from the first image of a TIFF file.static PDImageXObjectCCITTFactory. 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 PDImageXObjectPDImageXObject. createFromFile(java.lang.String imagePath, PDDocument doc)Create a PDImageXObject from an image file, seePDImageXObject.createFromFileByExtension(File, PDDocument)for more details.static PDImageXObjectPDImageXObject. createFromFileByContent(java.io.File file, PDDocument doc)Create a PDImageXObject from an image file.static PDImageXObjectPDImageXObject. createFromFileByExtension(java.io.File file, PDDocument doc)Create a PDImageXObject from an image file.static PDImageXObjectCCITTFactory. createFromImage(PDDocument document, java.awt.image.BufferedImage image)Creates a new CCITT group 4 (T6) compressed image XObject from a b/w BufferedImage.static PDImageXObjectJPEGFactory. createFromImage(PDDocument document, java.awt.image.BufferedImage image)Creates a new JPEG PDImageXObject from a BufferedImage.static PDImageXObjectJPEGFactory. createFromImage(PDDocument document, java.awt.image.BufferedImage image, float quality)Creates a new JPEG PDImageXObject from a BufferedImage and a given quality.static PDImageXObjectJPEGFactory. 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 PDImageXObjectLosslessFactory. createFromImage(PDDocument document, java.awt.image.BufferedImage image)Creates a new lossless encoded image XObject from a BufferedImage.static PDImageXObjectCCITTFactory. createFromRandomAccess(PDDocument document, RandomAccess reader)Deprecated.UseCCITTFactory.createFromFile(PDDocument, File)instead.static PDImageXObjectCCITTFactory. createFromRandomAccess(PDDocument document, RandomAccess reader, int number)Deprecated.UseCCITTFactory.createFromFile(PDDocument, File, int)instead.static PDImageXObjectJPEGFactory. createFromStream(PDDocument document, java.io.InputStream stream)Creates a new JPEG Image XObject from an input stream containing JPEG data.Constructors in org.apache.pdfbox.pdmodel.graphics.image with parameters of type PDDocument Constructor 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. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.interactive.annotation
Methods in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type PDDocument Modifier and Type Method Description voidPDAnnotation. constructAppearances(PDDocument document)Create the appearance entry for this annotation.voidPDAnnotationLine. constructAppearances(PDDocument document)voidPDAnnotationLink. constructAppearances(PDDocument document)voidPDAnnotationMarkup. constructAppearances(PDDocument document)voidPDAnnotationSquareCircle. constructAppearances(PDDocument document)voidPDAnnotationText. constructAppearances(PDDocument document)voidPDAnnotationTextMarkup. constructAppearances(PDDocument document)Constructors in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type PDDocument Constructor Description PDAppearanceStream(PDDocument document)Creates a Form Image XObject for writing, in the given document. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.interactive.annotation.handlers
Fields in org.apache.pdfbox.pdmodel.interactive.annotation.handlers declared as PDDocument Modifier and Type Field Description protected PDDocumentPDAbstractAppearanceHandler. document -
Uses of PDDocument in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible
Methods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible that return PDDocument Modifier and Type Method Description PDDocumentPDFTemplateStructure. getTemplate()Gets PDDocument template.Methods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible with parameters of type PDDocument Modifier and Type Method Description voidPDFTemplateBuilder. closeTemplate(PDDocument template)Closes templatevoidPDVisibleSigBuilder. closeTemplate(PDDocument template)voidPDFTemplateBuilder. createAcroForm(PDDocument template)Creates Acro forms in the template.voidPDVisibleSigBuilder. createAcroForm(PDDocument template)voidPDFTemplateBuilder. createHolderFormStream(PDDocument template)voidPDVisibleSigBuilder. createHolderFormStream(PDDocument template)voidPDFTemplateBuilder. createImageFormStream(PDDocument template)voidPDVisibleSigBuilder. createImageFormStream(PDDocument template)voidPDFTemplateBuilder. createInnerFormStream(PDDocument template)voidPDVisibleSigBuilder. createInnerFormStream(PDDocument template)voidPDFTemplateBuilder. createSignatureImage(PDDocument template, java.awt.image.BufferedImage image)Creates signature image.voidPDVisibleSigBuilder. createSignatureImage(PDDocument template, java.awt.image.BufferedImage image)voidPDFTemplateBuilder. createVisualSignature(PDDocument template)just to create visible signaturevoidPDVisibleSigBuilder. createVisualSignature(PDDocument template)voidPDFTemplateStructure. setTemplate(PDDocument template)Wets PDDocument template.Constructors in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible with parameters of type PDDocument Constructor Description PDVisibleSignDesigner(PDDocument document, java.awt.image.BufferedImage image, int page)Constructor.PDVisibleSignDesigner(PDDocument document, java.io.InputStream imageStream, int page)Constructor. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline
Methods in org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline with parameters of type PDDocument Modifier and Type Method Description PDPagePDOutlineItem. findDestinationPage(PDDocument doc)This method will attempt to find the page in this PDF document that this outline points to. -
Uses of PDDocument in org.apache.pdfbox.pdmodel.interactive.form
Constructors in org.apache.pdfbox.pdmodel.interactive.form with parameters of type PDDocument Constructor Description PDAcroForm(PDDocument doc)Constructor.PDAcroForm(PDDocument doc, COSDictionary form)Constructor. -
Uses of PDDocument in org.apache.pdfbox.printing
Constructors in org.apache.pdfbox.printing with parameters of type PDDocument Constructor 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.PDFPageable(PDDocument document, Orientation orientation, boolean showPageBorder, float dpi, boolean center)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.PDFPrintable(PDDocument document, Scaling scaling, boolean showPageBorder, float dpi, boolean center, PDFRenderer renderer)Creates a new PDFPrintable with the given page scaling and with optional page borders shown. -
Uses of PDDocument in org.apache.pdfbox.rendering
Fields in org.apache.pdfbox.rendering declared as PDDocument Modifier and Type Field Description protected PDDocumentPDFRenderer. documentConstructors in org.apache.pdfbox.rendering with parameters of type PDDocument Constructor Description PDFRenderer(PDDocument document)Creates a new PDFRenderer. -
Uses of PDDocument in org.apache.pdfbox.text
Fields in org.apache.pdfbox.text declared as PDDocument Modifier and Type Field Description protected PDDocumentPDFTextStripper. documentMethods in org.apache.pdfbox.text with parameters of type PDDocument Modifier and Type Method Description protected voidPDFTextStripper. endDocument(PDDocument document)This method is available for subclasses of this class.java.lang.StringPDFTextStripper. getText(PDDocument doc)This will return the text of a document.protected voidPDFTextStripper. startDocument(PDDocument document)This method is available for subclasses of this class.voidPDFTextStripper. writeText(PDDocument doc, java.io.Writer outputStream)This will take a PDDocument and write the text of that document to the print writer.
-