Foxit PDF Conversion SDK
PDFConversionSDK Namespace Reference

PDF Conversion SDK namespace. More...

Classes

class  ConvertCallback
 
class  Library
 
class  PDF2Office
 
class  PDF2OfficeSettingData
 
class  Progressive
 
class  ReaderCallback
 
class  StreamCallback
 

Enumerations

enum  ErrorCode {
  e_ErrSuccess = 0, e_ErrFile = 1, e_ErrFormat = 2, e_ErrPassword = 3,
  e_ErrHandle = 4, e_ErrCertificate = 5, e_ErrUnknown = 6, e_ErrInvalidLicense = 7,
  e_ErrParam = 8, e_ErrUnsupported = 9, e_ErrOutOfMemory = 10, e_ErrSecurityHandler = 11,
  e_ErrNotParsed = 12, e_ErrNotFound = 13, e_ErrInvalidType = 14, e_ErrUnknownState = 16,
  e_ErrDataNotReady = 17, e_ErrNotLoaded = 20, e_ErrNoPDF2OfficeModuleRight = 77
}
 Enumeration for error code. More...
 
enum  State { e_Error = 0, e_ToBeContinued = 1, e_Finished = 2 }
 Enumeration for progress state. More...
 

Detailed Description

PDF Conversion SDK namespace.

Enumeration Type Documentation

◆ ErrorCode

Enumeration for error code.

Values of this enumeration should be used alone.

Enumerator
e_ErrSuccess 

Success, and no error occurs.

e_ErrFile 

File cannot be found or could not be opened.

e_ErrFormat 

Format is invalid. For files, this may also mean that file is corrupted.

e_ErrPassword 

Invalid password. Usually, this error may occur when loading a PDF document with password. When meet this, user should load document again with correct password.

e_ErrHandle 

Error handle.

e_ErrCertificate 

Certificate error: PDF document is encrypted by digital certificate but current user does not have the correct certificate.

e_ErrUnknown 

Any unknown error occurs.

e_ErrInvalidLicense 

Invalid license is used to initialize Foxit PDF Conversion SDK library.

e_ErrParam 

Parameter error: value of any input parameter for a function is invalid.

e_ErrUnsupported 

Some types are not supported.

e_ErrOutOfMemory 

Out-of-memory error occurs.

e_ErrSecurityHandler 

PDF document is encrypted by some unsupported security handler.

e_ErrNotParsed 

Content has not been parsed yet. Usually, this represents PDF page has not been parsed yet.

e_ErrNotFound 

Expected data or object is not found.

e_ErrInvalidType 

The type of input object or current object is invalid.

e_ErrUnknownState 

Any unknown state occurs.

e_ErrDataNotReady 

Data is not ready. Usually this is used as an exception error code when loading document in asynchronous way.

e_ErrNotLoaded 

Current object has not been loaded yet.

e_ErrNoPDF2OfficeModuleRight 

No "PDF2Office" module right.

◆ State

Enumeration for progress state.

Values of this enumeration should be used alone.

Enumerator
e_Error 

Progress state: any error occurs.

e_ToBeContinued 

Progress state: progress needs to be continued.

e_Finished 

Progress state: progress is finished.