Uses of Class
org.apache.pdfbox.pdmodel.PDPage
Packages that use PDPage
Package
Description
This package contains provides classes for working with content streams.
These examples show how to use the classes in the PDModel package.
The packages in this package will show how to use the PDFBox util API.
The PDModel package represents a high level API for creating and manipulating PDF documents.
The logical structure package provides a mechanism for incorporating
structural information about a document's content into a PDF file.
The annotation package contains classes that work with PDF annotation elements.
This is the visual signature part that help creating the visual representation for the digital signature.
The destination package allows destinations into a pdf document to be specified.
The outline package allows for a PDF outline(bookmarks) to be created.
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
A package to allow provide access to PDF page navigation functionality.
-
Uses of PDPage in org.apache.pdfbox.contentstream
Fields in org.apache.pdfbox.contentstream declared as PDPageModifier and TypeFieldDescriptionprivate PDPagePDFStreamEngine.currentPageprivate final PDPagePDFGraphicsStreamEngine.pageMethods in org.apache.pdfbox.contentstream that return PDPageModifier and TypeMethodDescriptionPDFStreamEngine.getCurrentPage()Returns the current page.protected final PDPagePDFGraphicsStreamEngine.getPage()Returns the page.Methods in org.apache.pdfbox.contentstream with parameters of type PDPageModifier and TypeMethodDescriptionprivate voidInitializes the stream engine for the given page.protected voidPDFStreamEngine.processChildStream(PDContentStream contentStream, PDPage page) Process a child stream of the given page.voidPDFStreamEngine.processPage(PDPage page) This will initialize and process the contents of the stream.Constructors in org.apache.pdfbox.contentstream with parameters of type PDPage -
Uses of PDPage in org.apache.pdfbox.debugger.pagepane
Fields in org.apache.pdfbox.debugger.pagepane declared as PDPageMethods in org.apache.pdfbox.debugger.pagepane with parameters of type PDPageModifier and TypeMethodDescriptionvoidDebugTextOverlay.DebugTextStripper.stripPage(PDDocument document, PDPage page, int pageIndex, float scale) private voidDebugTextOverlay.DebugTextStripper.transform(Graphics2D graphics, PDPage page, float scale) -
Uses of PDPage in org.apache.pdfbox.examples.pdmodel
Methods in org.apache.pdfbox.examples.pdmodel with parameters of type PDPageModifier and TypeMethodDescriptionprivate static voidExtractEmbeddedFiles.extractFilesFromPage(PDPage page, String filePath) private static voidAddAnnotations.showPageNo(PDDocument document, PDPage page, String pageText) -
Uses of PDPage in org.apache.pdfbox.examples.rendering
Constructors in org.apache.pdfbox.examples.rendering with parameters of type PDPage -
Uses of PDPage in org.apache.pdfbox.examples.util
Methods in org.apache.pdfbox.examples.util with parameters of type PDPageModifier and TypeMethodDescriptionprivate static voidAddWatermarkText.addWatermarkText(PDDocument doc, PDPage page, PDFont font, String text) protected voidEnd a page. -
Uses of PDPage in org.apache.pdfbox.multipdf
Fields in org.apache.pdfbox.multipdf with type parameters of type PDPageMethods in org.apache.pdfbox.multipdf with parameters of type PDPageModifier and TypeMethodDescriptionLayerUtility.appendFormAsLayer(PDPage targetPage, PDFormXObject form, AffineTransform transform, String layerName) Places the given form over the existing content of the indicated page (like an overlay).protected AffineTransformOverlay.calculateAffineTransform(PDPage page, PDRectangle overlayMediaBox) Calculate the transform to be used when positioning the overlay.private Overlay.LayoutPageOverlay.createLayoutPage(PDPage page) Create a LayoutPage object from given PDPage object.private COSStreamOverlay.createOverlayStream(PDPage page, Overlay.LayoutPage layoutPage, COSName xObjectId) private COSNameOverlay.createOverlayXObject(PDPage page, Overlay.LayoutPage layoutPage, PDFCloneUtility cloner) 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 voidOverlay.overlayPage(PDPage page, Overlay.LayoutPage layoutPage, COSArray array, PDFCloneUtility cloner) private voidSplitter.processAnnotations(PDPage imported) Clone all annotations because of changes possibly made, and because the structure tree is cloned.protected voidSplitter.processPage(PDPage page) Interface to start processing a new page.private voidPDFMergerUtility.updateStructParentEntries(PDPage page, int structParentOffset) Update the StructParents and StructParent values in a PDPage.voidLayerUtility.wrapInSaveRestore(PDPage page) Some applications may not wrap their page content in a save/restore (q/Q) pair which can lead to problems with coordinate system transformations when content is appended. -
Uses of PDPage in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return PDPageModifier and TypeMethodDescriptionPDPageTree.get(int index) Returns the page at the given index.PDDocument.getPage(int pageIndex) Returns the page at the given 0-based index.PDDocument.importPage(PDPage page) This will import and copy the contents from another location.PDPageTree.PageIterator.next()Methods in org.apache.pdfbox.pdmodel that return types with arguments of type PDPageModifier and TypeMethodDescriptionPDPageTree.iterator()Returns an iterator which walks all pages in the tree, in order.Methods in org.apache.pdfbox.pdmodel with parameters of type PDPageModifier and TypeMethodDescriptionvoidAdds the given page to this page tree.voidThis will add a page to the document.PDDocument.importPage(PDPage page) This will import and copy the contents from another location.intReturns the index of the given page, or -1 if it does not exist.voidPDPageTree.insertAfter(PDPage newPage, PDPage prevPage) Insert a page after another page within a page tree.voidPDPageTree.insertBefore(PDPage newPage, PDPage nextPage) Insert a page before another page within a page tree.voidRemoves the given page from the page tree.voidPDDocument.removePage(PDPage page) Remove the page from the document.private voidPDDocument.setHighestImportedObjectNumber(PDPage importedPage) Determine the highest object number from the imported page to avoid mixed up numbers when saving the new pdf.Constructors in org.apache.pdfbox.pdmodel with parameters of type PDPageModifierConstructorDescriptionPDPageContentStream(PDDocument document, PDPage sourcePage) Create a new PDPage content stream.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.privatePDPageContentStream(PDDocument document, PDPage sourcePage, PDPageContentStream.AppendMode appendContent, boolean compress, boolean resetContext, PDStream stream, PDResources resources) privateSearchContext(PDPage page) -
Uses of PDPage in org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure
Methods in org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure that return PDPageModifier and TypeMethodDescriptionPDMarkedContentReference.getPage()Gets the page.PDStructureElement.getPage()Returns the page on which some or all of the content items designated by the K entry shall be rendered (Pg).Methods in org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure with parameters of type PDPage -
Uses of PDPage in org.apache.pdfbox.pdmodel.interactive.annotation
Methods in org.apache.pdfbox.pdmodel.interactive.annotation that return PDPageModifier and TypeMethodDescriptionPDAnnotation.getPage()This will retrieve the corresponding page of this annotation.Methods in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type PDPage -
Uses of PDPage in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible
Fields in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible declared as PDPageMethods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible that return PDPageMethods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible with parameters of type PDPageModifier and TypeMethodDescriptionvoidPDFTemplateBuilder.createSignature(PDSignatureField pdSignatureField, PDPage page, String signerName) Creates the signature with the given name and assign it to the signature field parameter and assign the page parameter to the widget.voidPDVisibleSigBuilder.createSignature(PDSignatureField pdSignatureField, PDPage page, String signerName) voidPDFTemplateBuilder.createTemplate(PDPage page) Creates template using page.voidPDVisibleSigBuilder.createTemplate(PDPage page) Creates a PDDocument and adds the page parameter to it and keeps this as a template in the PDF template Structure.voidPDFTemplateBuilder.injectProcSetArray(PDFormXObject innerForm, PDPage page, PDResources innerFormResources, PDResources imageFormResources, PDResources holderFormResources, COSArray procSet) Inject procSetArrayvoidPDVisibleSigBuilder.injectProcSetArray(PDFormXObject innerForm, PDPage page, PDResources innerFormResources, PDResources imageFormResources, PDResources holderFormResources, COSArray procSet) voidSets document page -
Uses of PDPage in org.apache.pdfbox.pdmodel.interactive.form
Methods in org.apache.pdfbox.pdmodel.interactive.form with parameters of type PDPageModifier and TypeMethodDescriptionprivate voidPDAcroForm.fillPagesAnnotationMap(Map<COSDictionary, Set<COSDictionary>> pagesAnnotationsMap, PDPage page, PDAnnotationWidget widget) -
Uses of PDPage in org.apache.pdfbox.preflight.content
Fields in org.apache.pdfbox.preflight.content declared as PDPageConstructors in org.apache.pdfbox.preflight.content with parameters of type PDPageModifierConstructorDescriptionPreflightContentStream(PreflightContext _context, PDPage _page) PreflightStreamEngine(PreflightContext context, PDPage page) -
Uses of PDPage in org.apache.pdfbox.preflight.font.util
Constructors in org.apache.pdfbox.preflight.font.util with parameters of type PDPageModifierConstructorDescriptionPreflightType3Stream(PreflightContext context, PDPage page, PDType3CharProc charProc) -
Uses of PDPage in org.apache.pdfbox.preflight.process
Methods in org.apache.pdfbox.preflight.process with parameters of type PDPageModifier and TypeMethodDescriptionprivate voidPageTreeValidationProcess.validatePage(PreflightContext context, PDPage page) -
Uses of PDPage in org.apache.pdfbox.preflight.process.reflect
Methods in org.apache.pdfbox.preflight.process.reflect with parameters of type PDPageModifier and TypeMethodDescriptionprotected voidShadingPatternValidationProcess.checkColorSpace(PreflightContext context, PDPage page, PDShading shadingRes) Checks if the ColorSapce entry is consistent which rules of the PDF Reference and the ISO 190005-1:2005 Specification.protected voidShadingPatternValidationProcess.checkGraphicState(PreflightContext context, PDPage page, PDShading shadingRes) Check the Extended Graphic State contains in the ShadingPattern dictionary if it is present.protected voidTilingPatternValidationProcess.checkMandatoryFields(PreflightContext context, PDPage page, PDTilingPattern pattern) This method checks if required fields are present.protected voidTilingPatternValidationProcess.parsePatternContent(PreflightContext context, PDPage page, PDTilingPattern pattern) Validate the Pattern content like Color and Show Text Operators using an instance of ContentStreamWrapper.protected voidTilingPatternValidationProcess.parseResources(PreflightContext context, PDPage page, PDTilingPattern pattern) protected voidSinglePageValidationProcess.validateActions(PreflightContext context, PDPage page) This method checks additional actions contained in the given Page object.protected voidSinglePageValidationProcess.validateAnnotation(PreflightContext context, PDPage page) protected voidSinglePageValidationProcess.validateColorSpaces(PreflightContext context, PDPage page) Check that all ColorSpace present in the Resource dictionary are conforming to the ISO 19005:2005-1 specification.protected voidSinglePageValidationProcess.validateContent(PreflightContext context, PDPage page) protected voidSinglePageValidationProcess.validateGraphicObjects(PreflightContext context, PDPage page) Check that all XObject references in the PDResource of the page and in the Thumb entry are confirming to the PDF/A specification.protected voidSinglePageValidationProcess.validateGroupTransparency(PreflightContext context, PDPage page) Check that the group dictionary doesn't have a Transparency attributeprotected voidSinglePageValidationProcess.validateResources(PreflightContext context, PDPage page) -
Uses of PDPage in org.apache.pdfbox.printing
Methods in org.apache.pdfbox.printing with parameters of type PDPageModifier and TypeMethodDescription(package private) static PDRectanglePDFPrintable.getRotatedCropBox(PDPage page) This will find the CropBox with rotation applied, for this page by looking up the hierarchy until it finds them.(package private) static PDRectanglePDFPrintable.getRotatedMediaBox(PDPage page) This will find the MediaBox with rotation applied, for this page by looking up the hierarchy until it finds them. -
Uses of PDPage in org.apache.pdfbox.rendering
Fields in org.apache.pdfbox.rendering declared as PDPageMethods in org.apache.pdfbox.rendering that return PDPageMethods in org.apache.pdfbox.rendering with parameters of type PDPageConstructors in org.apache.pdfbox.rendering with parameters of type PDPageModifierConstructorDescription(package private)PageDrawerParameters(PDFRenderer renderer, PDPage page, boolean subsamplingAllowed, RenderDestination destination, RenderingHints renderingHints, float imageDownscalingOptimizationThreshold) Package-private constructor. -
Uses of PDPage in org.apache.pdfbox.text
Methods in org.apache.pdfbox.text with parameters of type PDPageModifier and TypeMethodDescriptionprotected voidEnd a page.voidPDFTextStripperByArea.extractRegions(PDPage page) Process the page to extract the region text.private voidPDFTextStripper.fillBeadRectangles(PDPage page) voidLegacyPDFStreamEngine.processPage(PDPage page) This will initialize and process the contents of the stream.voidPDFTextStripper.processPage(PDPage page) This will process the contents of a page.protected voidStart a new page. -
Uses of PDPage in org.apache.pdfbox.tools
Constructors in org.apache.pdfbox.tools with parameters of type PDPage