|
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.PageElement
|
+--com.cete.dynamicpdf.merger.ImportedPageData
This class can be used to pull a single selected page from an existing PDF document. You can scale it or rotate it and you can place it on an another page.
Licensing:
This class is a DynamicPDF Merger Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
ImportedPageData(ImportedPageContents contents)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(ImportedPageContents contents,
float xOffset,
float yOffset)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(ImportedPageContents contents,
float xOffset,
float yOffset,
float scale)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(PdfPage pdfPage)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(PdfPage pdfPage,
float xOffset,
float yOffset)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(PdfPage pdfPage,
float xOffset,
float yOffset,
float scale)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(java.lang.String filePath,
int pageNumber)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(java.lang.String filePath,
int pageNumber,
float xOffset,
float yOffset)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(java.lang.String filePath,
int pageNumber,
float xOffset,
float yOffset,
float scale)
Initializes a new instance of the ImportedPageData class. |
|
| Method Summary | |
void |
draw(PageWriter writer)
Draws the imported page data to the given PageWriter object. |
float |
getAngle()
Gets the angle of the page in degrees. |
float |
getClipBottom()
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.getClipBottom() |
float |
getClipLeft()
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.getClipLeft() |
float |
getClipRight()
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.getClipRight() |
float |
getClipTop()
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.getClipTop() |
ImportedPageContents |
getContents()
Gets the imported page data's ImportedPageContents object. |
float |
getHeight()
Gets the height of the page. |
float |
getScaleX()
Gets the horizontal scale of the page. |
float |
getScaleY()
Gets the vertical scale of the page. |
float |
getWidth()
Gets the width of the page. |
float |
getXOffset()
Gets the X offset of the page. |
float |
getYOffset()
Gets the Y offset of the page. |
void |
setAngle(float angle)
Sets the angle of the page in degrees. |
void |
setClipBottom(float clipBottom)
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.setClipBottom(float value) |
void |
setClipLeft(float clipLeft)
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.setClipLeft(float value) |
void |
setClipRight(float clipRight)
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.setClipRight(float value) |
void |
setClipTop(float clipTop)
Deprecated. As of DynamicPDF Merger v4.0.0, replaced by ImportedPageContents.setClipTop(float value) |
void |
setHeight(float height)
Sets the height of the page. |
void |
setScaleX(float scaleX)
Sets the horizontal scale of the page. |
void |
setScaleY(float scaleY)
Sets the vertical scale of the page. |
void |
setWidth(float width)
Sets the width of the page. |
void |
setXOffset(float xOffset)
Sets the X offset of the page. |
void |
setYOffset(float yOffset)
Sets the Y offset of the page. |
| Methods inherited from class com.cete.dynamicpdf.PageElement |
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImportedPageData(java.lang.String filePath,
int pageNumber)
ImportedPageData class.
filePath - Physical file path of the PDF document to import.pageNumber - Page number to import.ImportedPageData
public ImportedPageData(java.lang.String filePath,
int pageNumber,
float xOffset,
float yOffset)
ImportedPageData class.
filePath - Physical file path of the PDF document to import.pageNumber - Page number to import.xOffset - X offset of the placement on the page.yOffset - Y offset of the placement on the page.ImportedPageData
public ImportedPageData(java.lang.String filePath,
int pageNumber,
float xOffset,
float yOffset,
float scale)
ImportedPageData class.
filePath - Physical file path of the PDF document to import.pageNumber - Page number to import.xOffset - X offset of the placement on the page.yOffset - Y offset of the placement on the pagescale - Scale of the imported page.ImportedPageDatapublic ImportedPageData(PdfPage pdfPage)
ImportedPageData class.
pdfPage - PdfPage object to import.ImportedPageData,
PdfPage
public ImportedPageData(PdfPage pdfPage,
float xOffset,
float yOffset)
ImportedPageData class.
pdfPage - PdfPage object to import.xOffset - X offset of the placement on the page.yOffset - Y offset of the placement on the page.ImportedPageData,
PdfPage
public ImportedPageData(PdfPage pdfPage,
float xOffset,
float yOffset,
float scale)
ImportedPageData class.
pdfPage - PdfPage object to import.xOffset - X offset of the placement on the page.yOffset - Y offset of the placement on the page.scale - Scale of the imported page.ImportedPageData,
PdfPagepublic ImportedPageData(ImportedPageContents contents)
ImportedPageData class.
contents - ImportedPageContents object containing
the pages contents.ImportedPageData,
ImportedPageContents
public ImportedPageData(ImportedPageContents contents,
float xOffset,
float yOffset)
ImportedPageData class.
contents - ImportedPageContents object containing
the pages contents.xOffset - X offset of the placement on the page.yOffset - Y offset of the placement on the page.ImportedPageData,
ImportedPageContents
public ImportedPageData(ImportedPageContents contents,
float xOffset,
float yOffset,
float scale)
ImportedPageData class.
contents - ImportedPageContents object containing
the pages contents.xOffset - X offset of the placement on the page.yOffset - Y offset of the placement on the page.scale - Scale of the imported page.ImportedPageData,
ImportedPageContents| Method Detail |
public void draw(PageWriter writer)
PageWriter object.
draw in class PageElementwriter - PageWriter object to receive the imported
page data output.PageWriterpublic void setClipLeft(float clipLeft)
ImportedPageContents.setClipLeft(float value)
clipLeft - The left clipping of the page.public float getClipLeft()
ImportedPageContents.getClipLeft()
public void setClipRight(float clipRight)
ImportedPageContents.setClipRight(float value)
clipRight - The right clipping of the page.public float getClipRight()
ImportedPageContents.getClipRight()
public void setClipTop(float clipTop)
ImportedPageContents.setClipTop(float value)
clipTop - The top clipping of the page.public float getClipTop()
ImportedPageContents.getClipTop()
public void setClipBottom(float clipBottom)
ImportedPageContents.setClipBottom(float value)
clipBottom - The bottom clipping of the page.public float getClipBottom()
ImportedPageContents.getClipBottom()
public void setXOffset(float xOffset)
xOffset - The X offset of the page.public float getXOffset()
public void setYOffset(float yOffset)
yOffset - The Y offset of the page.public float getYOffset()
public void setScaleX(float scaleX)
scaleX - The horizontal scale of the page.public float getScaleX()
public void setScaleY(float scaleY)
scaleY - The vertical scale of the page.public float getScaleY()
public void setWidth(float width)
width - The width of the page.public float getWidth()
public void setHeight(float height)
height - The height of the page.public float getHeight()
public void setAngle(float angle)
angle - The angle of the page in degrees.public float getAngle()
public ImportedPageContents getContents()
ImportedPageContents object.
ImportedPageContents
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||