|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Page
|
+--com.cete.dynamicpdf.merger.ImportedPage
This class can be used to pull a single selected page from an existing PDF document.
View Example
| Constructor Summary | |
ImportedPage(PdfPage pdfPage)
Initializes a new instance of the ImportedPage class. |
|
ImportedPage(PdfPage pdfPage,
float margins)
Initializes a new instance of the ImportedPage class. |
|
ImportedPage(java.lang.String filePath,
int pageNumber)
Initializes a new instance of the ImportedPage class. |
|
ImportedPage(java.lang.String filePath,
int pageNumber,
float margins)
Initializes a new instance of the ImportedPage class. |
|
| Method Summary | |
protected void |
drawAnnotations(DocumentWriter writer)
Draws the annotations to the given com.cete.dynamicpdf.io.DocumentWriter object. |
protected void |
drawAppend(PageWriter writer)
Draws the appended output to the given com.cete.dynamicpdf.io.PageWriter object. |
protected void |
drawContents(DocumentWriter writer)
Draws the contents to the given com.cete.dynamicpdf.io.DocumentWriter object. |
protected void |
drawPrepend(PageWriter writer)
Draws the prepended output to the given com.cete.dynamicpdf.io.PageWriter object. |
protected void |
drawResources(DocumentWriter writer,
PageResources resources)
Draws the resources to the given com.cete.dynamicpdf.io.DocumentWriter object. |
Group |
getBackgroundElements()
Gets a collection of page elements to be drawn as a background on the page. |
protected int |
getContentObjects()
Gets the number of content objects used by the imported page. |
PdfPage |
getPdfPage()
Gets the imported page that this page will be based on. |
protected boolean |
hasPageElements(DocumentWriter writer,
int pageNumber)
Returns a boolean value specifying if the page has Page Elements |
| Methods inherited from class com.cete.dynamicpdf.Page |
drawDimensions, getApplyDocumentTemplate, getApplySectionTemplate, getDimensions, getElements, getRequiredLicenseLevel, getRotate, setApplyDocumentTemplate, setApplySectionTemplate, setDimensions, setRequiredLicenseLevel, setRotate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImportedPage(java.lang.String filePath,
int pageNumber)
ImportedPage class.
filePath - Physical file path of the PDF document to import.pageNumber - Page number to import.
public ImportedPage(java.lang.String filePath,
int pageNumber,
float margins)
ImportedPage class.
filePath - Physical file path of the PDF document to import.pageNumber - Page number to import.margins - Margins of the new page. Overrides the default margins.public ImportedPage(PdfPage pdfPage)
ImportedPage class.
pdfPage - PdfPage object to import.PdfPage
public ImportedPage(PdfPage pdfPage,
float margins)
ImportedPage class.
pdfPage - PdfPage object to import.margins - Margins of the new page. Overrides the default margins.PdfPage| Method Detail |
protected int getContentObjects()
getContentObjects in class Pageprotected void drawContents(DocumentWriter writer)
com.cete.dynamicpdf.io.DocumentWriter object.
drawContents in class Pagewriter - DocumentWriter to receive the output.DocumentWriter
protected void drawResources(DocumentWriter writer,
PageResources resources)
com.cete.dynamicpdf.io.DocumentWriter object.
drawResources in class Pagewriter - DocumentWriter to receive the output.resources - The pages resources.DocumentWriter,
PageResourcesprotected void drawPrepend(PageWriter writer)
com.cete.dynamicpdf.io.PageWriter object.
drawPrepend in class Pagewriter - PageWriter to receive the output.PageWriterprotected void drawAnnotations(DocumentWriter writer)
com.cete.dynamicpdf.io.DocumentWriter object.
drawAnnotations in class Pagewriter - DocumentWriter to receive the output.DocumentWriterprotected void drawAppend(PageWriter writer)
com.cete.dynamicpdf.io.PageWriter object.
drawAppend in class Pagewriter - PageWriter to receive the output.PageWriter
protected boolean hasPageElements(DocumentWriter writer,
int pageNumber)
hasPageElements in class Pagewriter - DocumentWriter to receive the outputpageNumber - The page number to check.DocumentWriterpublic Group getBackgroundElements()
Page.getElements() property to
place page elements on top of the imported PDF data.
Grouppublic PdfPage getPdfPage()
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||