Public Member Functions | |
XFAPage (XFAPage other) | |
Constructor, with another XFAPage object. More... | |
Matrix2D | getDisplayMatrix (int left, int top, int width, int height, int rotate) throws com.foxit.sdk.PDFException |
Get the display matrix, from PDF coordinate system to targeted device coordinate system. More... | |
float | getHeight () throws com.foxit.sdk.PDFException |
Get the height of the XFA page. More... | |
int | getIndex () throws com.foxit.sdk.PDFException |
Get index of the XFA page. More... | |
XFAWidget | getWidget (int widget_index) throws com.foxit.sdk.PDFException |
Get XFA widget by index. More... | |
XFAWidget | getWidgetAtDevicePoint (Matrix2D matrix, PointF device_point, float tolerance) throws com.foxit.sdk.PDFException |
Get the XFA widget at a specified point, in device coordination system. More... | |
int | getWidgetCount () throws com.foxit.sdk.PDFException |
Get the count of XFA widget. More... | |
float | getWidth () throws com.foxit.sdk.PDFException |
Get the width. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
Class addon::xfa::XFAPage represents the XFA page which is retrieved from XFA document object.
To render a XFA page, please use function common::Renderer::startRenderXFAPage.
com.foxit.sdk.addon.xfa.XFAPage.XFAPage | ( | XFAPage | other | ) |
Matrix2D com.foxit.sdk.addon.xfa.XFAPage.getDisplayMatrix | ( | int | left, |
int | top, | ||
int | width, | ||
int | height, | ||
int | rotate | ||
) | throws com.foxit.sdk.PDFException |
Get the display matrix, from PDF coordinate system to targeted device coordinate system.
left | Left position of the transformation area in device coordinate system, commonly in pixels. |
top | Top position of the transformation area in device coordinate system, commonly in pixels. |
width | Width of the transformation area in device coordinate system, commonly in pixels. |
height | Height of the transformation area in device coordinate system, commonly in pixels. |
rotate | Rotation value. Please refer to values starting from e_Rotation0 and this should be one of these values. |
float com.foxit.sdk.addon.xfa.XFAPage.getHeight | ( | ) | throws com.foxit.sdk.PDFException |
Get the height of the XFA page.
int com.foxit.sdk.addon.xfa.XFAPage.getIndex | ( | ) | throws com.foxit.sdk.PDFException |
Get index of the XFA page.
XFAWidget com.foxit.sdk.addon.xfa.XFAPage.getWidget | ( | int | widget_index | ) | throws com.foxit.sdk.PDFException |
Get XFA widget by index.
widget_index | The XFA widget index. Valid range: from 0 to (count-1). count is returned by function addon::xfa::XFAPage::getWidgetCount. |
XFAWidget com.foxit.sdk.addon.xfa.XFAPage.getWidgetAtDevicePoint | ( | Matrix2D | matrix, |
PointF | device_point, | ||
float | tolerance | ||
) | throws com.foxit.sdk.PDFException |
Get the XFA widget at a specified point, in device coordination system.
matrix | The transformation matrix. Usually this is returned by function addon::xfa::XFAPage::getDisplayMatrix. |
device_point | A point in device coordination system. |
tolerance | Tolerance value. Valid range: 0.0f to 30.0f. |
int com.foxit.sdk.addon.xfa.XFAPage.getWidgetCount | ( | ) | throws com.foxit.sdk.PDFException |
Get the count of XFA widget.
float com.foxit.sdk.addon.xfa.XFAPage.getWidth | ( | ) | throws com.foxit.sdk.PDFException |
Get the width.
boolean com.foxit.sdk.addon.xfa.XFAPage.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.