Foxit PDF SDK
foxit::addon::conversion::pdf2office::ConvertCheckCallback Class Referenceabstract

Public Member Functions

virtual bool CheckUserPermissions (uint32 user_permissions)=0
 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()

virtual bool foxit::addon::conversion::pdf2office::ConvertCheckCallback::CheckUserPermissions ( uint32  user_permissions)
pure virtual

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

Parameters
user_permissionsThe 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.