public class

PdfDocManager

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.utils.PdfDocManager

Class Overview

Constants for specifying state of documents

Summary

Constants
int DOCUMENT_ERROR_MISSING_PERMISSIONS No storage permission available.
int DOCUMENT_SETDOC_ERROR_CORRUPTED The document is corrupted.
int DOCUMENT_SETDOC_ERROR_DOWNLOAD_CANCEL The document has been cancelled during download.
int DOCUMENT_SETDOC_ERROR_NONE The document is error free.
int DOCUMENT_SETDOC_ERROR_NOT_EXIST The document doesn't exist.
int DOCUMENT_SETDOC_ERROR_NULL_PDFDOC The document is not linked to any PDFDoc
int DOCUMENT_SETDOC_ERROR_OPENURL_CANCELLED The document has been cancelled during opening from URL.
int DOCUMENT_SETDOC_ERROR_WRONG_PASSWORD The document has given wrong password.
int DOCUMENT_SETDOC_ERROR_ZERO_PAGE The document has not pages.
int DOCUMENT_STATE_CLEAN The document is clean.
int DOCUMENT_STATE_CORRUPTED The document is corrupted.
int DOCUMENT_STATE_CORRUPTED_AND_MODIFIED The document is corrupted and modified.
int DOCUMENT_STATE_COULD_NOT_SAVE The document couldn't be saved.
int DOCUMENT_STATE_DURING_CONVERSION The document is in the middle of conversion.
int DOCUMENT_STATE_FROM_CONVERSION The document is obtained from conversion.
int DOCUMENT_STATE_MODIFIED The document has been modified but not saved.
int DOCUMENT_STATE_NORMAL The document is normal after saving changes.
int DOCUMENT_STATE_OUT_OF_SPACE The device is out of storage space.
int DOCUMENT_STATE_READ_ONLY The document is read only.
int DOCUMENT_STATE_READ_ONLY_AND_MODIFIED The document is read only and but has been modified.
Public Constructors
PdfDocManager()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DOCUMENT_ERROR_MISSING_PERMISSIONS

No storage permission available. Permission could have been revoked or never approved.

Constant Value: 11 (0x0000000b)

public static final int DOCUMENT_SETDOC_ERROR_CORRUPTED

The document is corrupted.

Constant Value: 2 (0x00000002)

public static final int DOCUMENT_SETDOC_ERROR_DOWNLOAD_CANCEL

The document has been cancelled during download.

Constant Value: 9 (0x00000009)

public static final int DOCUMENT_SETDOC_ERROR_NONE

The document is error free.

Constant Value: 0 (0x00000000)

public static final int DOCUMENT_SETDOC_ERROR_NOT_EXIST

The document doesn't exist.

Constant Value: 7 (0x00000007)

public static final int DOCUMENT_SETDOC_ERROR_NULL_PDFDOC

The document is not linked to any PDFDoc

Constant Value: 1 (0x00000001)

public static final int DOCUMENT_SETDOC_ERROR_OPENURL_CANCELLED

The document has been cancelled during opening from URL.

Constant Value: 4 (0x00000004)

public static final int DOCUMENT_SETDOC_ERROR_WRONG_PASSWORD

The document has given wrong password.

Constant Value: 6 (0x00000006)

public static final int DOCUMENT_SETDOC_ERROR_ZERO_PAGE

The document has not pages.

Constant Value: 3 (0x00000003)

public static final int DOCUMENT_STATE_CLEAN

The document is clean.

Constant Value: 0 (0x00000000)

public static final int DOCUMENT_STATE_CORRUPTED

The document is corrupted.

Constant Value: 3 (0x00000003)

public static final int DOCUMENT_STATE_CORRUPTED_AND_MODIFIED

The document is corrupted and modified.

Constant Value: 4 (0x00000004)

public static final int DOCUMENT_STATE_COULD_NOT_SAVE

The document couldn't be saved.

Constant Value: 7 (0x00000007)

public static final int DOCUMENT_STATE_DURING_CONVERSION

The document is in the middle of conversion.

Constant Value: 8 (0x00000008)

public static final int DOCUMENT_STATE_FROM_CONVERSION

The document is obtained from conversion.

Constant Value: 9 (0x00000009)

public static final int DOCUMENT_STATE_MODIFIED

The document has been modified but not saved.

Constant Value: 2 (0x00000002)

public static final int DOCUMENT_STATE_NORMAL

The document is normal after saving changes.

Constant Value: 1 (0x00000001)

public static final int DOCUMENT_STATE_OUT_OF_SPACE

The device is out of storage space.

Constant Value: 10 (0x0000000a)

public static final int DOCUMENT_STATE_READ_ONLY

The document is read only.

Constant Value: 5 (0x00000005)

public static final int DOCUMENT_STATE_READ_ONLY_AND_MODIFIED

The document is read only and but has been modified.

Constant Value: 6 (0x00000006)

Public Constructors

public PdfDocManager ()