NIM PC Cross Platform SDK
nim_doc_trans.h
Go to the documentation of this file.
1
7#ifndef NIM_SDK_DLL_API_NIM_DOC_TRANS_H_
8#define NIM_SDK_DLL_API_NIM_DOC_TRANS_H_
9
10#include "nim_doc_trans_def.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
23NIM_SDK_DLL_API void nim_doctrans_reg_notify_cb(const char* json_extension, nim_doctrans_opt_cb_func cb, const void* user_data);
24
33NIM_SDK_DLL_API void nim_doctrans_get_info(const char* id, const char* json_extension, nim_doctrans_opt_cb_func cb, const void* user_data);
34
44NIM_SDK_DLL_API void nim_doctrans_get_info_list(const char* id,
45 int32_t limit,
46 const char* json_extension,
48 const void* user_data);
49
58NIM_SDK_DLL_API void nim_doctrans_del_info(const char* id, const char* json_extension, nim_doctrans_opt_cb_func cb, const void* user_data);
59
66NIM_SDK_DLL_API char* nim_doctrans_get_source_file_url(const char* url_prefix, NIMDocTranscodingFileType file_type);
67
79NIM_SDK_DLL_API char* nim_doctrans_get_page_url(const char* url_prefix,
82 int32_t page_num);
83
84#ifdef __cplusplus
85};
86#endif //__cplusplus
87#endif // NIM_SDK_DLL_API_NIM_DOC_TRANS_H_
NIM_SDK_DLL_API char * nim_doctrans_get_page_url(const char *url_prefix, NIMDocTranscodingImageType img_type, NIMDocTranscodingQuality quality, int32_t page_num)
NIM_SDK_DLL_API void nim_doctrans_reg_notify_cb(const char *json_extension, nim_doctrans_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_doctrans_get_info(const char *id, const char *json_extension, nim_doctrans_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_doctrans_get_info_list(const char *id, int32_t limit, const char *json_extension, nim_doctrans_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_doctrans_del_info(const char *id, const char *json_extension, nim_doctrans_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API char * nim_doctrans_get_source_file_url(const char *url_prefix, NIMDocTranscodingFileType file_type)
文档转换 接口相关的常量函数等定义头文件
NIMDocTranscodingFileType
Definition: nim_doc_trans_def.h:18
NIMDocTranscodingImageType
Definition: nim_doc_trans_def.h:28
NIMDocTranscodingQuality
Definition: nim_doc_trans_def.h:36
void(* nim_doctrans_opt_cb_func)(int32_t code, const char *json_extension, const void *user_data)
Definition: nim_doc_trans_def.h:153