Modifier and Type | Method and Description |
---|---|
void |
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 |
PdfPageFormCopier.copy(PdfPage fromPage, PdfPage toPage) |
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 | Field and Description |
---|---|
protected PdfPage |
PdfDocument.currentPage
Currently active page.
|
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 |
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 |
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 associate specified value with specified key in the underlined PdfDictionary .
|
PdfPage |
PdfPage.removeAnnotation(PdfAnnotation annotation)
Removes an annotation from the page.
|
PdfPage |
PdfDocument.removePage(int pageNum)
Removes page from the document by page number.
|
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(PageLabelNumberingStyleConstants numberingStyle, String labelPrefix)
This method adds or replaces a page label.
|
PdfPage |
PdfPage.setPageLabel(PageLabelNumberingStyleConstants 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.setTrimBox(Rectangle rectangle)
Sets the TrimBox object, that define the intended dimensions of the finished page after trimming.
|
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.
|
boolean |
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)
Save the link annotation in a temporary storage for further copying.
|
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 | Method and Description |
---|---|
static PdfExplicitDestination |
PdfExplicitDestination.create(PdfPage page, PdfName type, float left, float bottom, float right, float top, float zoom) |
static PdfExplicitDestination |
PdfExplicitDestination.createFit(PdfPage page) |
static PdfExplicitDestination |
PdfExplicitDestination.createFitB(PdfPage page) |
static PdfExplicitDestination |
PdfExplicitDestination.createFitBH(PdfPage page, float top) |
static PdfExplicitDestination |
PdfExplicitDestination.createFitBV(PdfPage page, float left) |
static PdfExplicitDestination |
PdfExplicitDestination.createFitH(PdfPage page, float top) |
static PdfExplicitDestination |
PdfExplicitDestination.createFitR(PdfPage page, float left, float bottom, float right, float top) |
static PdfExplicitDestination |
PdfExplicitDestination.createFitV(PdfPage page, float left) |
static PdfExplicitDestination |
PdfExplicitDestination.createXYZ(PdfPage page, float left, float top, float zoom) |
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.
|
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 | Field and Description |
---|---|
protected PdfPage |
Canvas.page
Is initialized and used only when Canvas element autotagging is enabled, see Canvas.enableAutoTagging(PdfPage) .
|
Modifier and Type | Method and Description |
---|---|
PdfPage |
Canvas.getPage()
Returned value is not null only in case when autotagging is enabled.
|
Modifier and Type | Method and Description |
---|---|
void |
Canvas.enableAutoTagging(PdfPage page)
Enables canvas content autotagging.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfAChecker.checkSinglePage(PdfPage page)
This method checks all requirements that must be fulfilled by a page in a PDF/A document.
|
Copyright © 1998–2018 iText Group NV. All rights reserved.