| Modifier and Type | Method and Description |
|---|---|
static 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.
|
| Modifier and Type | Method and Description |
|---|---|
PdfPage |
PdfPage.addAnnotation(int index,
PdfAnnotation annotation,
boolean tagAnnotation)
Adds specified
PdfAnnotation to specified index in annotations array with or without autotagging. |
PdfPage |
PdfPage.addAnnotation(PdfAnnotation annotation)
Adds specified annotation to the end of annotations array and tagged it.
|
PdfPage |
PdfDocument.addNewPage()
Creates and adds new page to the end of document.
|
PdfPage |
PdfDocument.addNewPage(int index)
Creates and inserts new page to the document.
|
PdfPage |
PdfDocument.addNewPage(int index,
PageSize pageSize)
Creates and inserts new page to the document.
|
PdfPage |
PdfDocument.addNewPage(PageSize pageSize)
Creates and adds new page with the specified page size.
|
PdfPage |
PdfPage.addOutputIntent(PdfOutputIntent outputIntent)
Adds
PdfOutputIntent that shall specify the colour characteristics of output devices
on which the page might be rendered. |
PdfPage |
PdfDocument.addPage(int index,
PdfPage page)
Inserts page to the document.
|
PdfPage |
PdfDocument.addPage(PdfPage page)
Adds page to the end of document.
|
PdfPage |
PdfPage.copyTo(PdfDocument toDocument)
Copies page to the specified document.
|
PdfPage |
PdfPage.copyTo(PdfDocument toDocument,
IPdfPageExtraCopier copier)
Copies page to the specified document.
|
PdfPage |
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.
|
PdfPage |
IPdfPageFactory.createPdfPage(PdfDictionary pdfObject)
Create
PdfPage on the base of the page PdfDictionary. |
PdfPage |
IPdfPageFactory.createPdfPage(PdfDocument pdfDocument,
PageSize pageSize)
Create
PdfPage with given page size and add it to the PdfDocument. |
PdfPage |
PdfDocument.getFirstPage()
Get the first page of the document.
|
PdfPage |
PdfDocument.getLastPage()
Gets the last page of the document.
|
PdfPage |
PdfDocument.getPage(int pageNum)
Gets the page by page number.
|
PdfPage |
PdfDocument.getPage(PdfDictionary pageDictionary)
Gets the
PdfPage instance by PdfDictionary. |
PdfPage |
PdfPage.put(PdfName key,
PdfObject value)
Helper method that associates specified value with the specified key in the underlying
PdfDictionary. |
PdfPage |
PdfPage.remove(PdfName key)
Helper method that removes the value associated with the specified key
from the underlying
PdfDictionary. |
PdfPage |
PdfPage.removeAnnotation(PdfAnnotation annotation)
Removes an annotation from the page.
|
PdfPage |
PdfPage.removeAnnotation(PdfAnnotation annotation,
boolean rememberTagPointer)
Removes an annotation from the page.
|
PdfPage |
PdfPage.setAdditionalAction(PdfName key,
PdfAction action)
Helper method to add an additional action to this page.
|
PdfPage |
PdfPage.setArtBox(Rectangle rectangle)
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 |
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 |
PdfPage.setCropBox(Rectangle rectangle)
Sets the CropBox object, that defines the visible region of default user space.
|
PdfPage |
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 |
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 |
PdfPage.setPageLabel(PageLabelNumberingStyle numberingStyle,
String labelPrefix)
This method adds or replaces a page label.
|
PdfPage |
PdfPage.setPageLabel(PageLabelNumberingStyle numberingStyle,
String labelPrefix,
int firstPage)
This method adds or replaces a page label.
|
PdfPage |
PdfPage.setResources(PdfResources pdfResources)
Sets
PdfResources object. |
PdfPage |
PdfPage.setRotation(int degAngle)
Sets the page rotation.
|
PdfPage |
PdfPage.setTabOrder(PdfName tabOrder)
Sets a name specifying the tab order that shall be used for annotations on the page.
|
PdfPage |
PdfPage.setThumbnailImage(PdfImageXObject thumb)
Sets a stream object that shall define the page’s thumbnail image.
|
PdfPage |
PdfPage.setTrimBox(Rectangle rectangle)
Sets the TrimBox object, that define the intended dimensions of the finished page after trimming.
|
PdfPage |
PdfPage.setXmpMetadata(byte[] xmpMetadata)
Sets the XMP Metadata.
|
PdfPage |
PdfPage.setXmpMetadata(XMPMeta xmpMeta)
Serializes XMP Metadata to byte array and sets it.
|
PdfPage |
PdfPage.setXmpMetadata(XMPMeta xmpMeta,
SerializeOptions serializeOptions)
Serializes XMP Metadata to byte array and sets it.
|
| Modifier and Type | Method and Description |
|---|---|
List<PdfPage> |
PdfDocument.copyPagesTo(int pageFrom,
int pageTo,
PdfDocument toDocument)
Copies a range of pages from current document to
toDocument appending copied pages to the end. |
List<PdfPage> |
PdfDocument.copyPagesTo(int pageFrom,
int pageTo,
PdfDocument toDocument,
int insertBeforePage)
Copies a range of pages from current document to
toDocument. |
List<PdfPage> |
PdfDocument.copyPagesTo(int pageFrom,
int pageTo,
PdfDocument toDocument,
int insertBeforePage,
IPdfPageExtraCopier copier)
Copies a range of pages from current document to
toDocument. |
List<PdfPage> |
PdfDocument.copyPagesTo(int pageFrom,
int pageTo,
PdfDocument toDocument,
IPdfPageExtraCopier copier)
Copies a range of pages from current document to
toDocument appending copied pages to the end. |
List<PdfPage> |
PdfDocument.copyPagesTo(List<Integer> pagesToCopy,
PdfDocument toDocument)
Copies a range of pages from current document to
toDocument appending copied pages to the end. |
List<PdfPage> |
PdfDocument.copyPagesTo(List<Integer> pagesToCopy,
PdfDocument toDocument,
int insertBeforePage)
Copies a range of pages from current document to
toDocument. |
List<PdfPage> |
PdfDocument.copyPagesTo(List<Integer> pagesToCopy,
PdfDocument toDocument,
int insertBeforePage,
IPdfPageExtraCopier copier)
Copies a range of pages from current document to
toDocument. |
List<PdfPage> |
PdfDocument.copyPagesTo(List<Integer> pagesToCopy,
PdfDocument toDocument,
IPdfPageExtraCopier copier)
Copies a range of pages from current document to
toDocument appending copied pages to the end. |
| Modifier and Type | Method and Description |
|---|---|
PdfPage |
PdfDocument.addPage(int index,
PdfPage page)
Inserts page to the document.
|
PdfPage |
PdfDocument.addPage(PdfPage page)
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 |
IPdfPageExtraCopier.copy(PdfPage fromPage,
PdfPage toPage)
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 |
PdfDocument.movePage(PdfPage page,
int insertBefore)
Moves page to new place in same document with all it tag structure
|
boolean |
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected PdfPage |
PdfAnnotation.page |
| Modifier and Type | Method and Description |
|---|---|
PdfPage |
PdfAnnotation.getPage()
Gets a
PdfPage on which annotation is placed. |
| Modifier and Type | Method and Description |
|---|---|
PdfAnnotation |
PdfAnnotation.setPage(PdfPage page)
Method that modifies annotation page property, which defines to which page annotation belongs.
|
| Constructor and Description |
|---|
PdfCanvas(PdfPage page)
Convenience method for fast PdfCanvas creation by a certain page.
|
PdfCanvas(PdfPage page,
boolean wrapOldContent)
Convenience method for fast PdfCanvas creation by a certain page.
|
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected PdfPage |
PdfDocumentEvent.page
The PdfPage associated with this event.
|
| Modifier and Type | Method and Description |
|---|---|
PdfPage |
PdfDocumentEvent.getPage()
Returns the PdfPage associated with this event.
|
| Constructor and Description |
|---|
PdfDocumentEvent(String type,
PdfPage page)
Creates a PdfDocumentEvent.
|
| Modifier and Type | Method and Description |
|---|---|
static PdfExplicitDestination |
PdfExplicitDestination.create(PdfPage page,
PdfName type,
float left,
float bottom,
float right,
float top,
float zoom)
Creates a
PdfExplicitDestination associated with an object inside current PDF document. |
static PdfExplicitDestination |
PdfExplicitDestination.createFit(PdfPage page)
Creates
PdfExplicitDestination. |
static PdfExplicitDestination |
PdfExplicitDestination.createFitB(PdfPage page)
Creates
PdfExplicitDestination. |
static PdfExplicitDestination |
PdfExplicitDestination.createFitBH(PdfPage page,
float top)
Creates
PdfExplicitDestination. |
static PdfExplicitDestination |
PdfExplicitDestination.createFitBV(PdfPage page,
float left)
Creates
PdfExplicitDestination. |
static PdfExplicitDestination |
PdfExplicitDestination.createFitH(PdfPage page,
float top)
Creates
PdfExplicitDestination. |
static PdfExplicitDestination |
PdfExplicitDestination.createFitR(PdfPage page,
float left,
float bottom,
float right,
float top)
Creates
PdfExplicitDestination. |
static PdfExplicitDestination |
PdfExplicitDestination.createFitV(PdfPage page,
float left)
Creates
PdfExplicitDestination. |
static PdfExplicitDestination |
PdfExplicitDestination.createXYZ(PdfPage page,
float left,
float top,
float zoom)
Creates
PdfExplicitDestination. |
| Modifier and Type | Method and Description |
|---|---|
void |
PdfStructTreeRoot.createParentTreeEntryForPage(PdfPage page)
Creates and flushes parent tree entry for the page.
|
int |
PdfStructTreeRoot.getNextMcidForPage(PdfPage page) |
Collection<PdfMcr> |
PdfStructTreeRoot.getPageMarkedContentReferences(PdfPage page)
Gets an unmodifiable collection of marked content references on page.
|
void |
PdfStructTreeRoot.move(PdfPage fromPage,
int insertBeforePage)
Moves structure associated with specified page and insert it in a specified position in the document.
|
void |
PdfStructTreeRoot.savePageStructParentIndexIfNeeded(PdfPage page) |
| Modifier and Type | Method and Description |
|---|---|
void |
PdfStructTreeRoot.copyTo(PdfDocument destDocument,
int insertBeforePage,
Map<PdfPage,PdfPage> page2page)
Copies structure to a
destDocument and insert it in a specified position in the document. |
void |
PdfStructTreeRoot.copyTo(PdfDocument destDocument,
int insertBeforePage,
Map<PdfPage,PdfPage> page2page)
Copies structure to a
destDocument and insert it in a specified position in the document. |
void |
PdfStructTreeRoot.copyTo(PdfDocument destDocument,
Map<PdfPage,PdfPage> page2page)
Copies structure to a
destDocument. |
void |
PdfStructTreeRoot.copyTo(PdfDocument destDocument,
Map<PdfPage,PdfPage> page2page)
Copies structure to a
destDocument. |
| Constructor and Description |
|---|
PdfMcrDictionary(PdfPage page,
PdfStructElem parent) |
PdfMcrNumber(PdfPage page,
PdfStructElem parent) |
PdfStructElem(PdfDocument document,
PdfName role,
PdfPage page) |
| Modifier and Type | Method and Description |
|---|---|
PdfPage |
TagTreePointer.getCurrentPage() |
| Modifier and Type | Method and Description |
|---|---|
TagStructureContext |
TagStructureContext.flushPageTags(PdfPage page)
Flushes the tags which are considered to belong to the given page.
|
TagTreePointer |
TagStructureContext.removeContentItem(PdfPage page,
int mcid)
Removes content item from the tag structure.
|
TagStructureContext |
TagStructureContext.removePageTags(PdfPage page)
Removes all tags that belong only to this page.
|
TagTreePointer |
TagTreePointer.setPageForTagging(PdfPage page)
Sets a page which content will be tagged with this instance of
TagTreePointer. |
| Constructor and Description |
|---|
PdfFormXObject(PdfPage page)
Creates form XObject from page content.
|
| Modifier and Type | Method and Description |
|---|---|
protected 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 |
UnderlineTextMarkupAnnotationFlattener.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.
|
boolean |
DefaultAnnotationFlattener.flatten(PdfAnnotation annotation,
PdfPage page)
Flatten annotation.
|
boolean |
IAnnotationFlattener.flatten(PdfAnnotation annotation,
PdfPage page)
Flatten annotation.
|
boolean |
RemoveWithoutDrawingFlattener.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 |
WarnFormfieldFlattener.flatten(PdfAnnotation annotation,
PdfPage page)
Flatten annotation.
|
boolean |
AbstractTextMarkupAnnotationFlattener.flatten(PdfAnnotation annotation,
PdfPage page)
Flatten annotation.
|
| Modifier and Type | Method and Description |
|---|---|
PdfPage |
PdfPageValidationContext.getPage()
Gets the pdf page.
|
| Constructor and Description |
|---|
PdfPageValidationContext(PdfPage page)
Instantiates a new
PdfPageValidationContext based on pdf page. |
Copyright © 1998–2024 Apryse Group NV. All rights reserved.