1#ifndef COMPDFKIT_CONVERSION_H
2#define COMPDFKIT_CONVERSION_H
Provides functionalities to convert PDF files into various formats such as Word, Excel,...
Definition compdfkit_conversion.h:12
static base::ErrorCode StartPDFToHtml(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an HTML document.
static base::ErrorCode StartPDFToMarkdown(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a Markdown document using wide-character strings.
static base::ErrorCode StartPDFToImage(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an image format.
static base::ErrorCode StartPDFToMarkdown(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a Markdown document.
static base::ErrorCode StartPDFToSearchablePdf(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a searchable PDF.
static base::ErrorCode StartPDFToHtml(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an HTML document using wide-character strings.
static base::ErrorCode StartPDFToTxt(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a plain text file.
static base::ErrorCode StartPDFToImage(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an image format using wide-character strings.
static base::ErrorCode StartPDFToJson(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a JSON file.
static base::ErrorCode StartPDFToExcel(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an Excel document.
static base::ErrorCode StartPDFToExcel(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an Excel document using wide-character strings.
static base::ErrorCode StartPDFToJson(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a JSON file using wide-character strings.
static base::ErrorCode StartPDFToRtf(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an RTF document.
static void Cancel()
Cancels any ongoing PDF conversion process.
static base::ErrorCode StartPDFToTxt(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a plain text file using wide-character strings.
static base::ErrorCode StartPDFToSearchablePdf(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a searchable PDF using wide-character strings.
static base::ErrorCode StartPDFToPpt(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a PowerPoint presentation.
static base::ErrorCode StartPDFToRtf(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to an RTF document using wide-character strings.
static base::ErrorCode StartPDFToPpt(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a PowerPoint presentation using wide-character strings.
static base::ErrorCode StartPDFToWord(const char *file_path, const char *password, const char *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a Word document.
static base::ErrorCode StartPDFToWord(const wchar_t *file_path, const wchar_t *password, const wchar_t *output_path, const base::ConvertOptions &options, COMOCRCallback callback=nullptr)
Starts the conversion of a PDF file to a Word document using wide-character strings.
bool(* COMOCRCallback)(const char *image_path, bool enable_ocr)
A callback function type for handling OCR operations on images.
Definition com_config_macros.h:31
#define COMPDFKIT_DECL
Definition com_config_macros.h:7
void * COMHANDLE
A generic handle type for managing various operations.
Definition com_config_macros.h:44
ErrorCode
Error code.
Definition base_type.h:33
Definition compdfkit_conversion.h:7
Convert options.
Definition base_type.h:149