Foxit PDF Conversion SDK
foxit.common Namespace Reference

Common namespace. More...

Namespaces

 file
 File namespace.
 
namespace  fxcrt
 Data type and callback namespace.
 

Classes

class  Base
 
class  Library
 
class  Progressive
 
class  Range
 

Enumerations

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

Detailed Description

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

e_ErrNoDocumentPermission 

No document permission to operate.