Uses of Class
com.itextpdf.kernel.pdf.PdfPage
Package
Description
-
Uses of PdfPage in com.itextpdf.forms
Modifier and TypeMethodDescriptionvoid
PdfAcroForm.addField
(PdfFormField field, PdfPage page) This method adds the field to a specific page.void
PdfAcroForm.addFieldAppearanceToPage
(PdfFormField field, PdfPage page) This method merges field with its annotation and place it on the given page.void
-
Uses of PdfPage in com.itextpdf.kernel.events
Modifier and TypeFieldDescriptionprotected PdfPage
PdfDocumentEvent.page
The PdfPage associated with this event.Modifier and TypeMethodDescriptionPdfDocumentEvent.getPage()
Returns the PdfPage associated with this event.ModifierConstructorDescriptionPdfDocumentEvent
(String type, PdfPage page) Creates a PdfDocumentEvent. -
Uses of PdfPage in com.itextpdf.kernel.geom
Modifier and TypeMethodDescriptionstatic Rectangle
Rectangle.getRectangleOnRotatedPage
(Rectangle rect, PdfPage page) Gets the rectangle as it looks on the rotated page and returns the rectangle in coordinates relevant to the true page origin. -
Uses of PdfPage in com.itextpdf.kernel.pdf
Modifier and TypeMethodDescriptionPdfPage.addAnnotation
(int index, PdfAnnotation annotation, boolean tagAnnotation) Adds specifiedPdfAnnotation
to specified index in annotations array with or without autotagging.PdfPage.addAnnotation
(PdfAnnotation annotation) Adds specified annotation to the end of annotations array and tagged it.PdfDocument.addNewPage()
Creates and adds new page to the end of document.PdfDocument.addNewPage
(int index) Creates and inserts new page to the document.PdfDocument.addNewPage
(int index, PageSize pageSize) Creates and inserts new page to the document.PdfDocument.addNewPage
(PageSize pageSize) Creates and adds new page with the specified page size.PdfPage.addOutputIntent
(PdfOutputIntent outputIntent) AddsPdfOutputIntent
that shall specify the colour characteristics of output devices on which the page might be rendered.Inserts page to the document.Adds page to the end of document.PdfPage.copyTo
(PdfDocument toDocument) Copies page to the specified document.PdfPage.copyTo
(PdfDocument toDocument, IPdfPageExtraCopier copier) Copies page to the specified document.IPdfPageFactory.createPdfPage
(PdfDictionary pdfObject) CreatePdfPage
on the base of the pagePdfDictionary
.IPdfPageFactory.createPdfPage
(PdfDocument pdfDocument, PageSize pageSize) CreatePdfPage
with given page size and add it to thePdfDocument
.PdfDocument.getFirstPage()
Get the first page of the document.PdfDocument.getLastPage()
Gets the last page of the document.PdfDocument.getPage
(int pageNum) Gets the page by page number.PdfDocument.getPage
(PdfDictionary pageDictionary) Gets thePdfPage
instance byPdfDictionary
.Helper method that associate specified value with specified key in the underlinedPdfDictionary
.PdfPage.removeAnnotation
(PdfAnnotation annotation) Removes an annotation from the page.PdfPage.setAdditionalAction
(PdfName key, PdfAction action) Helper method to add an additional action to this page.Sets the ArtBox object, that define the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.PdfPage.setBleedBox
(Rectangle rectangle) Sets the BleedBox object, that defines the region to which the contents of the page shall be clipped when output in a production environment.PdfPage.setCropBox
(Rectangle rectangle) Sets the CropBox object, that defines the visible region of default user space.PdfPage.setIgnorePageRotationForContent
(boolean ignorePageRotationForContent) If true - defines that in case the page has a rotation, then new content will be automatically rotated in the opposite direction.PdfPage.setMediaBox
(Rectangle rectangle) Sets the Media Box object, that defines the boundaries of the physical medium on which the page shall be displayed or printed.PdfPage.setPageLabel
(PageLabelNumberingStyle numberingStyle, String labelPrefix) This method adds or replaces a page label.PdfPage.setPageLabel
(PageLabelNumberingStyle numberingStyle, String labelPrefix, int firstPage) This method adds or replaces a page label.PdfPage.setResources
(PdfResources pdfResources) SetsPdfResources
object.PdfPage.setRotation
(int degAngle) Sets the page rotation.PdfPage.setTabOrder
(PdfName tabOrder) Sets a name specifying the tab order that shall be used for annotations on the page.PdfPage.setThumbnailImage
(PdfImageXObject thumb) Sets a stream object that shall define the page’s thumbnail image.PdfPage.setTrimBox
(Rectangle rectangle) Sets the TrimBox object, that define the intended dimensions of the finished page after trimming.PdfPage.setXmpMetadata
(byte[] xmpMetadata) Sets the XMP Metadata.PdfPage.setXmpMetadata
(XMPMeta xmpMeta) Serializes XMP Metadata to byte array and sets it.PdfPage.setXmpMetadata
(XMPMeta xmpMeta, SerializeOptions serializeOptions) Serializes XMP Metadata to byte array and sets it.Modifier and TypeMethodDescriptionPdfDocument.copyPagesTo
(int pageFrom, int pageTo, PdfDocument toDocument) Copies a range of pages from current document totoDocument
appending copied pages to the end.PdfDocument.copyPagesTo
(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage) Copies a range of pages from current document totoDocument
.PdfDocument.copyPagesTo
(int pageFrom, int pageTo, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocument
.PdfDocument.copyPagesTo
(int pageFrom, int pageTo, PdfDocument toDocument, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocument
appending copied pages to the end.PdfDocument.copyPagesTo
(List<Integer> pagesToCopy, PdfDocument toDocument) Copies a range of pages from current document totoDocument
appending copied pages to the end.PdfDocument.copyPagesTo
(List<Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage) Copies a range of pages from current document totoDocument
.PdfDocument.copyPagesTo
(List<Integer> pagesToCopy, PdfDocument toDocument, int insertBeforePage, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocument
.PdfDocument.copyPagesTo
(List<Integer> pagesToCopy, PdfDocument toDocument, IPdfPageExtraCopier copier) Copies a range of pages from current document totoDocument
appending copied pages to the end.Modifier and TypeMethodDescriptionInserts page to the document.Adds page to the end of document.protected void
PdfDocument.checkAndAddPage
(int index, PdfPage page) Checks page before adding and add.protected void
PdfDocument.checkAndAddPage
(PdfPage page) Checks page before adding.void
Copies a page.int
PdfDocument.getPageNumber
(PdfPage page) Gets page number by page.boolean
Moves page to new place in same document with all it tag structureboolean
PdfDocument.removePage
(PdfPage page) Removes the first occurrence of the specified page from this document, if it is present.protected void
PdfDocument.storeLinkAnnotation
(PdfPage page, PdfLinkAnnotation annotation) Deprecated.will be removed in next major version, it is being replaced with storeDestinationToReaddress -
Uses of PdfPage in com.itextpdf.kernel.pdf.annot
Modifier and TypeMethodDescriptionPdfAnnotation.getPage()
Gets aPdfPage
on which annotation is placed.Modifier and TypeMethodDescriptionMethod that modifies annotation page property, which defines to which page annotation belongs. -
Uses of PdfPage in com.itextpdf.kernel.pdf.canvas
-
Uses of PdfPage in com.itextpdf.kernel.pdf.canvas.parser
Modifier and TypeMethodDescriptionstatic String
PdfTextExtractor.getTextFromPage
(PdfPage page) Extract text from a specified page using the default strategy.static String
PdfTextExtractor.getTextFromPage
(PdfPage page, ITextExtractionStrategy strategy) Extract text from a specified page using an extraction strategy.static String
PdfTextExtractor.getTextFromPage
(PdfPage page, ITextExtractionStrategy strategy, Map<String, IContentOperator> additionalContentOperators) Extract text from a specified page using an extraction strategy.void
PdfCanvasProcessor.processPageContent
(PdfPage page) Processes PDF syntax. -
Uses of PdfPage in com.itextpdf.kernel.pdf.tagging
Modifier and TypeMethodDescriptionvoid
PdfStructTreeRoot.createParentTreeEntryForPage
(PdfPage page) Creates and flushes parent tree entry for the page.int
PdfStructTreeRoot.getNextMcidForPage
(PdfPage page) PdfStructTreeRoot.getPageMarkedContentReferences
(PdfPage page) Gets an unmodifiable collection of marked content references on page.void
Moves structure associated with specified page and insert it in a specified position in the document.void
PdfStructTreeRoot.savePageStructParentIndexIfNeeded
(PdfPage page) Modifier and TypeMethodDescriptionvoid
PdfStructTreeRoot.copyTo
(PdfDocument destDocument, int insertBeforePage, Map<PdfPage, PdfPage> page2page) Copies structure to adestDocument
and insert it in a specified position in the document.void
PdfStructTreeRoot.copyTo
(PdfDocument destDocument, int insertBeforePage, Map<PdfPage, PdfPage> page2page) Copies structure to adestDocument
and insert it in a specified position in the document.void
PdfStructTreeRoot.copyTo
(PdfDocument destDocument, Map<PdfPage, PdfPage> page2page) Copies structure to adestDocument
.void
PdfStructTreeRoot.copyTo
(PdfDocument destDocument, Map<PdfPage, PdfPage> page2page) Copies structure to adestDocument
.ModifierConstructorDescriptionPdfMcrDictionary
(PdfPage page, PdfStructElem parent) PdfMcrNumber
(PdfPage page, PdfStructElem parent) PdfStructElem
(PdfDocument document, PdfName role, PdfPage page) -
Uses of PdfPage in com.itextpdf.kernel.pdf.tagutils
Modifier and TypeMethodDescriptionTagStructureContext.flushPageTags
(PdfPage page) Flushes the tags which are considered to belong to the given page.TagStructureContext.removeContentItem
(PdfPage page, int mcid) Removes content item from the tag structure.TagStructureContext.removePageTags
(PdfPage page) Removes all tags that belong only to this page.TagTreePointer.setPageForTagging
(PdfPage page) Sets a page which content will be tagged with this instance ofTagTreePointer
. -
Uses of PdfPage in com.itextpdf.kernel.pdf.xobject
ModifierConstructorDescriptionPdfFormXObject
(PdfPage page) Creates form XObject from page content. -
Uses of PdfPage in com.itextpdf.layout
Modifier and TypeFieldDescriptionprotected PdfPage
Canvas.page
Is initialized and used only when Canvas element autotagging is enabled, seeCanvas.enableAutoTagging(PdfPage)
.Modifier and TypeMethodDescriptionCanvas.getPage()
The page on which this canvas will be rendered.Modifier and TypeMethodDescriptionvoid
Canvas.enableAutoTagging
(PdfPage page) Enables canvas content autotagging. -
Uses of PdfPage in com.itextpdf.pdfa.checker
Modifier and TypeMethodDescriptionvoid
PdfAChecker.checkSinglePage
(PdfPage page) This method checks all requirements that must be fulfilled by a page in a PDF/A document. -
Uses of PdfPage in com.itextpdf.svg.converter
Modifier and TypeMethodDescriptionstatic void
SvgConverter.drawOnPage
(InputStream stream, PdfPage page) Draws a Stream containing valid SVG to a given page at coordinate 0,0.static void
SvgConverter.drawOnPage
(InputStream stream, PdfPage page, float x, float y) Draws a Stream containing valid SVG to a given page, at a given location.static void
SvgConverter.drawOnPage
(InputStream stream, PdfPage page, float x, float y, ISvgConverterProperties props) Draws a Stream containing valid SVG to a given page at a given location.static void
SvgConverter.drawOnPage
(InputStream stream, PdfPage page, ISvgConverterProperties props) Draws a Stream containing valid SVG to a given page at a given location.static void
SvgConverter.drawOnPage
(String content, PdfPage page) Draws a String containing valid SVG to a given page at the origin of the page.static void
SvgConverter.drawOnPage
(String content, PdfPage page, float x, float y) Draws a String containing valid SVG to a given page on the provided x and y coordinate.static void
SvgConverter.drawOnPage
(String content, PdfPage page, float x, float y, ISvgConverterProperties props) Draws a String containing valid SVG to a given page on the provided x and y coordinate.static void
SvgConverter.drawOnPage
(String content, PdfPage page, ISvgConverterProperties props) Draws a String containing valid SVG to a given page on the provided x and y coordinate.