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 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_ErrConflict | New data conflicts with existed data.
|
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_ErrInvalidData | Data of current object is invalid.
|
e_ErrXFALoadError | XFA loading error.
|
e_ErrNotLoaded | Current object has not been loaded yet.
|
e_ErrInvalidState | Invalid or incorrect state.
|
e_ErrNotCDRM | (For ConnectedPDF only) The loaded document is not a ConnectedPDF DRM document.
|
e_ErrCanNotConnectToServer | (For ConnectedPDF only) Cannot connect to ConnectedPDF server.
|
e_ErrInvalidUserToken | (For ConnectedPDF only) Input user token is invalid.
|
e_ErrNoRights | (For ConnectedPDF only) Current user has no right to open the ConnectedPDF DRM document.
|
e_ErrRightsExpired | (For ConnectedPDF only) The rights of Current user has expired.
|
e_ErrDeviceLimitation | (For ConnectedPDF only) Current device is limited to open the ConnectedPDF DRM document.
|
e_ErrCanNotRemoveSecurityFromServer | (For ConnectedPDF only) Cannot remove the security from ConnectedPDF server.
|
e_ErrCanNotGetACL | (For ConnectedPDF only) Cannot get the ACL from ConnectedPDF server.
|
e_ErrCanNotSetACL | (For ConnectedPDF only) Cannot set the ACL to ConnectedPDF server.
|
e_ErrIsAlreadyCPDF | (For ConnectedPDF only) Loaded document is already a ConnectedPDF document.
|
e_ErrIsAlreadyCDRM | (For ConnectedPDF only) Loaded document is already a ConnectedPDF DRM document.
|
e_ErrCanNotUploadDocInfo | (For ConnectedPDF only) Cannot upload ConnectedPDF document info to ConnectedPDF server.
|
e_ErrCanNotUploadCDRMInfo | (For ConnectedPDF only) Cannot upload ConnectedPDF DRM document info to ConnectedPDF server.
|
e_ErrInvalidWrapper | (For ConnectedPDF only) The input ConnectedPDF DRM wrapper document is invalid.
|
e_ErrCanNotGetClientID | (For ConnectedPDF only) Cannot get client ID from ConnectedPDF server.
|
e_ErrCanNotGetUserToken | (For ConnectedPDF only) Cannot get user token from ConnectedPDF server.
|
e_ErrInvalidACL | (For ConnectedPDF only) Input ACL is invalid.
|
e_ErrInvalidClientID | (For ConnectedPDF only) Input client ID is invalid.
|
e_ErrOCREngineNotInit | (For OCR only) OCR engine has not been initialized successfully.
|
e_ErrDiskFull | (For OCR only) Not enough disk space.
|
e_ErrOCRTrialIsEnd | (For OCR only) The trial for OCR module is end.
|
e_ErrFilePathNotExist | File or folder path does not exist.
|
e_ErrComplianceEngineNotInit | (For compliance only) Compliance engine has not been initialized successfully.
|
e_ErrComplianceEngineInvalidUnlockCode | (For compliance only) Invalid unlock code is used to initialize compliance engine.
|
e_ErrComplianceEngineInitFailed | (For compliance only) Fail to initialize compliance engine.
|
e_ErrTimeStampServerMgrNotInit | Time stamp server manager has not been initialized successfully.
|
e_ErrLTVVerifyModeNotSet | (For LTV only) LTV verify mode has not been set.
|
e_ErrLTVRevocationCallbackNotSet | (For LTV only) Revocation callback for LTV has not been set.
|
e_ErrLTVCannotSwitchVersion | (For LTV only) Fail to switch PDF verion.
|
e_ErrLTVCannotCheckDTS | (For LTV only) Fail to check DTS.
|
e_ErrLTVCannotLoadDSS | (For LTV only) Fail to load DSS.
|
e_ErrLTVCannotLoadDTS | (For LTV only) Fail to load DTS.
|
e_ErrNeedSigned | (For signature only) The signature being operated needs to be signed.
|
e_ErrComplianceResourceFile | (For compliance only) Compliance resource file(s) cannot be found or opened. Please check if compliance resource folder and files in this folder are valid.
|
e_ErrTimeStampServerMgrNoDefaltServer | No default server has been set to time stamp server manager yet.
|
e_ErrDefaultTimeStampServer | Cannot use current default time stamp server. Please check if default time stamp server can be used.
|
e_ErrNoConnectedPDFModuleRight | No "ConnectedPDF" module right.
|
e_ErrNoXFAModuleRight | No "XFA" module right.
|
e_ErrNoRedactionModuleRight | No "Redaction" module right.
|
e_ErrNoRMSModuleRight | No "RMS" module right.
|
e_ErrNoOCRModuleRight | No "OCR" module right.
|
e_ErrNoComparisonModuleRight | No "Comparison" module right.
|
e_ErrNoComplianceModuleRight | No "Compliance" module right.
|
e_ErrNoOptimizerModuleRight | No "Optimizer" module right.
|
e_ErrNoConversionModuleRight | No "Conversion" module right.
|
e_ErrOfficeComNotInit | (For Office-to-PDF conversion only) Office COM has not been initialized successfully.
|
e_ErrNoMicroOfficeInstalled | (For Office-to-PDF conversion only) No Microsoft Office is installed in current system.
|
e_ErrExcelHasNoContent | (For Excel-to-PDF conversion only) Excel document does not have any content so it cannot be converted to PDF file.
|
e_ErrNoLayoutRecognitionModuleRight | No "LayoutRecognition" module right.
|