Foxit PDF SDK

Public Member Functions | List of all members
com.foxit.sdk.addon.conversion.pdf2office.ConvertCallback Class Reference

## Public Member Functions
boolean | needToPause ()
| A callback function used to pause the current conversion progress. More...
void | progressNotify (int converted_count, int total_count)
| 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()

boolean com.foxit.sdk.addon.conversion.pdf2office.ConvertCallback.needToPause | ( |  | ) |

A callback function used to pause the current conversion progress.

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

## ◆ progressNotify()

void com.foxit.sdk.addon.conversion.pdf2office.ConvertCallback.progressNotify | ( | int | converted_count,
|  | int | total_count
| ) |  |

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.