|
|
| PDFACompliance () |
| | 构造函数。
|
| |
| | PDFACompliance (PDFACompliance other) |
| | 带另一个PDF/A合规性对象的构造函数。 更多...
|
| |
| ResultInformation | convertPDFFile (String src_pdf_path, String saved_pdf_path, int convert_to_version, ProgressCallback progress_callback) throws com.foxit.sdk.PDFException |
| | 使用指定的PDF/A版本转换PDF文件。 更多...
|
| |
| ResultInformation | convertPDFFile (String src_pdf_path, String saved_pdf_path, int convert_to_version, int view_or_print_condition, boolean convert_problem_pages_into_image, boolean convert_all_pages_into_image, int image_resolution, ProgressCallback progress_callback) throws com.foxit.sdk.PDFException |
| | 使用指定的PDF/A版本转换PDF文件。 更多...
|
| |
| synchronized void | delete () |
| | 直接清除C++相关资源。 更多...
|
| |
| boolean | isEmpty () |
| | 检查当前对象是否为空。 更多...
|
| |
| ResultInformation | verify (int verify_version, String src_pdf_path, int first_page_index, int last_page_index, ProgressCallback progress_callback) throws com.foxit.sdk.PDFException |
| | 使用指定的PDF/A版本验证PDF文件。 更多...
|
| |
| synchronized void | delete () |
| | 直接清除C++相关资源。 更多...
|
| |
此类可用于PDF/A合规性验证或将PDF文件转换为PDF/A格式。 请确保ComplianceEngine 已成功初始化。
- 参见
- ComplianceEngine
◆ PDFACompliance()
| com.foxit.sdk.addon.compliance.PDFACompliance.PDFACompliance |
( |
PDFACompliance |
other | ) |
|
◆ convertPDFFile() [1/2]
◆ convertPDFFile() [2/2]
| ResultInformation com.foxit.sdk.addon.compliance.PDFACompliance.convertPDFFile |
( |
String |
src_pdf_path, |
|
|
String |
saved_pdf_path, |
|
|
int |
convert_to_version, |
|
|
int |
view_or_print_condition, |
|
|
boolean |
convert_problem_pages_into_image, |
|
|
boolean |
convert_all_pages_into_image, |
|
|
int |
image_resolution, |
|
|
ProgressCallback |
progress_callback |
|
) |
| throws com.foxit.sdk.PDFException |
◆ delete()
| synchronized void com.foxit.sdk.addon.compliance.PDFACompliance.delete |
( |
| ) |
|
直接清除C++相关资源。
- 返回
- 无。
- 注解
- 一旦这个接口被调用,这个对象将不能再被使用。
◆ isEmpty()
| boolean com.foxit.sdk.addon.compliance.PDFACompliance.isEmpty |
( |
| ) |
|
检查当前对象是否为空。
当前对象为空时,意味着当前对象无用。
- 返回
- true表示当前对象为空,false表示不为空。
◆ verify()
使用指定的PDF/A版本验证PDF文件。
- 参数
-
| [in] | verify_version | 要验证的PDF/A版本。 请参考从com.foxit.sdk.addon.compliance.PDFACompliance.e_VersionPDFA1a 开始的值, 这应该是这些值之一。 |
| [in] | src_pdf_path | 要验证的源PDF文件的完整路径。这不应该是空字符串。 |
| [in] | first_page_index | 要验证的第一页的索引,从0开始。默认值:0。 |
| [in] | last_page_index | 要验证的最后一页的索引。如果这是-1,那意味着 源PDF文件的所有页面都将被验证(忽略first_page_index)。 默认值:-1。 |
| [in] | progress_callback | 由用户实现的进度回调,可用于获取进度数据。 这可以是null。默认值:null。 |
- 返回
- ResultInformation 对象。