ComPDFKitConversion.CPDFConversion

class ComPDFKitConversion.CPDFConversion

Bases: pybind11_object

CPDFConversion class provides functionalities to convert PDF files into various formats such as Word, Excel, PPT, HTML, etc.

static cancel() None

Cancels any ongoing PDF conversion process.

static start_pdf_to_excel(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to an Excel document.

static start_pdf_to_html(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to an HTML document.

static start_pdf_to_image(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to an image format.

static start_pdf_to_json(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to a JSON document.

static start_pdf_to_markdown(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to a Markdown document.

static start_pdf_to_ppt(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to a PowerPoint presentation.

static start_pdf_to_rtf(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to an RTF document.

static start_pdf_to_searchable_pdf(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to a searchable PDF document.

static start_pdf_to_txt(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to a plain text file.

static start_pdf_to_word(file_path: str, password: str, output_path: str, options: ComPDFKitConversion.ConvertOptions) ComPDFKitConversion.ErrorCode

Starts the conversion of a PDF file to a Word document.