PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
pdf2docx.h File Reference

PDF to DOCX conversion API. More...

#include <pdfsdk/core.h>

Go to the source code of this file.

Classes

struct  PDFConvertToDocxParams
 Contains conversion-related parameters such as the output directory and file name, and flags related to versioning and table recognition. More...
 

Macros

#define PDF_PDF2DOCX_API   PDFSDK_IMPORT_
 

Functions

PDErrCode PDFConvertToDocx (PDDoc source, const PDPageRange *pageRange, const PDProgressMonitor *progress, void *progressData, const PDFConvertToDocxParams *params)
 A function to covert a PDF file (or a part of it) into a MS Word Document format (.docx).
 

Detailed Description

PDF to DOCX conversion API.

Function Documentation

◆ PDFConvertToDocx()

PDErrCode PDFConvertToDocx ( PDDoc source,
const PDPageRange * pageRange,
const PDProgressMonitor * progress,
void * progressData,
const PDFConvertToDocxParams * params )

A function to covert a PDF file (or a part of it) into a MS Word Document format (.docx).

After the conversion the original Author and Title of the PDF document are preserved and transferred over onto the Word document.

Parameters
[in]sourceThe already opened PDF document object to convert into Word.
[in]pageRangeA pointer to specific pages to convert. By passing a null pointer the whole document is converted. To select specific pages, pass an array of the desired pages (i.e. {0,2} for p.1 and p.3) along with it's size.
[in]progressA pointer to the progress monitor to receive notifications about the conversion process. It may be null.
[in]progressDataA pointer to the progress data which is passed to progress monitor to update the process. It may be null.
[in]paramsA pointer to the conversion parameters like the output file folder and name, and two flags related to the Word document version and whether to recognize tables.