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.addField
(PdfFormField field, PdfPage page, boolean throwExceptionOnError) This method adds the field to a specific page.void
PdfAcroForm.addFieldAppearanceToPage
(PdfFormField field, PdfPage page) This method merges field with its annotation and places it on the given page.void
-
Uses of PdfPage in com.itextpdf.forms.fields
Modifier and TypeMethodDescriptionstatic void
PdfFormAnnotationUtil.addWidgetAnnotationToPage
(PdfPage page, PdfAnnotation annotation) Add widget annotation to the specified page.static void
PdfFormAnnotationUtil.addWidgetAnnotationToPage
(PdfPage page, PdfAnnotation annotation, int index) Add widget annotation to the specified page.Sets page to be used for widget creation. -
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.PdfPage.copyTo
(PdfDocument toDocument, IPdfPageExtraCopier copier, boolean addPageToDocument, int pageInsertIndex) Copies page and adds it to the specified document to the end or by index if the corresponding parameter is true.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 associates specified value with the specified key in the underlyingPdfDictionary
.Helper method that removes the value associated with the specified key from the underlyingPdfDictionary
.PdfPage.removeAnnotation
(PdfAnnotation annotation) Removes an annotation from the page.PdfPage.removeAnnotation
(PdfAnnotation annotation, boolean rememberTagPointer) 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.static boolean
PageContentRotationHelper.isPageRotationInverseMatrixWritten
(PdfPage page) Checks if page rotation inverse matrix (which rotates content into the opposite direction from the page rotation direction in order to give the impression of the not rotated text) is already applied to the page content stream.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.static void
PageContentRotationHelper.setPageRotationInverseMatrixWritten
(PdfPage page) Specify that inverse matrix (which rotates content into the opposite direction from the page rotation direction in order to give the impression of the not rotated text) is applied to the page content stream. -
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.event
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.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.kernel.utils.annotationsflattening
Modifier and TypeMethodDescriptionprotected PdfCanvas
DefaultAnnotationFlattener.createCanvas
(PdfPage page) Creates a canvas.protected PdfCanvas
HighLightTextMarkupAnnotationFlattener.createCanvas
(PdfPage page) Creates a canvas.protected boolean
DefaultAnnotationFlattener.draw
(PdfAnnotation annotation, PdfPage page) Draws annotation.protected boolean
HighLightTextMarkupAnnotationFlattener.draw
(PdfAnnotation annotation, PdfPage page) Draws annotation.protected boolean
SquigglyTextMarkupAnnotationFlattener.draw
(PdfAnnotation annotation, PdfPage page) Draws annotation.protected boolean
StrikeOutTextMarkupAnnotationFlattener.draw
(PdfAnnotation annotation, PdfPage page) Draws annotation.protected boolean
UnderlineTextMarkupAnnotationFlattener.draw
(PdfAnnotation annotation, PdfPage page) Draws annotation.boolean
AbstractTextMarkupAnnotationFlattener.flatten
(PdfAnnotation annotation, PdfPage page) Flatten annotation.boolean
DefaultAnnotationFlattener.flatten
(PdfAnnotation annotation, PdfPage page) Flatten annotation.boolean
IAnnotationFlattener.flatten
(PdfAnnotation annotation, PdfPage page) Flatten annotation.boolean
NotSupportedFlattener.flatten
(PdfAnnotation annotation, PdfPage page) Logs a warning that annotation flattening is not supported for the given annotation.boolean
RemoveWithoutDrawingFlattener.flatten
(PdfAnnotation annotation, PdfPage page) Flatten annotation.boolean
WarnFormfieldFlattener.flatten
(PdfAnnotation annotation, PdfPage page) Flatten annotation. -
Uses of PdfPage in com.itextpdf.kernel.validation.context
-
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
Modifier and TypeMethodDescriptionPdfAPageFactory.createPdfPage
(PdfDictionary pdfObject) CreatePdfPage
on the base of the pagePdfDictionary
.PdfAPageFactory.createPdfPage
(PdfDocument pdfDocument, PageSize pageSize) CreatePdfPage
with given page size and add it to thePdfDocument
. -
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.