PDFError
public struct PDFError : Error, Hashable
Undocumented
-
Undocumented
Declaration
Swift
public var code: Int32
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let arrayCountError: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let arrayItemNotFound: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let arrayItemUnexpectedType: PDFError
-
Data length > HPDF_LIMIT_MAX_STRING_LEN.
Declaration
Swift
public static let binaryLengthError: PDFError
-
Cannot get pallet data from PNG image.
Declaration
Swift
public static let cannotGetPallet: PDFError
-
Dictionary elements > HPDF_LIMIT_MAX_DICT_ELEMENT
Declaration
Swift
public static let dictionaryCountError: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let dictionaryItemNotFound: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let dictionaryItemUnexpectedType: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let dictionaryStreamLengthNotFound: PDFError
-
PDFDocument.setEncryptionMode(to:)
orPDFDocument.setPermissions(to:)
called before password set.Declaration
Swift
public static let documentEncryptionDictionaryNotFound: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let documentInvalidObject: PDFError
-
Tried to re-register a registered font.
Declaration
Swift
public static let duplicateRegistration: PDFError
-
Cannot register a character to the Japanese word wrap characters list.
Declaration
Swift
public static let exceedJWWCodeNumberLimit: PDFError
-
- Tried to set the owner password to NULL.
- Owner and user password are the same.
Declaration
Swift
public static let encryptionInvalidPassword: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let unknownClass: PDFError
-
Memory allocation failed.
Declaration
Swift
public static let failedToAllocateMemory: PDFError
-
File processing failed. (Detailed code is set.)
Declaration
Swift
public static let fileIOError: PDFError
-
Cannot open a file. (Detailed code is set.)
Declaration
Swift
public static let fileOpenError: PDFError
-
Tried to load a font that has been registered.
Declaration
Swift
public static let fontExists: PDFError
-
- Font-file format is invalid.
- Internal error. Data consistency was lost.
Declaration
Swift
public static let fontInvalidWidthsTable: PDFError
-
Cannot recognize header of afm file.
Declaration
Swift
public static let invalidAFMHeader: PDFError
-
Specified annotation handle is invalid.
Declaration
Swift
public static let invalidAnnotation: PDFError
-
Bit-per-component of a image which was set as mask-image is invalid.
Declaration
Swift
public static let invalidBitPerComponent: PDFError
-
Cannot recognize char-matrics-data of afm file.
Declaration
Swift
public static let invalidCharMatricsData: PDFError
-
- Invalid color_space parameter of HPDF_LoadRawImage.
- Color-space of a image which was set as mask-image is invalid.
- Invoked function invalid in present color-space.
Declaration
Swift
public static let invalidColorSpace: PDFError
-
Invalid value set when invoking HPDF_SetCommpressionMode().
Declaration
Swift
public static let invalidCompressionMode: PDFError
-
An invalid date-time value was set.
Declaration
Swift
public static let invalidDateTime: PDFError
-
An invalid destination handle was set.
Declaration
Swift
public static let invalidDestination: PDFError
-
An invalid document handle was set.
Declaration
Swift
public static let invalidDocument: PDFError
-
Function invalid in the present state was invoked.
Declaration
Swift
public static let invalidDocumentState: PDFError
-
An invalid encoder handle was set.
Declaration
Swift
public static let invalidEncoder: PDFError
-
Combination between font and encoder is wrong.
Declaration
Swift
public static let invalidEncoderType: PDFError
-
An Invalid encoding name is specified.
Declaration
Swift
public static let invalidEncodingName: PDFError
-
Encryption key length is invalid.
Declaration
Swift
public static let invalidEncryptionKeyLength: PDFError
-
- An invalid font handle was set.
- Unsupported font format.
Declaration
Swift
public static let invalidFontdefData: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let invalidFontdefType: PDFError
-
Font with the specified name is not found.
Declaration
Swift
public static let invalidFontName: PDFError
-
Unsupported image format.
Declaration
Swift
public static let invalidImage: PDFError
-
Unsupported image format.
Declaration
Swift
public static let invalidJPEGData: PDFError
-
Cannot read a postscript-name from an afm file.
Declaration
Swift
public static let invalidNData: PDFError
-
- An invalid object is set.
- Internal error. Data consistency was lost.
Declaration
Swift
public static let invalidObject: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let invalidObjectID: PDFError
-
Invoked HPDF_Image_SetColorMask() against the image-object which was set a mask-image.
Declaration
Swift
public static let invalidOperation: PDFError
-
An invalid outline-handle was specified.
Declaration
Swift
public static let invalidOutline: PDFError
-
An invalid page-handle was specified.
Declaration
Swift
public static let invalidPage: PDFError
-
An invalid pages-handle was specified. (internal error)
Declaration
Swift
public static let invalidPages: PDFError
-
An invalid value is set.
Declaration
Swift
public static let invalidParameter: PDFError
-
Invalid PNG image format.
Declaration
Swift
public static let invalidPNGImage: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let invalidStream: PDFError
-
Internal error.
_FILE_NAME
entry for delayed loading is missing.Declaration
Swift
public static let missingFileNameEntry: PDFError
-
Invalid .TTC file format.
Declaration
Swift
public static let invalidTTCFile: PDFError
-
Index parameter > number of included fonts.
Declaration
Swift
public static let invalidTTCIndex: PDFError
-
Cannot read a width-data from an afm file.
Declaration
Swift
public static let invalidWXData: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let itemNotFound: PDFError
-
Error returned from PNGLIB while loading image.
Declaration
Swift
public static let libpngError: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let nameInvalidValue: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let nameOutOfRange: PDFError
-
Undocumented
Declaration
Swift
public static let pageInvalidParametersCount: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let pagesMissingKidsEntry: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let pageCannotFindObject: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let cannotGetRootPages: PDFError
-
There are no graphics-states to be restored.
Declaration
Swift
public static let pageCannotRestoreGState: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let pageCannotSetParent: PDFError
-
The current font is not set.
Declaration
Swift
public static let pageFontNotFound: PDFError
-
An invalid font-handle was specified.
Declaration
Swift
public static let pageInvalidFont: PDFError
-
An invalid font-size was set.
Declaration
Swift
public static let pageInvalidFontSize: PDFError
-
Undocumented
Declaration
Swift
public static let pageInvalidGMode: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let pageInvalidIndex: PDFError
-
Specified value is not multiple of 90.
Declaration
Swift
public static let pageInvalidRotateValue: PDFError
-
An invalid page-size was set.
Declaration
Swift
public static let pageInvalidSize: PDFError
-
An invalid image-handle was set.
Declaration
Swift
public static let pageInvalidXObject: PDFError
-
The specified value is out of range.
Declaration
Swift
public static let pageOutOfRange: PDFError
-
The specified value is out of range.
Declaration
Swift
public static let realOutOfRange: PDFError
-
Unexpected EOF marker was detected.
Declaration
Swift
public static let streamEOF: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let streamReadlnContinue: PDFError
-
The length of the text is too long.
Declaration
Swift
public static let stringOutOfRange: PDFError
-
Function not executed because of other errors.
Declaration
Swift
public static let thisFunctionWasSkipped: PDFError
-
Font cannot be embedded. (license restriction)
Declaration
Swift
public static let ttfCannotEmbedFont: PDFError
-
Unsupported ttf format. (cannot find unicode cmap)
Declaration
Swift
public static let ttfInvalidCMap: PDFError
-
Unsupported ttf format.
Declaration
Swift
public static let ttfInvalidFormat: PDFError
-
Unsupported ttf format. (cannot find a necessary table)
Declaration
Swift
public static let ttfMissingTable: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let unsupportedFontType: PDFError
-
- Library not configured to use PNGLIB.
- Internal error. Data consistency was lost.
Declaration
Swift
public static let unsupportedFunction: PDFError
-
Unsupported JPEG format.
Declaration
Swift
public static let usupportedJPEGFormat: PDFError
-
Failed to parse .PFB file.
Declaration
Swift
public static let unsupportedType1Font: PDFError
-
Internal error. Data consistency was lost.
Declaration
Swift
public static let xrefCountError: PDFError
-
Error while executing ZLIB function.
Declaration
Swift
public static let zlibError: PDFError
-
An invalid page index was passed.
Declaration
Swift
public static let invalidPageIndex: PDFError
-
An invalid URI was set.
Declaration
Swift
public static let invalidURI: PDFError
-
An invalid page-layout was set.
Declaration
Swift
public static let pageLayoutOutOfRange: PDFError
-
An invalid page-mode was set.
Declaration
Swift
public static let pageModeOutOfRange: PDFError
-
An invalid page-num-style was set.
Declaration
Swift
public static let pageNumberStyleOutOfRange: PDFError
-
An invalid icon was set.
Declaration
Swift
public static let annotationInvalidIcon: PDFError
-
An invalid border-style was set.
Declaration
Swift
public static let annotationInvalidBorderStyle: PDFError
-
An invalid page-direction was set.
Declaration
Swift
public static let pageInvalidDirection: PDFError
-
An invalid font-handle was specified.
Declaration
Swift
public static let invalidFont: PDFError
-
Undocumented
Declaration
Swift
public static let pageInsufficientSpace: PDFError
-
Undocumented
Declaration
Swift
public static let pageInvalidDisplayTime: PDFError
-
Undocumented
Declaration
Swift
public static let pageInvalidTransitionTime: PDFError
-
Undocumented
Declaration
Swift
public static let invalidPageSlideshowType: PDFError
-
Undocumented
Declaration
Swift
public static let extGStateOutOfRange: PDFError
-
Undocumented
Declaration
Swift
public static let invalidExtGState: PDFError
-
Undocumented
Declaration
Swift
public static let extGStateReadOnly: PDFError
-
Undocumented
Declaration
Swift
public static let invalidU3DData: PDFError
-
Undocumented
Declaration
Swift
public static let nameCannotGetNames: PDFError
-
Undocumented
Declaration
Swift
public static let invalidICCComponentNumber: PDFError
-
Undocumented
Declaration
Swift
public var description: String { get }