|
Foxit PDF SDK
|
Public Member Functions | |
| CompareResultInfo (int type, RectFArray rect_array, String diff_contents) | |
| Constructor, with parameters. More... | |
| CompareResultInfo () | |
| Constructor. | |
| CompareResultInfo (CompareResultInfo result_info) | |
| Constructor, with another result information object. More... | |
| synchronized void | delete () |
| Clean up related resources immediately. More... | |
| String | getDiff_contents () |
| Get different contents as compared result. More... | |
| RectFArray | getRect_array () |
| Get rectangle array which specifies the location of parameter diff_contents in the PDF page to be compared. More... | |
| int | getType () |
| Get result type. More... | |
| void | setDiff_contents (String value) |
| Set different contents as compared result. More... | |
| void | setRect_array (RectFArray value) |
| Set rectangle array which specifies the location of parameter diff_contents in the PDF page to be compared. More... | |
| void | setType (int value) |
| Set result type. More... | |
Static Public Attributes | |
| static final int | e_CompareResultTypeDeleteAnnot = 15 |
| Result type: delete annotation. | |
| static final int | e_CompareResultTypeDeleteImage = 6 |
| Result type: delete image. | |
| static final int | e_CompareResultTypeDeletePath = 9 |
| Result type: delete path. | |
| static final int | e_CompareResultTypeDeleteShading = 12 |
| Result type: delete shading. | |
| static final int | e_CompareResultTypeDeleteText = 0 |
| Result type: delete text. | |
| static final int | e_CompareResultTypeInsertAnnot = 16 |
| Result type: insert annotation. | |
| static final int | e_CompareResultTypeInsertImage = 7 |
| Result type: insert image. | |
| static final int | e_CompareResultTypeInsertPath = 10 |
| Result type: insert path. | |
| static final int | e_CompareResultTypeInsertShading = 13 |
| Result type: insert shading. | |
| static final int | e_CompareResultTypeInsertText = 1 |
| Result type: insert text. | |
| static final int | e_CompareResultTypeNone = -1 |
| Result type: unsupported or invalid. | |
| static final int | e_CompareResultTypeReplaceAnnot = 17 |
| Result type: replace annotation. | |
| static final int | e_CompareResultTypeReplaceImage = 8 |
| Result type: replace image. | |
| static final int | e_CompareResultTypeReplacePath = 11 |
| Result type: replace path. | |
| static final int | e_CompareResultTypeReplaceShading = 14 |
| Result type: replace shading. | |
| static final int | e_CompareResultTypeReplaceText = 2 |
| Result type: replace text. | |
| static final int | e_CompareResultTypeTextAttriChange = 18 |
| (Reserved, not supported yet) Result type: text attribute change. | |
This class represents the compare result information.
| com.foxit.sdk.addon.comparison.CompareResultInfo.CompareResultInfo | ( | int | type, |
| RectFArray | rect_array, | ||
| String | diff_contents | ||
| ) |
Constructor, with parameters.
| [in] | type | Result type. Please refer to values starting from com.foxit.sdk.addon.comparison.CompareResultInfo.e_CompareResultTypeNone and this should be one of these values. |
| [in] | rect_array | Rectangle array which specifies the location of parameter diff_contents in the PDF page to be compared. |
| [in] | diff_contents | Different contents as compared result. |
| com.foxit.sdk.addon.comparison.CompareResultInfo.CompareResultInfo | ( | CompareResultInfo | result_info | ) |
Constructor, with another result information object.
| [in] | result_info | Another result information object. |
| synchronized void com.foxit.sdk.addon.comparison.CompareResultInfo.delete | ( | ) |
Clean up related resources immediately.
| com.foxit.sdk.addon.comparison.CompareResultInfo.getDiff_contents | ( | ) |
Get different contents as compared result.
| com.foxit.sdk.addon.comparison.CompareResultInfo.getRect_array | ( | ) |
Get rectangle array which specifies the location of parameter diff_contents in the PDF page to be compared.
| com.foxit.sdk.addon.comparison.CompareResultInfo.getType | ( | ) |
Get result type.
| com.foxit.sdk.addon.comparison.CompareResultInfo.setDiff_contents | ( | String | value | ) |
Set different contents as compared result.
| [in] | value | Different contents as compared result. |
| com.foxit.sdk.addon.comparison.CompareResultInfo.setRect_array | ( | RectFArray | value | ) |
Set rectangle array which specifies the location of parameter diff_contents in the PDF page to be compared.
| [in] | value | Rectangle array which specifies the location of parameter diff_contents in the PDF page to be compared. |
| com.foxit.sdk.addon.comparison.CompareResultInfo.setType | ( | int | value | ) |
Set result type.
| [in] | value | Result type. Please refer to values starting from com.foxit.sdk.addon.comparison.CompareResultInfo.e_CompareResultTypeNone and this should be one of these values. |