Foxit PDF Conversion SDK
PDFConversionSDK Namespace Reference

PDF Conversion SDK namespace. More...

Classes

class  ConvertCallback
 
class  ConvertCheckCallback
 
class  Excel2PDFSettingData
 
class  Library
 
class  Office2PDF
 
class  Office2PDFSettingData
 
class  PDF2ExcelSettingData
 
class  PDF2Office
 
class  PDF2OfficeSettingData
 
class  PDF2PowerPointSettingData
 
class  PDF2WordSettingData
 
class  Progressive
 
class  Range
 
class  ReaderCallback
 
class  StreamCallback
 
class  Word2PDFSettingData
 

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, e_ErrNoOffice2PDFModuleRight = 78
}
 Enumeration for error code. More...
 
enum  Filter { e_All = 0, e_Even = 1, e_Odd = 2 }
 Enumeration for range filter. 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.

e_ErrNoOffice2PDFModuleRight 

No "Office2PDF" module right.

◆ Filter

Enumeration for range filter.

Values of this enumeration should be used alone.

Enumerator
e_All 

All the indexes within a range will be used.

e_Even 

Only even numbers in a range will be used (discards odd numbers).

e_Odd 

Only odd numbers in a range will be used (discards even numbers).

◆ 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.