Foxit PDF SDK
|
Public Member Functions | |
boolean | needToReplace (String search_text, String replace_text, int current_page_index, RectFArray text_rect_array) |
A callback function to verify whether need to replace text. More... | |
void | release () |
A callback function used to release current callback object itself. More... | |
This class represents a callback object for replacing. All the pure virtual functions in this class are used as callback functions and should be implemented by user.
boolean com.foxit.sdk.addon.pageeditor.ReplaceCallback.needToReplace | ( | String | search_text, |
String | replace_text, | ||
int | current_page_index, | ||
RectFArray | text_rect_array | ||
) |
A callback function to verify whether need to replace text.
[in] | search_text | The search text. It will not be empty. |
[in] | replace_text | The text will be replaced with. It will not be empty. |
[in] | current_page_index | The current page index.Valid range: from 0 to (count-1). count is returned by function PDFDoc.getPageCount for PDF document. |
[in] | text_rect_array | The found text rect array. |
void com.foxit.sdk.addon.pageeditor.ReplaceCallback.release | ( | ) |
A callback function used to release current callback object itself.