com.foxit.sdk.common.Constants Class Reference

Static Public Attributes

static final int e_AlignmentCenter = 1
 Center alignment.

 
static final int e_AlignmentLeft = 0
 Left alignment.

 
static final int e_AlignmentRight = 2
 Right alignment.

 
static final int e_ErrCanNotConnectToServer = 23
 (For ConnectedPDF only) Cannot connect to ConnectedPDF server.

 
static final int e_ErrCanNotGetACL = 29
 (For ConnectedPDF only) Cannot get the ACL from ConnectedPDF server.

 
static final int e_ErrCanNotGetClientID = 36
 (For ConnectedPDF only) Cannot get client ID from ConnectedPDF server.

 
static final int e_ErrCanNotGetUserToken = 37
 (For ConnectedPDF only) Cannot get user token from ConnectedPDF server.

 
static final int e_ErrCanNotRemoveSecurityFromServer = 28
 (For ConnectedPDF only) Cannot remove the security from ConnectedPDF server.

 
static final int e_ErrCanNotSetACL = 30
 (For ConnectedPDF only) Cannot set the ACL to ConnectedPDF server.

 
static final int e_ErrCanNotUploadCDRMInfo = 34
 (For ConnectedPDF only) Cannot upload ConnectedPDF DRM document info to ConnectedPDF server.

 
static final int e_ErrCanNotUploadDocInfo = 33
 (For ConnectedPDF only) Cannot upload ConnectedPDF document info to ConnectedPDF server.

 
static final int e_ErrCertificate = 5
 Certificate error: PDF document is encrypted by digital certificate but current user does not have the correct certificate.

 
static final int e_ErrConflict = 15
 New data conflicts with existed data.

 
static final int e_ErrDataNotReady = 17
 Data is not ready. Usually this is used as an exception error code when loading document in asynchronous way.

 
static final int e_ErrDeviceLimitation = 27
 (For ConnectedPDF only) Current device is limited to open the ConnectedPDF DRM document.

 
static final int e_ErrFile = 1
 File cannot be found or could not be opened.

 
static final int e_ErrFormat = 2
 Format is invalid. For files, this may also mean that file is corrupted.

 
static final int e_ErrHandle = 4
 Error handle.

 
static final int e_ErrInvalidACL = 38
 (For ConnectedPDF only) Input ACL is invalid.

 
static final int e_ErrInvalidClientID = 39
 (For ConnectedPDF only) Input client ID is invalid.

 
static final int e_ErrInvalidData = 18
 Data of current object is invalid.

 
static final int e_ErrInvalidLicense = 7
 Invalid license is used to initialize Foxit PDF SDK library.

 
static final int e_ErrInvalidState = 21
 Invalid or incorrect state.

 
static final int e_ErrInvalidType = 14
 The type of input object or current object is invalid.

 
static final int e_ErrInvalidUserToken = 24
 (For ConnectedPDF only) Input user token is invalid.

 
static final int e_ErrInvalidWrapper = 35
 (For ConnectedPDF only) The input ConnectedPDF DRM wrapper document is invalid.

 
static final int e_ErrIsAlreadyCDRM = 32
 (For ConnectedPDF only) Loaded document is already a ConnectedPDF DRM document.

 
static final int e_ErrIsAlreadyCPDF = 31
 (For ConnectedPDF only) Loaded document is already a ConnectedPDF document.

 
static final int e_ErrNoRights = 25
 (For ConnectedPDF only) Current user has no right to open the ConnectedPDF DRM document.

 
static final int e_ErrNotCDRM = 22
 (For ConnectedPDF only) The loaded document is not a ConnectedPDF DRM document.

 
static final int e_ErrNotFound = 13
 Expected data or object is not found.

 
static final int e_ErrNotLoaded = 20
 Current object has not been loaded yet.

 
static final int e_ErrNotParsed = 12
 Content has not been parsed yet. Usually, this represents PDF page has not been parsed yet.

 
static final int e_ErrOutOfMemory = 10
 Out-of-memory error occurs.

 
static final int e_ErrParam = 8
 Parameter error: value of any input parameter for a function is invalid.

 
static final int e_ErrPassword = 3
 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.

 
static final int e_ErrRightsExpired = 26
 (For ConnectedPDF only) The rights of Current user has expired.

 
static final int e_ErrSecurityHandler = 11
 PDF document is encrypted by some unsupported security handler.

 
static final int e_ErrSuccess = 0
 Success, and no error occurs.

 
static final int e_ErrUnknown = 6
 Any unknown error occurs.

 
static final int e_ErrUnknownState = 16
 Any unknown state occurs.

 
static final int e_ErrUnsupported = 9
 Some types are not supported.

 
static final int e_ErrXFALoadError = 19
 XFA loading error.

 
static final int e_FillModeAlternate = 1
 Alternate fill mode, in which the system fills this area between odd-numbered and even-numbered polygon sides on each scan line.

 
static final int e_FillModeNone = 0
 Fill mode: none.

 
static final int e_FillModeWinding = 2
 Winding fill mode, in which the system uses a direction in which a figure is drawn to determine whether to fill an area.

 
static final int e_PosBottomCenter = 7
 Position: bottom center.

 
static final int e_PosBottomLeft = 6
 Position: bottom left.

 
static final int e_PosBottomRight = 8
 Position: bottom right.

 
static final int e_PosCenter = 4
 Position: center.

 
static final int e_PosCenterLeft = 3
 Position center left.

 
static final int e_PosCenterRight = 5
 Position: center right.

 
static final int e_PosTopCenter = 1
 Position: top center.

 
static final int e_PosTopLeft = 0
 Position: top left.

 
static final int e_PosTopRight = 2
 Position: top right.

 
static final int e_Rotation0 = 0
 No rotation.

 
static final int e_Rotation180 = 2
 Rotate 180 degrees in clockwise direction.

 
static final int e_Rotation270 = 3
 Rotate 270 degrees in clockwise direction.

 
static final int e_Rotation90 = 1
 Rotate 90 degrees in clockwise direction.

 
static final int e_RotationUnknown = 4
 Unknown rotation.

 

Detailed Description

Global Constants

Foxit Software Corporation Logo
@2018 Foxit Software Incorporated. All rights reserved.