Foxit PDF Conversion SDK
com.foxit.sdk.common.Progressive类 参考
类 com.foxit.sdk.common.Progressive 继承关系图:
com.foxit.sdk.common.Base

Public 成员函数

 Progressive (Progressive other) throws com.foxit.sdk.PDFException
 构造函数,使用另一个渐进式对象。 更多...
 
synchronized void delete ()
 直接清除C++相关资源。 更多...
 
int getRateOfProgress () throws com.foxit.sdk.PDFException
 获取当前进度的比率。 更多...
 
int resume () throws com.foxit.sdk.PDFException
 继续渐进式过程。 更多...
 
- Public 成员函数 继承自 com.foxit.sdk.common.Base
synchronized void delete ()
 直接清除C++相关资源。 更多...
 

静态 Public 属性

static final int e_Error = 0
 进度状态:发生任何错误。
 
static final int e_Finished = 2
 进度状态:进度已完成。
 
static final int e_ToBeContinued = 1
 进度状态:进度需要继续。
 

详细描述

此类表示一个渐进式对象,用于将PDF文档转换为Office文档的渐进式过程。

构造及析构函数说明

◆ Progressive()

com.foxit.sdk.common.Progressive.Progressive ( Progressive  other) throws com.foxit.sdk.PDFException

构造函数,使用另一个渐进式对象。

参数
[in]other另一个渐进式对象。

成员函数说明

◆ delete()

synchronized void com.foxit.sdk.common.Progressive.delete ( )

直接清除C++相关资源。

返回
无。
注解
一旦这个接口被调用,这个对象将不能再被使用。

◆ getRateOfProgress()

int com.foxit.sdk.common.Progressive.getRateOfProgress ( ) throws com.foxit.sdk.PDFException

获取当前进度的比率。

返回
介于0和100之间(包括)的整数,表示当前进度的比率。 -1表示错误。

◆ resume()

int com.foxit.sdk.common.Progressive.resume ( ) throws com.foxit.sdk.PDFException

继续渐进式过程。

返回
com.foxit.sdk.common.Progressive.e_Finished 表示当前过程已成功完成。
com.foxit.sdk.common.Progressive.e_ToBeContinued 表示当前过程已暂停, 需要再次调用此函数以继续该过程。
com.foxit.sdk.common.Progressive.e_Error 表示发生任何错误。