CPDFPdfStandardException class
Error raised by the PDF standard detection and conversion APIs.
The code values are stable across platforms:
INVALID_OUTPUT_PATH- the output path is empty, not writable, its parent directory is missing, or it points at the current document.DOCUMENT_INVALID- the document has been released or is invalid.ENCRYPTED_DOCUMENT_NOT_CONVERTIBLE- the document carries a password.UNSUPPORTED_PDF_STANDARD- the platform cannot convert to the requested type. Raised on iOS for CPDFPdfStandardType.pdfE2 and CPDFPdfStandardType.pdf.PDF_STANDARD_CONVERT_FAILED- the native conversion failed. On iOS the message carries the native failure reason.PDF_STANDARD_SAVE_FAILED- the conversion succeeded but writing the output file failed.PDF_STANDARD_RESTORE_FAILED- the output file was written, but the opened document could not be reloaded from its original source and still holds the converted content. Do not save it: doing so would overwrite the source file. Close and reopen the document instead. Android only: iOS converts a copy and never touches the opened document.
- Implemented types
Constructors
- CPDFPdfStandardException(String code, String message)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited