|
Foxit PDF SDK
|
Public 成员函数 | |
| boolean | needToReplace (String search_text, String replace_text, int current_page_index, RectFArray text_rect_array) |
| 用于验证是否需要替换文本的回调函数。 更多... | |
| void | release () |
| 用于释放当前回调对象本身的回调函数。 更多... | |
此类表示用于替换的回调对象。 此类中的所有纯虚函数都用作回调函数,应由用户实现。
| boolean com.foxit.sdk.addon.pageeditor.ReplaceCallback.needToReplace | ( | String | search_text, |
| String | replace_text, | ||
| int | current_page_index, | ||
| RectFArray | text_rect_array | ||
| ) |
用于验证是否需要替换文本的回调函数。
| [in] | search_text | 搜索文本。不会为空。 |
| [in] | replace_text | 要替换的文本。不会为空。 |
| [in] | current_page_index | 当前页面索引。有效范围:从 0 到 (count-1)。count 由 PDF 文档的函数 PDFDoc.getPageCount 返回。 |
| [in] | text_rect_array | 找到的文本矩形数组。 |
| void com.foxit.sdk.addon.pageeditor.ReplaceCallback.release | ( | ) |
用于释放当前回调对象本身的回调函数。