Foxit PDF SDK

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

## Public Member Functions
boolean | checkUserPermissions (int user_permissions)
| Check user permissions to decide whether to proceed with the PDF to Office conversion. More...

## Detailed Description

This class represents a callback object used to check the convert condition for the PDF to Office conversion. All the pure virtual functions in this class are used as callback functions and should be implemented by user. This is called when the required permissions for converting the PDF documents are not met.

## Member Function Documentation

## ◆ checkUserPermissions()

boolean com.foxit.sdk.addon.conversion.pdf2office.ConvertCheckCallback.checkUserPermissions | ( | int | user_permissions | ) |

Check user permissions to decide whether to proceed with the PDF to Office conversion.

Parameters

  The | user permissions. Please refer to values starting from pdf::PDFDoc::UserPermissions and this should be one or combination of these values.

Returns
  true means the PDF to Office conversion will continue, while false the PDF to Office conversion will not continue.