Foxit PDF SDK
<FSSplitPDFDocCallback>协议 参考

继承自 <NSObject> .

构造函数

(BOOL) - needToPause
 A callback function used to pause the current splitting progress. 更多...
 
(void) - progressNotify:after_split_file_path:split_page_count:total_page_count:
 A callback function used to notify the current splitting progress. 更多...
 
(void) - resultNotify:
 A callback function used to notify the current split result. 更多...
 

详细描述

This class represents a callback object used to pause and notify the splitting progress during the splitting process, as well as to notify the result of the split. All the pure virtual functions in this class are used as callback functions and should be implemented by user.

函数文档

◆ needToPause()

- (BOOL) needToPause
required

A callback function used to pause the current splitting progress.

返回
true means to pause now, while false means not to pause now.

◆ progressNotify:after_split_file_path:split_page_count:total_page_count:()

- (void) progressNotify: (NSString *)  before_splitting_file_name
after_split_file_path: (NSString *)  after_split_file_path
split_page_count: (int)  split_page_count
total_page_count: (int)  total_page_count 
required

A callback function used to notify the current splitting progress.

参数
[in]before_splitting_file_nameThe file name of the original PDF document before splitting.
[in]after_split_file_pathThe file path of the PDF document generated by splitting.
[in]split_page_countThe count of pages to be split in the current PDF document.
[in]total_page_countThe total count of pages in the current PDF documen.
返回
None.

◆ resultNotify:()

- (void) resultNotify: (FSSplitFileResultArray *)  result_array
required

A callback function used to notify the current split result.

参数
[in]result_arrayAn array of FSSplitFileResult objects. When the splitting is completed, the result information of each file split will be notified.
返回
None.