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 along with it's size.
See also
PDPageRange
Parameters
[in]progressA pointer to the progress monitor which will contain function pointers, which wrap the function calls to the functions of the user defined class which produces the progressData object. It may be null.
See also
PDProgressMonitor
Parameters
[in]progressDataThe address of a class that has to be user defined with a subset of the functions described in the PDProgressMonitor struct, omitting the first parameter (i.e. void* clientData). These will serve as callback functions for the conversion process. It may be null.
[in]paramsA pointer to the conversion parameters like the output file folder and name, two flags related to the Word document version and whether to recognize tables.
See also
PDFConvertToDocxParams