Foxit PDF Conversion SDK

Public Member Functions | List of all members
foxit::conversion::pdf2office::ConvertCallback Class Referenceabstract

## Public Member Functions
virtual bool | NeedToPause ()=0
| A callback function used to pause the current conversion progress. More...
virtual void | ProgressNotify (int converted_count, int total_count)=0
| A callback function used to notify the current conversion progress. More...

## Detailed Description

This class represents a callback object used to pause and notify the conversion progress during the converting process. All the pure virtual functions in this class are used as callback functions and should be implemented by user.

## Member Function Documentation

## ◆ NeedToPause()

virtual bool foxit::conversion::pdf2office::ConvertCallback::NeedToPause | ( |  | ) |
| pure virtual

A callback function used to pause the current conversion progress.

Returns
  true means to pause now, while false means not to pause now.

## ◆ ProgressNotify()

virtual void foxit::conversion::pdf2office::ConvertCallback::ProgressNotify | ( | int | converted_count,
|  | int | total_count
| ) |  |
| pure virtual

A callback function used to notify the current conversion progress.

Parameters

  [in] | converted_count | The converted page count.
  [in] | total_count | The total page count.

Returns
  None.