#define ASFileError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysASFile
,
e
)
#define AVPS_MAC_ROMAN_ENC
101
#define AVPS_WIN_ANSI_ENC
102
#define AcroViewError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysAcroView
,
e
)
#define BAD_NSELECTOR
(
-
1
)
#define CosError
(
e
)
ErrBuildCode
(
ErrSuppressable
,
ErrSysCos
,
e
)
#define CosErrorAlways
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysCos
,
e
)
#define CosSyntaxError
(
e
)
ErrBuildCode
(
ErrSuppressable
,
ErrSysCosSyntax
,
e
)
#define DLADD_disableFlattening
1
#define ERR_ERROR_MASK
0x0000ffff
#define ERR_ERROR_SHIFT
0
#define ERR_GENERAL
1
#define ERR_NOMEMORY
2
#define ERR_SEVERITY_MASK
0xf0000000
#define ERR_SEVERITY_SHIFT
28
#define ERR_SYSTEM_MASK
0x00ff0000
#define ERR_SYSTEM_SHIFT
16
#define ERR_UNUSED_MASK
0x0f000000
Component
| Description
| Size
|
---|---|---|
Severity
| none, warning, severe
| 4 bits
|
System
| Cos, PDDoc, and so on
| 8 bits
|
Error
| FileOpen, Syntax, and so on
| 16 bits
|
#define ErrBuildCode
(
xseverity
,
xsys
,
xerror
)
xseverity | The severity of the error. It must be one of ErrorSeverities.
|
xsys | The error system. It must be one of ErrorSystems.
|
xerror | The error number in the error system.
|
#define ErrGetCode
(
xcode
)
(
(
(
(
ASUns32
)
(
xcode
)
)
&
ERR_ERROR_MASK
)
>>
ERR_ERROR_SHIFT
)
xcode | The error code.
|
#define ErrGetSeverity
(
xcode
)
(
(
(
(
ASUns32
)
(
xcode
)
)
&
ERR_SEVERITY_MASK
)
>>
ERR_SEVERITY_SHIFT
)
xcode | The error code.
|
#define ErrGetSignedCode
(
xcode
)
(
(
ASInt16
)
ErrGetCode
(
xcode
)
)
xcode | The error code.
|
#define ErrGetSystem
(
xcode
)
(
(
(
(
ASUns32
)
(
xcode
)
)
&
ERR_SYSTEM_MASK
)
>>
ERR_SYSTEM_SHIFT
)
xcode | The error code.
|
#define FontSvrError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysFontSvr
,
e
)
#define GenError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysNone
,
e
)
#define INCL_DOS
#define INCL_GPI
#define INCL_PM
#define MDAppError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysMDApp
,
e
)
#define MDSysError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysMDSystem
,
e
)
#define PDDocError
(
e
)
ErrBuildCode
(
ErrSuppressable
,
ErrSysPDDoc
,
e
)
#define PDDocErrorAlways
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysPDDoc
,
e
)
#define PDFEditError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysPDFEdit
,
e
)
#define PDFXError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysPDFX
,
e
)
#define PDMetadataError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysPDMetadata
,
e
)
#define PDModelError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysPDModel
,
e
)
#define PDPageError
(
e
)
ErrBuildCode
(
ErrSuppressable
,
ErrSysPDPage
,
e
)
#define PDPageErrorAlways
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysPDPage
,
e
)
#define PDPageErrorSilent
(
e
)
ErrBuildCode
(
ErrSilent
,
ErrSysPDPage
,
e
)
#define PDSEditError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysPDSEdit
,
e
)
#define PageError
(
e
)
ErrBuildCode
(
ErrSuppressable
,
ErrSysPage
,
e
)
#define PageErrorSilent
(
e
)
ErrBuildCode
(
ErrSilent
,
ErrSysPage
,
e
)
#define RasterError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysRaster
,
e
)
#define XtnError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysXtn
,
e
)
#define XtnMgrError
(
e
)
ErrBuildCode
(
ErrAlways
,
ErrSysXtnMgr
,
e
)
#define __defedPlatformTypes
#define kPDFLVersion
0x00120003
ErrSeverity.
ErrNoError = 0 | No error occurred.
|
ErrWarning | Display a warning.
|
ErrSuppressable | Display a message if the user has not suppresed errors.
|
ErrSilent | Never display a message.
|
ErrAlways | Always display a message, even if others are suppressed.
|
ErrSystem.
ErrSysNone = 0 | General error and out of memory errors.
|
ErrSysCos | CosStore, filters errors.
|
ErrSysCosSyntax | Cos syntax errors.
|
ErrSysPDDoc | PDDoc and family, Page tree, outlines errors.
|
ErrSysPDPage | PDPage and family, thumbs, annotations errors.
|
ErrSysPDModel | Global PD errors.
|
ErrSysAcroView | AcroView errors.
|
ErrSysPage | Page parsing and RIPping errors.
|
ErrSysFontSvr | Font Server errors.
|
ErrSysRaster | Rasterizer errors.
|
ErrSysASFile | ASFile I/O errors.
|
ErrSysXtnMgr | Extension Manager errors.
|
ErrSysXtn | New error codes added by extensions.
|
ErrSysMDSystem | Platform-specific system errors.
|
ErrSysMDApp | Platform-specific application errors.
|
ErrSysPDFX | PDFX-specific errors.
|
ErrSysPDFEdit | PDFEdit errors.
|
ErrSysPDSEdit | PDSEdit (structure) errors.
|
ErrSysPDMetadata | XAP Metadata errors.
|
ErrSysLast |
OS2BadFileErr = 2 | The file does not exist.
|
OS2BadPathErr = 3 | The path does not exist.
|
OS2TooManyErr = 4 | Too many open files.
|
OS2AccessErr = 5 | Access denied.
|
OS2BadHdlErr = 6 | Bad file handle.
|
OS2MemErr = 8 | Not enough memory.
|
OS2BadDiskErr = 11 | Badly formatted disk.
|
OS2BadDriveErr = 15 | Invalid drive.
|
OS2WrPermErr = 19 | You do not have write permission.
|
OS2NotDosErr = 26 | Not an MS-DOS disk.
|
OS2GeneralErr = 31 | General failure.
|
Sharing violation.
| |
OS2LockErr = 33 | Lock violation.
|
OS2DeviceErr = 39 | The device does not exist.
|
OS2ExistsErr = 80 | The file already exists.
|
kPDFLInitIgnoreDefaultDirectories = 0x001 | Do not search through default font directories.
|
kReadOnlyInit = 0x0002 | (obsolete) If it is not necessary to write PDF, there is no need to initialize the font table (which would be much faster!).
|
kCheckSubFonts = 0x0004 | Check for substitution fonts at toolkit initialization. If they are not found, return an error.
|
kDontLoadPlugIns = 0x0008 | Do not load plug-ins if this is set.
|
kTestUniform = 0x0010 | TEST ONLY * * Create the same PDF file for every run. This forces dates to January 1, 1999 at 1:01:01 and file IDs to "[ < 11111111111111111111111111111111 > < 11111111111111111111111111111111 > ]". The resulting PDF files are invalid and should only be used for testing purposes.
|
kInitPDFEdit = 0x0020 | Initialize PDFEdit if this is
true . |
kNewFontWidths = 0x0040 | PDFLib 10 GM and earlier versions have incorrect widths specified for several of their characters of the 'standard/core 14 fonts', the widths do not always correspond with what the corresponding AFM files specify. Use new and correct font widths for 'standard/core 14 fonts' if this is
true . |
kPDFLInitIgnoreSystemFonts = 0x0080 | Do not search through default System font directories. If set, CoolType will not automatically search for any system fonts. If this flag is not set, CoolType will enumerate system fonts on Mac and Windows using the standard APIs. On Unix, CoolType will look in the following locations: /usr/lib/X11/fonts /usr/local/X11R6/lib/X11/fonts /usr/share/X11/fonts
|
kPDFLInitIgnoreCurrentDirectory = 0x0100 | flag to specifically ignore the current working directory, but not ignore all default font directories. kPDFLInitIgnoreDefaultDirectories implies this as well.
|
kPDFLInitDisableMemorySuballocator = 0x0200 | |
kPDFLInitPreferSystemFonts = 0x0000 | If two or more fonts of the same name are loaded from several sources, by default APDFL will prefer fonts which are known to and loaded from the platform font handling mechanism. This switch will cause the preference to be given to fonts loaded from directories other than those controlled by the operating system. kPDFLInitPreferSystemFonts is not really a flag and should be kept at 0.
|
kPDFLInitPreferLocalFonts = 0x0400 | |
kPDFLInitAvoidGDIFontScanner = 0x0800 | When using this flag, Windows fonts are enumerated as usual, but an attempt is made to read the font files directly before resorting to using GDI/GetFontData(). This can result in a speed improvement for certain tasks, especially when starting the PDFL up many times in parallel. The drawback is that in the light of duplicate fonts, which fonts actually make it on the font list and cached data may differ slightly from the GDI case.
|
kPDFLInitOnlyUseCustomColorProfilePaths = 0x08000 | |
kPDFLInitFormsExtension = 0x10000 |
Value options for PDEncodingType.
kPDDoReencode | The encoding method to be used for Type 1 fonts and substituted fonts.
|
kPDDoNothing | The encoding method to be used for TrueType Windows font or built-in encoding font.
|
kPDDoXlate | The encoding method to be used for a TrueType custom font or font with Mac OS encoding.
|
PDPrintMarkStyles.
kPDInDesignStyle = 0 | InDesign style.
|
kPDInDesignJ1Style | InDesign J1 style.
|
kPDInDesignJ2Style | InDesign J2 style.
|
kPDIllustratorStyle | Illustrator style.
|
kPDIllustratorJStyle | Illustrator J style.
|
kPDQuarkXPressStyle | QuarkXPress style.
|
Value options for PDFontStyle.
PDRoman = 0 | |
PDItalic | |
PDBold | |
PDBoldItalic |
PDPageTilingMode.
kPDNoPageTiling = 0 | Print all pages normally
|
kPDTileAllPages | Use tiling settings for all pages
|
kPDTileLargePages | Use tiling only for pages larger than size indicated in PDTileRec of tileInfo
|
PDOutputType.
PDOutput_PS | Emit a PostScript file.
|
PDOutput_EPSNoPrev | Emit an EPS file with no preview.
|
PDOutput_EPSMacStdPrev | Emit an EPS file with standard preview.
|
PDOutput_EPSMacExtPrev # endif | Emit an EPS file with extended preview.
|
pdfProcSet | PDF only operators.
|
typeProcSet | AI3 or PDF typography.
|
imgProcSet | General image support.
|
imbProcSet | Monochrome images.
|
imcProcSet | Color images.
|
imiProcSet | Indexed (color table) images.
|
ocfProcSet | Make Original Composite Font (OCF) support.
|
nProcSets | How many are defined.
|
WinBadFileErr = 2 | The file does not exist.
|
WinBadPathErr = 3 | The path does not exist.
|
WinTooManyErr = 4 | There are too many open files.
|
WinAccessErr = 5 | Access denied.
|
WinBadHdlErr = 6 | Bad file handle.
|
WinMemErr = 8 | Not enough memory.
|
WinBadDiskErr = 11 | Badly formatted disk.
|
WinBadDriveErr = 15 | Invalid drive.
|
WinWrPermErr = 19 | You do not have write permission.
|
WinNotDosErr = 26 | Not an MS-DOS disk.
|
WinGeneralErr = 31 | General failure.
|
Sharing violation.
| |
WinLockErr = 33 | Lock violation.
|
WinDeviceErr = 39 | Device does not exist.
|
WinExistsErr = 80 | File already exists.
|
avErrNoError | No error.
|
avErrCantOpenMoreThanTenDocs | No more than ten documents can be opened at a time.
|
avErrPrintJobTooBig | There are too many pages to print.
|
avErrTooManyChars | There is too much text to display. No more than 32,000 characters can be displayed.
|
avErrNoText | There is no text.
|
avErrCantOpenDialog | Acrobat cannot open this file. There is a modal dialog box open.
|
avErrActionExternal | This action cannot be performed from within an external window.
|
avErrActionFullScreen | This action cannot be performed during full screen mode.
|
avErrActionRestricted | This action cannot be performed.
|
avErrCantOpenPrinting | Acrobat cannot open this file while printing another document.
|
avErrBadAnnotationCopy | Unregistered copy proc for the annotation object.
|
avErrBadActionCopy | Unregistered copy proc for the action object.
|
avErrUpdateInternalError | Unable to determine if a new update for this product exists.
|
avErrUpdateInternetError | Unable to access the Internet.
|
avErrUpdateNoWebServices | Web services are currently not available.
|
avErrBadThreadLinkError | Unable to read the article because it is damaged or missing.
|
avInvalidPageRange | Invalid page range.
|
avErrDownloadHelpError | Unable to download the Adobe Reader Help file.
|
avSAInsufficientPermission | Insufficient permission for this operation.
|
avSA128EncryptionPresent | The operation failed due to the presence of 128-bit encryption in the PDF file.
|
cfMacNoErr = 0 | No error (
noErr ). |
cfMacdirFulErr = - 33 | The directory is full (
dirFulErr ). |
cfMacdskFulErr = - 34 | The document's disk or the disk used for temporary files is full (
dskFulErr ). |
cfMacnsvErr = - 35 | There is no such volume available (
nsvErr ). |
cfMacioErr = - 36 | A file I/O error has occurred (
ioErr ). |
cfMaceofErr = - 39 | The end of file was reached unexpectedly (
eofErr ). |
cfMacfLckdErr = - 45 | This file is locked (
fLckdErr ). |
cfMacvLckdErr = - 46 | This volume is locked and cannot be written to (
vLckdErr ). |
cfMacfBsyErr = - 47 | This file is busy and cannot be deleted (
fBsyErr ). |
cfMacdupFNErr = - 48 | Another file already exists under the same name (
dupFNErr ). |
cfMacopWrErr = - 49 | This file is already open or in use by another application (
opWrErr ). |
cfMacvolOffLinErr = - 53 | This file's volume is not available (
volOffLinErr ). |
cfMacpermErr = - 54 | You do not have permission to open this file (
permErr ). |
cfMacnoMacDskErr = - 57 | This disk is not a Macintosh disk (
noMacDskErr ). |
cfMacwrPermErr = - 61 | You do not have permission to write to this file (
wrPermErr ). |
cfMacdsMemFullErr = - 26 | Out of memory (
-26 ). ( dsMemFullErr ). |
cfMacmemFullErr = - 108 | Out of memory (
-108 ). ( memFullErr ). |
cfMacresNotFound = - 192 | Tried to get a nonexistent resource (
-192 ). ( resNotFound ). |
cfMacGenPSErr = - 8133 | PostScript error (
-8133 ). |
cfMaciIOAbort = - 27 | An I/O error has occurred (
-27 ). ( iIOAbort ). |
cfMaciPrSavPFil = - 1 | Error saving print file (
-1 ). |
cfMacServerLostConnection = - 1070 | This file's server connection has closed down (
aspParamErr ). |
cosErrNoError | No error.
|
cosErrReadError | Read error.
|
cosErrWriteError | Write error.
|
cosErrBadSyntax | Syntax error.
|
cosErrNeedRebuild | The file needs to be repaired.
|
cosErrRebuildFailed | Could not repair file.
|
cosErrCantOpenTempFile | A temporary file could not be opened.
|
cosErrTempFileFull | The temporary file is full or nearly full. Close or save any modified documents.
|
cosErrStreamTooShort | The stream source is shorter than specified length.
|
cosErrBadFilterName | A stream specifies an unknown filter.
|
cosErrListOverflow | The operation or data is too complex.
|
cosErrDocTableFull | The Cos document table is full.
|
cosErrInt16OutOfRange | A number is out of range.
|
cosErrExpectedNull | A
NULL object was expected. |
cosErrExpectedDict | A dictionary object was expected.
|
cosErrExpectedArray | An array object was expected.
|
cosErrExpectedNumber | A number object was expected.
|
cosErrExpectedBoolean | A boolean object was expected.
|
cosErrExpectedName | A name object was expected.
|
cosErrExpectedString | A string object was expected.
|
cosErrExpectedStream | A stream object was expected.
|
cosErrInvalidAssignment | This direct object already has a container.
|
cosErrAfterSave | Implementation failure: this document is now invalid.
|
cosErrInvalidObj | The desired operation cannot be performed on this object.
|
cosErrArrayBounds | Array out-of-bounds error.
|
cosErrDictKeyNotName | The dictionary key must be a name object.
|
cosErrNeedFullSave | This file must be saved with a full save.
|
cosErrEncryptionErr | Error in the encryption filter.
|
cosErrDCTError | Error in the JPEG data filter.
|
cosErrCCFError | Error in the CCITT fax data filter.
|
cosErrLZWError | Error in the LZW data filter.
|
cosErrFlateError | Error in Flate data filter.
|
cosErrExpectedDirect | A direct object was expected.
|
cosErrOldLinFormat | Obsolete linearized (optimized for the Web) format.
|
cosErrTempTooShort | The temporary file was unexpectedly short.
|
cosErrCancelSave | The Save operation was cancelled.
|
cosErrEncryptionNotSupported | Encryption and decryption are not supported.
|
cosErrNoEncryptionKeySupplied | An encryption key is not supplied for a stream.
|
cosErrDuplicateFilterName | A filter with the same name is already registered.
|
cosErrNoDecodeFilter | Attempted to decode without the associated filter.
|
cosErrNoEncodeFilter | Attempted to encode without the associated filter.
|
cosErrCryptAuthFailed | Decryption authorization failed during data access.
|
cosErrExpectedObjectStream | An object stream was expected.
|
cosErrExpectedIndirect | An indirect object was expected.
|
cosErrExpectedProc | A procedure was expected.
|
cosErrExpectedCollection | An object collection was expected.
|
cosErrNotCompressed | A compressed object was expected.
|
cosErrCompressed | An object that was not compressed was expected.
|
cosErrBadRefcount = 51 | An acquired object was already released.
|
cosErrObjFreed | An object has been replaced or destroyed.
|
cosErrMemMgrError | Internal error in the memory manager.
|
cosErrNeedXrefStm | This file requires a cross-reference stream (PDF 1.5).
|
cosErrCryptSystem | General Encryption System error (failed to load or initialize).
|
cosSynErrNoError | No syntax error.
|
cosSynErrNoHeader | File does not begin with
'%PDF-' . |
cosSynErrNoEOF | Missing
%%EOF . |
cosSynErrNoStartXRef | Could not find
startxref address. |
cosSynErrNoStartAddress | The value of
startxref address is not an integer. |
cosSynErrBadXref | Missing
'xref' . |
cosSynErrBadXrefHeader | Xref header should be two integers. |
cosSynErrBadXrefEntry | Error reading
xref entry. |
cosSynErrBadTrailerStart | The trailer dictionary start is missing
' < ' . |
cosSynErrBadObjectLabel | The object label is badly formatted.
|
cosSynErrUnknownName | Unrecognized object name.
|
cosSynErrUnknownTokenType | Unrecognized token type.
|
cosSynErrNoEndStream | Missing endstream.
|
cosSynErrExtraEndStream | Unexpected endstream.
|
cosSynErrUnterminatedString | Unterminated string.
|
cosSynErrStringTooLong | The string is too long.
|
cosSynErrTokenTooLong | The token is too long.
|
cosSynErrBadCharInHexString | There is a non-hex character in a hex string.
|
cosSynErrUnexpectedType | Unexpected token type.
|
cosSynErrImageNeverEnded | End of image was not found.
|
cosSynErrUnexpectedDict | Unexpected end of dictionary.
|
cosSynErrUnexpectedArray | Unexpected end of array.
|
cosSynErrBadDict | There was an error reading the dictionary.
|
cosSynErrBadObject | There was an error reading the object.
|
cosSynErrBadArrayDict | Expected a dictionary or array.
|
cosSynErrBadFRef | Bad foreign object reference.
|
cosSynErrPStackUnderflow | There was a parse stack underflow while reading the object.
|
cosSynErrBadLinearized | There was an error reading the linearized hint data.
|
cosSynErrBadHexCharInName | There was a non-hex character after
# in a name. |
cosSynErrBadName | There are illegal characters in a name.
|
cosSynErrBadObjectRef | An object reference is invalid.
|
cosSynErrBadXrefStream | There is an error in the
XRef stream. |
cosSynErrPrematureEOF | Unexpected end of file.
|
cosSynErrBadStreamStart | Expected
CR and/or LF after 'stream' . |
cosSynErrBadObjStream | There is an error in the object stream.
|
cosSynErrDictKeyNotName | Dictionary keys must be direct name objects.
|
cosSynErrExpectedNull | The
NULL object was expected. |
cosSynErrExpectedNumber | A number was expected.
|
cosSynErrExpectedInteger | An integer was expected.
|
cosSynErrExpectedReal | A real number was expected.
|
cosSynErrExpectedUnsigned | A non-negative integer was expected.
|
cosSynErrExpectedBoolean | |
cosSynErrExpectedName | A name integer was expected.
|
cosSynErrExpectedString | A string was expected.
|
cosSynErrExpectedDict | A dictionary was expected.
|
cosSynErrExpectedArray | An array was expected.
|
cosSynErrExpectedStream | A stream was expected.
|
cosSynErrIllegalStream | A stream was found in an illegal context.
|
cosSynErrNoLength | The stream is missing a
Length key. |
cosSynErrExpectedIndirect | An indirect object was expected.
|
cosSynErrExpectedDirect | A direct object was expected.
|
cosSynErrIllegalIndRef | Illegal indirect reference.
|
fileErrNoErr | No error.
|
fileErrGeneral | A file error has occurred.
|
fileErrObsolete | |
fileErrDirFull | The directory is full.
|
fileErrDiskFull | The document's disk or the disk used for temporary files is full.
|
fileErrNSV | The disk containing this file is not available.
|
fileErrIO | A file I/O error has occurred.
|
fileErrRead | A file read error has occurred.
|
fileErrWrite | A file write error has occurred.
|
fileErrEOF | The end of file was reached unexpectedly.
|
fileErrLocked | This file is locked.
|
fileErrVLocked | This disk is locked and cannot be written to.
|
fileErrBusy | This file is busy and cannot be deleted.
|
fileErrExists | Another file already exists under the same name.
|
fileErrAlreadyOpen | This file is already open or in use by another application.
|
fileErrPerm | You do not have access to this file.
|
fileErrWrPerm | You do not have permission to write to this file.
|
fileErrFNF | This file cannot be found.
|
fileErrOpenFailed | File open failed.
|
fileErrBytesNotReady | The bytes are not ready.
|
fileErrUserRequestedStop | The user requested a stop.
|
fileErrIOTimeout | A file I/O error has occurred. The file connection timed out.
|
fileErrReadBlocked | A file I/O error has occurred. The file is blocked while reading.
|
fileErrNotADir | This operation can only be performed on a folder.
|
fileErrTempCreate | A uniquely named temporary file could not be created. Please restart the application and try again.
|
fileErrTooBig | This file is too big for the current operation.
|
fsErrNoError | No error.
|
fsErrInitFailed | Initialization of the font server module failed.
|
fsErrNoMMFonts | No Multiple Master fonts were found.
|
fsErrNoATM | Adobe Type Manager was not found.
|
fsErrNeedNewATM | A new version of Adobe Type Manager is required.
|
fsErrNoT1ZapfDingbats | The Type 1 font 'ZapfDingbats' must be installed.
|
fsErrDownloadFailed | The font download failed.
|
fsErrDownloadAborted | The font download aborted.
|
fsErrBadParameter | A bad parameter was passed to the font server.
|
fsErrMissingFont | No ZapfDingbats or Multiple Master fonts were found.
|
genErrNoError | No error.
|
genErrGeneral | An internal error occurred.
|
genErrNoMemory | Out of memory.
|
genErrBadParm | Bad parameter.
|
genErrListOverflow | Operation or data is too complex.
|
genErrBadUnlock | Attempt to release an unlocked object.
|
genErrExceptionStackOverflow | Exception stack overflow.
|
genErrResourceLoadFailed | Failed to load an application resource (internal error).
|
genErrNameAlreadyRegistered | Attempt to register an object with a name already in use.
|
genErrMethodNotImplemented | Attempt to call a method that has not been implemented.
|
genErrCanceled | The user cancelled the operation.
|
genErrNoValidSerialNoFound | No valid Acrobat serial number was found. Acrobat will now quit.
|
genErrOutOfRange | The parameter was out of Valid range.
|
genErrLicense | License management error
|
mdAppErrNoError | No error.
|
mdAppCantPrintToPDFWriter | Cannot print to Acrobat PDFWriter.
|
mdAppNoDAsWhilePrint | Please close all Desk Accessories before printing.
|
mdAppNoPrinter | Printing is not possible until you have chosen a Printer using the Chooser.
|
mdAppAsstToolboxActive | Background printing is not possible with the Assistant Toolbox system extension and loadable ATM.
|
mdAppIncorrectTTEmbed | Some data in the embedded font was invalid. Some characters may not display or print correctly.
|
mdAppErrNoError | No error.
|
mdAppOpenMsgPartFailed | Open Message partially failed.
|
mdAppOpenMsgFailed | Open Message failed.
|
mdAppModalWindowOpen | Modal window is open.
|
mdAppBadPropertyFormat | Bad
Property format. |
mdAppGetPropertyError | GetProperty error. |
mdAppBadPlatformThing | Bad AVWindow Platform Thing.
|
mdAppSIGBUS | A bus error was caught.
|
mdAppSIGILL | An illegal instruction was caught.
|
mdAppSIGSEGV | A segmentation violation was caught.
|
mdAppSIGUnknown | An unknown signal was caught.
|
mdAppLPTERM | The print job terminated.
|
mdAppLPSTOP | The print job stopped.
|
mdAppBadTmpDir | Bad temporary directory resource.
|
mdSysNoErr = 0 | No error.
|
mdSysEDOM = EDOM | The math argument is out of the domain of the function.
|
mdSysERANGE = ERANGE | The math result cannot be represented.
|
mdSysEPERM = EPERM | Not the super user.
|
mdSysENOENT = ENOENT | No such file or directory.
|
mdSysESRCH = ESRCH | No such process.
|
mdSysEINTR = EINTR | The system call was interrupted.
|
mdSysEIO = EIO | I/O error.
|
mdSysENXIO = ENXIO | No such device or address.
|
mdSysEBADF = EBADF | Bad file number.
|
mdSysEAGAIN = EAGAIN | No more processes allowed.
|
mdSysENOMEM = ENOMEM | Not enough core memory.
|
mdSysEACCES = EACCES | Permission is denied.
|
mdSysEEXIST = EEXIST | The file exists.
|
mdSysENOTDIR = ENOTDIR | Not a directory.
|
mdSysEISDIR = EISDIR | Is a directory.
|
mdSysENFILE = ENFILE | File table overflow.
|
mdSysEMFILE = EMFILE | Too many open files.
|
mdSysENOSPC = ENOSPC | No space is left on the device.
|
mdSysEROFS = EROFS | Read-only file system.
|
mdSysEMLINK = EMLINK | Too many links.
|
mdSysEDQUOT = EDQUOT | The disk quota was exceeded.
|
mdSysELOOP = ELOOP | There are too many levels of symbolic links.
|
mdSysEMULTIHOP = EMULTIHOP | A multihop was attempted.
|
mdSysNOLINK = ENOLINK | Inactive link to a remote machine.
|
mdSysOVERFLOW = EOVERFLOW | Stat buffer overflow.
|
mdSysENAMETOOLONG = ENAMETOOLONG | The file name was too long.
|
mdSysEFAULT = EFAULT | Illegal address.
|
pageErrNoError | No error.
|
pageErrTooFewOps | Too few operands.
|
pageErrWrongOpType | Wrong operand type.
|
pageErrOpTooLarge | The operand is too large.
|
pageErrBadContents | The page contents object has the wrong type.
|
pageErrImageExpectedNumber | Expected a number while parsing an image.
|
pageErrExpectedEndOfColor | Expected the end of color space.
|
pageErrExpectedHexOrASC85 | Expected an
AsciiHex or Ascii85 string. |
pageErrErrorParsingImage | There was an error while trying to parse an image.
|
pageErrBadTypeInXTextArray | Bad object type within a text operator array.
|
pageErrUnexpectedOpInDisplay | An unexpected operator was found in the display list.
|
pageErrInvalidGRestore | Invalid restore.
|
pageErrFontNotSet | The font has not been set.
|
pageErrTooFewPathOps | There are too few operands in the path.
|
pageErrImageTooBig | The image in the form or Type 3 font is too big.
|
pageErrParseContextError | An error occurred while parsing a form or Type 3 font.
|
pageErrBadType3Font | Invalid Type 3 font.
|
pageErrFontNotInResources | A font is not in the Resources dictionary.
|
pageErrInvalidDash | Dash arguments are invalid.
|
pageErrArrayLenWrong | The array length is out of range.
|
pageErrNumberOutOfRange | A number value is out of range.
|
pageErrColorOutOfRange | A color value is out of range.
|
pageErrIllegalOpInTextOutline | There is an illegal operator inside a text outline object.
|
pageErrWrongNumOpsInCurve | A curve operator has the wrong number of operands.
|
pageErrSeveralParsingErrors | There were several parsing errors on this page.
|
pageErrWrongOperand | Wrong operand type. Another type was expected.
|
pageErrFontNotInResDict | Could not find a font in the Resources dictionary; using Helvetica instead.
|
pageErrXObjectNotFound | Could not find the XObject.
|
pageErrFormNotFound | Could not find the form.
|
pageErrUnknownXObjectType | Unknown XObject type.
|
pageErrReadLessImageData | Less image data was read than expected.
|
pageErrUnrecognizedToken | An unrecognized token was found.
|
pageErrTokenTypeNotRec | The token type was not recognized.
|
pageErrTooFewArgs | There were too few arguments.
|
pageErrTooManyArgs | There were too many arguments.
|
pageErrOperandTooLarge | An operand is too large.
|
pageErrErrorReadingPage | There was an error reading the page near the contents.
|
pageErrImageExpectedEI | Expected
'EI' while parsing an image. |
pageErrUnknownFilterName | Unknown filter name.
|
pageErrBadDecodeArray | Bad decode array.
|
pageErrIllegalOpInPath | Illegal operation inside a path.
|
pageErrIllegalOpInTextObj | Illegal operation inside a text object.
|
pageErrReadLessImageColor | Less image color data was read than expected.
|
pageErrWrongArgsForSetColor | The wrong number of arguments were used for a
setcolor operator. |
pageErrUnknownColorSpace | Unknown ColorSpace.
|
pageErrColorSpaceNotFound | Could not find the ColorSpace.
|
pageErrBadForm | Invalid form.
|
pageErrIllegalTextOp | Illegal operation outside the text object.
|
pageErrFormTypeNotAvailable | The form type is not supported.
|
pageErrOBSOLETE | |
pageErrRecursiveMachine | Internal error: the machine was called recursively.
|
pageErrInvalidImageMaskDepth | An image is specified as an image mask with more than 1 bit per pixel.
|
pageErrBadPattern | Invalid Pattern.
|
pageErrPatternTypeNotAvailable | The Pattern type is not supported.
|
pageErrPatternNotFound | Could not find the Pattern.
|
pageErrBadColorSpace | Invalid color space.
|
pageErrMissingResource | A resource is missing.
|
pageErrMissingKey | The dictionary is missing the key.
|
pageErrEGStateNotFound | Could not find the Extended Graphics State.
|
pageErrBadEGS | Invalid Extended Graphics State.
|
pageErrBadFunction | Invalid Function resource.
|
pageErrBadEPSColorSpace | An image uses a color space which will not separate correctly in some applications.
|
pageErrBadShading | There is an error in the Shading dictionary.
|
pageErrBadMaskImage | There is an error in the Masked Image.
|
pageErrTooManyComps | There were too many color components.
|
pageErrNotLevel3 | A feature requires PostScript 3.
|
pageErrBadAltXObject | Invalid alternate image for the XObject.
|
pageErrBadTGroup | Invalid transparency group.
|
pageErrBadSoftMask | Invalid soft mask.
|
pageErrBadHalftone | Invalid halftone.
|
pageErrIllegalColorOp | A color operator was used where it is not permitted.
|
pageErrRefXObjTargetNotFound | Reference XObject target not found
|
pageErrRefXObjPageNum | Invalid page number for target document
|
pageErrRefXObjMissingInvalidID | Missing or Invalid ID in Reference Dictionary
|
pageErrRefXObjUnmatchedID | Xobject ID does not match with Document ID
|
pageErrRefXObjMissingInvalidMetadata | Missing or invalid metadata in X-5 compliant file
|
pageErrRefXObjRecursive | Reference XObject points to itself
|
pageErrUnableRenderImage | There was an error while trying to render an image
|
pageErrErrorParsingInlineImage | Inline image L key out-of-range
|
pdMetadataErrBadXAP | The given metadata was not in the XAP format.
|
pdMetadataErrBadPDF | XAP metadata processing found a syntax error in the PDF.
|
pdMetadataErrCouldntCreateMetaXAP | An internal representation of the XAP metadata could not be created.
|
pdMetadataErrInternalError | An internal error occurred while processing the XAP metadata.
|
pdModErrNoError | No error.
|
pdModErrEncTablesFailed | Unable to initialize the font encoding tables.
|
pdModErrDuplicateCryptName | A security plug-in with this name is already registered.
|
pdModErrDuplicatePermName | A permission handler with this name is already registered.
|
This navigator file cannot be read. Ensure that the mimetype file exists and is the first file in the package.
| |
This navigator requires a new version of Acrobat.
| |
This navigator does not have a valid file extension. The only valid file extension for a navigator is either \"nav\" or \"swf\".
| |
This navigator has an invalid mimetype file. The navigator mimetype must be \"application/vnd.adobe.pdf-navigator\".
| |
This navigator is missing its swf file. Check the spelling of the file name (it is case sensitive).
| |
This navigator is missing its navigator xml file.
| |
This navigator is missing its locales xml file. Check the spelling of the file name (it is case sensitive).
| |
This navigator is missing one or more of its localization xml files. Check the spelling of the file name (it is case sensitive).
| |
This navigator's navigator xml file is malformed. Verify that your xml file is valid per the navigator schema.
| |
This navigator's locales xml file is malformed. Verify that your xml file is valid per the navigator schema.
| |
One or more of this navigator's localization xml files is malformed. Verify that your xml file is valid per the navigator schema.
|
pdErrNoError | No error.
|
pdErrBadFont | Bad font object or font descriptor object.
|
pdErrEmbeddingFont | An error occurred while trying to embed a font.
|
pdErrBadRootObj | The root object is missing or invalid.
|
pdErrBadBaseObj | The base pages object is missing or invalid.
|
pdErrBadOutlineObj | The outlines object is missing or invalid.
|
pdErrBadResMetrics | There are invalid or corrupt font metrics in the resource file.
|
pdErrBadPageObj | A page object is missing or invalid.
|
pdErrThumbError | An error occurred while processing a thumbnail.
|
pdErrBadAnnotation | Invalid annotation object.
|
pdErrBadPageTree | The document's page tree contains an invalid node.
|
pdErrUnknownProcsets | The information needed to print a page is unavailable.
|
pdErrUnableToOpenDoc | This file could not be opened.
|
pdErrIsFileLocked | Unable to open the file for writing. It may be locked or unavailable.
|
pdErrUnableToWrite | Unable to write the file.
|
pdErrUnableToRenameTemp | Unable to rename the temporary file to the Save As name.
|
pdErrUnableToRecover | Unable to recover the original file.
|
pdErrUnableToRead | Unable to read the file.
|
pdErrUnknownFileType | This is not a valid PDF document. It cannot be opened.
|
pdErrAlreadyOpen | This file is already open.
|
pdErrTooManyPagesForOpen | This file cannot be opened because it contains too many pages.
|
pdErrNotEnoughSpaceForTempFile | There is not enough temporary disk space for this operation.
|
pdErrTooManyPagesForInsert | Inserting this file would result in a document with too many pages.
|
pdErrBookmarksError | There is an error in the bookmarks.
|
pdErrCannotOpenMoreBkMark | Cannot open more bookmarks.
|
pdErrUnableToExtractFontErr | Unable to extract embedded font.
|
pdErrCannotOpenNotes | An error occurred while creating the document notes file.
|
pdErrNoNotes | This document has no notes.
|
pdErrCopyPageFailed | The copy of a page failed.
|
pdErrNeedRebuild | This file is damaged.
|
pdErrBadFontFlags | The font contains bad /Flags.
|
pdErrBadFontBBox | The font contains a bad /BBox.
|
pdErrBadFontWidths | The font contains bad /Widths.
|
pdErrOldCosFileOBSOLETE | |
pdErrTrySaveAs | This file can only be saved using Save As.
|
pdErrAbortNotes | Creation of the notes file was cancelled.
|
pdErrPagesLockedNotDeleted | One or more pages are in use and could not be deleted.
|
pdErrNotEnoughMemoryToOpenDoc | There is not enough memory available to open the document.
|
pdErrUnableToCloseDueToRefs | Unable to close the document due to outstanding references.
|
pdErrNeedPassword | This document requires a password.
|
pdErrOpNotPermitted | This operation is not permitted.
|
pdErrNoCryptHandler | The security plug-in required by this command is unavailable.
|
pdErrBadThread | Invalid article object.
|
pdErrBadBead | Invalid article element.
|
pdErrThreadProcessing | An error occurred while processing articles.
|
pdErrUnknownAction | Unknown action type.
|
pdErrBadAction | Invalid action object.
|
pdErrCantUseNewVersion | This file contains information not understood by the viewer. It cannot be used for this operation.
|
pdErrOldEncryption | This viewer cannot decrypt this document.
|
pdErrUnableToExtractFont | Unable to extract the embedded font. Some characters may not display or print correctly.
|
pdErrUnableToFindFont | Unable to find or create the font. Some characters may not display or print correctly.
|
pdErrBadAnnotColor | Invalid annotation color (only RGB colors are allowed).
|
pdErrNeedCryptHandler | Cannot execute this command on an unsecured document.
|
pdErrBadFontDescMetrics | The font contains bad /FontDescriptor metrics.
|
pdErrWhileRecoverInsertPages | There was an error while inserting or extracting pages and another error while trying to recover.
|
pdErrBadBookmark | Invalid bookmark object.
|
pdErrBadFileSpec | Invalid file specification object.
|
pdErrAfterSave | This document was successfully saved, but an error occurred after saving the document. Please close and reopen the document.
|
pdErrUnableToXlateText | Some text in the font and character could not be displayed or printed correctly. The font could not be reencoded.
|
pdErrTextStringTooShort | Not enough bytes are in the text string for the multibyte character code.
|
pdErrBadCMap | A font contains a bad CMap /Encoding.
|
pdErrOldATMVersion | The font cannot be displayed with the installed version of Adobe Type Manager.
|
pdErrZeroPageFile | This file cannot be opened because it has no pages.
|
pdErrATMMemory | Adobe Type Manager is running out of memory. The text in the font may not render properly.
|
pdErrOptMemory | There is not enough memory to optimize this file.
|
pdErrCancelSave | The Save operation was cancelled.
|
pdErrCannotMergeWithSubsetFonts | These documents contain subset fonts that have the same name and cannot be merged.
|
pdErrCannotReopenDoc | This document was successfully saved, but an error occurred after saving the document. Please close and reopen the document.
|
pdErrNoPDDocForCosDoc | |
pdErrHostEncodingNotSet | The application has not set the host encoding.
|
pdErrInvalidEmbeddedFont | An invalid font was removed from the document.
|
pdErrCannotDeleteAllPages | You cannot delete all pages. At least one page must remain.
|
pdErrStartLessThanEnd | The starting page number must be less than or the same as the ending page number.
|
pdErrNotValidPage | There is no page with such a number in this document.
|
pdErrCannotBeBlankPage | The page number cannot be left blank.
|
pdErrInvalidPageNumber | Invalid page number.
|
pdErrExceedEncryptionLength | Exceeds support encryption key length.
|
pdErrExceedEncryptionVersion | This version of encryption is not supported.
|
pdErrRequireTrustedMode | Only Adobe certified Acrobat plug-ins are allowed while viewing this document.
|
pdErrMissingGlyphs | Unable to find a substitution font with all the characters used by the font. Some characters may not be displayed or printed.
|
pdErrNeedTradChinese | An error has occurred that may be fixed by installing the latest version of the Traditional Chinese Language Support package.
|
pdErrNeedSimpChinese | An error has occurred that may be fixed by installing the latest version of the Traditional Chinese Language Support package.
|
pdErrNeedKorean | An error has occurred that may be fixed by installing the latest version of the Korean Language Support package.
|
pdErrNeedJapanese | An error has occurred that may be fixed by installing the latest version of the Japanese Language Support package.
|
pdErrMissingSubsetFont | A font required for font substitution is missing.
|
pdErrCMapNotFound | The encoding (CMap) specified by a font is missing.
|
pdErrLimitcheck = 92 | The implementation limit was exceeded.
|
pdErrPrintAsImageSpoolFileFull | There is insufficient disk space for the print job spool file to hold the entire print job. Try freeing up disk space on the startup volume and print the remaining pages of the document again.
|
pdErrInvalidMediaBox | Invalid MediaBox.
|
pdEnumCanceled = 97 | The enumeration process was cancelled by the callback function.
|
pdErrFontEmbeddingFailed | Could not embed the font.
|
pdErrFontEmbeddingCanceled = 101 | Font embedding was cancelled.
|
pdErrMultipleDocuments | The operation could not be performed because the objects belong to different documents.
|
pdErrBadOCObject | Invalid type or value in an Optional Content object.
|
pdErrNoInlineImage | The operation could not be performed because the image is inline.
|
pdErrNoCryptFilterHandler | The required Crypt Filter is not registered by the security handler plug-in.
|
pdErrBadEncryptDict | Bad encryption dictionary.
|
pdErrNoPermHandler = 108 | The permission handler required by this command is unavailable.
|
pdErrDuplicatePermHandler | The permission handler has already been added for this document.
|
pdErrExceedMaxPermHandlers | The maximum number of permission handlers has been reached for this document.
|
pdErrBadEncoding = 112 | The font contains an invalid encoding. Some characters may not display.
|
pdErrMatrixTooBig | The implementation limit was exceeded. Try decreasing the magnification level.
|
pdErrNeedExtendedLang = 120 | An error has occurred that may be fixed by installing the latest version of the Extended Language Support package.
|
pdErrUnknownCryptFilter | This file is encrypted with an unsupported cryptograhpic algorithm. A later version of Acrobat may be needed in order to open this document.
|
pdErrNeed3D | An error has occurred that may be fixed by installing the latest version of the 3D Support package.
|
pdErr3DUnsupported | 3D artwork is not supported under this operating system.
|
pdErrNonFIPSCrypt | Use of non FIPS cryptography is not permitted while in FIPS mode.
|
pdMsgFontUsage | Determining fonts used in document
|
pdErrUnableToOpenXFA | Unable to open XFA PDF files.
|
pdErrInvalidOutputIntentProfile | Unable to parse of process DestProfile from Output Intent
|
pdMsgAnalyzingPageContent | |
pdMsgResampleCompressImages | |
pdMsgRemovingThumbnails | |
pdMsgRemovingUnusedForms | |
pdMsgRemovingUnusedImages | |
pdMsgRemovingUnusedFonts | |
pdMsgRemoveEmbeddedFonts | |
pdMsgRemoveEmbeddedBase14Fonts | |
pdMsgRemovePieceInfo | |
pdMsgRemoveFileAttachments | |
pdMsgRemoveComments | |
pdMsgRemoveAnnotations | |
pdMsgRemovingMetadata | |
pdMsgRemovingDocInfo | |
pdMsgRemovingJavaScriptActions | |
pdMsgRemovingStructureTree | |
pdMsgPreparingEmbeddingFonts | |
pdMsgCreatingPDFontRepresentations | |
pdErrBadRegex | |
pdErrLinearizeSaveCircularRecursionFound | |
pdErrNotAnXFADoc | |
pdErrXFANotAllowed | |
pdErrXFAFormsAddOnNotLoaded | |
pdErrNotAnAcroFormsDataImportType | |
pdErrNotAnAcroFormsDataExportType | |
pdErrNotAnXFADataExportType | |
pdErrNotAnAcroFormsDoc | |
pdErrXFAFormsExtensionNotLoaded | |
pdErrContainsFormsData |
pdPErrNoError | No error.
|
pdPErrPageDimOutOfRange | The dimensions of this page are out of range.
|
pdPErrBadType3Font | Invalid Type 3 font.
|
pdPErrType3TooComplex | The Type 3 font is too complex to print.
|
pdPErrFormTooComplex | The form is too complex to print.
|
pdPErrUnableToCreateRasterPort | The creation of a raster port failed.
|
pdPErrIncorrectPsOutputType | |
pdPErrUnableToOpenPrinter |
pdfxErrNoError | No error.
|
pdfxErrWrongCallbacks | The size of the passed callbacks
struct is wrong (version). |
pdfxErrDuringCallback | There was an attempt to call a
PDFXInstance function during a callback proc. |
pdfxErrCannotLaunchAcrobat | PDFX could not launch Acrobat.
|
pdfxErrCannotFindEWH | Could not find the External Window Handler plug-in.
|
pdsErrRequiredMissing | A required field was missing from a dictionary.
|
pdsErrBadPDF | An incorrect structure was found in the PDF file.
|
pdsErrWrongTypeEntry | The dictionary entry has the wrong Cos type.
|
pdsErrWrongTypeParameter | The wrong type parameter was supplied to a
PDS procedure. |
pdsErrAlreadyExists | There is already a table entry with the same name.
|
pdsErrCantDo | Some software required to perform this operation is not present in this version of Acrobat.
|
pdsErrBadStructureTree |
peErrNoError | No error.
|
peErrUnknownPDEColorSpace | Unknown PDEColorSpace value.
|
peErrWrongPDEObjectType | Incorrect PDEObject type.
|
peErrUnknownResType | Unknown PDEObject resource type.
|
peErrPStackUnderflow | PDFEdit parse stack underflow while reading object.
|
peErrCantCreateFontSubset | Unable to create embedded font subset.
|
peErrBadBlockHeader | Bad block header for Type 1 embedded stream.
|
peErrCantGetAttrs | Unable to get attributes for the font.
|
peErrCantGetWidths | Unable to get widths for the font.
|
peErrFontToEmbedNotOnSys | Unable to find the font to embed on this system.
|
peErrCantEmbedFont | This font is licensed and cannot be embedded.
|
peErrCantGetImageDict | Unable to get the image dictionary.
|
peErrCantReadImage | Unable to read the image data.
|
peErrCantGetShading | Unable to get the shading resource.
|
peErrWrongOpType | Wrong operand type.
|
peErrTooFewPathOps | There were too few operands in the path.
|
peErrErrorParsingImage | There was an error while trying to parse an image.
|
peErrReadLessImageColor | Less image color data was read than expected.
|
peErrReadLessImageData | Less image data was read than expected.
|
peErrBadResMetrics | There are invalid or corrupt font metrics in the resource file.
|
peErrBadType3Font | Invalid Type 3 font.
|
peErrInvalidUnicodeAttribute | Invalid Unicode attribute or attribute not set.
|
peErrIllegalUTFText | Invalid Unicode text.
|
peErrToUnicodeUsesPUA | Private User Area of Unicode used
|
peErrBadFont | Font embedding failed because of invalid or corrupt font.
|
peErrOpValueDoesNotFitInFixed | Operand value will not fit in ASFixed range.
|
rasErrNoError | No error.
|
rasErrInitFailed | Initialization of the rasterizer module failed.
|
rasErrCreatePort | Creation of the rasterizer port failed.
|
rasErrDraw | A rasterizer error occurred.
|
rasErrGPUFailed | GPU drawing failed; reverted to CPU.
|
xmErrNoError | No error.
|
xmErrOutOfDateHFT | The plug-in was compiled with an out-of-date HFT.
|
xmErrNoPLUGResource | The plug-in lacks a
PLUG resource of ID 1 . |
xmErrPluginIncompatible | The plug-in is incompatible with this version of the viewer.
|
xmErrInitializationFailed | The plug-in failed to initialize.
|
xmErrFormsExtensionIsNotLicensed | The Forms Extension is not licensed for use.
|
xmErrDuplicatePluginName | Two plug-ins are attempting to register with the same name.
|
xmErrCannotReplaceSelector | There was an attempt to replace an unreplaceable selector.
|
xmErrCalledObsoleteProc | An unimplemented function was called.
|
xmErrPluginLoadFailed | The plug-in failed to load.
|
xmErrNotPrivileged | Adobe Reader cannot load this plug-in.
|
xmErr68KOnly | Only the 68K Viewer can load this plug-in.
|
xmErrPPCOnly | Only the PowerPC Viewer can load this plug-in.
|
xmErrPlugInNotTrusted | This is not a trusted plug-in.
|
xmErrPlugInNotCarbonized | This plugin cannot load on Mac OS X.
|
xmErrPluginResourceMismatch | The currently selected language resources are not supported by this plugin.
|
ErrOptions.
typedef
ASEnum8
ErrSeverity
;
ErrSysOptions.
typedef
ASEnum8
ErrSystem
;
typedef
Int32
NSelector
;
For value options see PDDoOptions.
typedef
ASInt32
PDEncodingType
;
typedef
HBITMAP
PlatformBitmapPtr
;
typedef
HPS
PlatformBitmapPtr
;
typedef
void
*
PlatformBitmapPtr
;
typedef
HWND
PlatformWindowPtr
;
typedef
void
*
PlatformWindowPtr
;
typedef
struct
_t_TextServer
*
TextServer
;
typedef
DWORD
ThreadLocalKey
;
typedef
TaskStorageIndex
ThreadLocalKey
;
typedef
pthread_key_t
ThreadLocalKey
;
void
*
. ASClientAllocProc(
void
*
clientData
,
ASSize_t
size
);
clientData | The
clientData specified in the TKAllocatorProcs structure. |
size | The amount of memory to be allocated.
|
void
ASClientFreeProc(
void
*
clientData
,
void
*
p
);
clientData | A pointer to the
clientData specified in the TKAllocatorProcs structure. |
p | A pointer to memory to free.
|
ASSize_t
ASClientMemAvailProc(
void
*
clientData
);
clientData | A pointer to the
clientData specified in the TKAllocatorProcs structure. |
void
*
. ASClientReallocProc(
void
*
clientData
,
void
*
p
,
ASSize_t
size
);
clientData | A pointer to the
clientData specified in the TKAllocatorProcs structure. |
p | A pointer to memory to reallocate.
|
size | The amount of memory requested.
|
ASBool
ExternalFilePermissionProc(
CosDoc
dP
,
ASFileSys
*
fileSys
,
ASPathName
*
path
);
true
, then the key/value will be emitted into the print job. If this method returns false
, then nothing will be emitted for this key/value. If emitHalftones
is false
, then this method will not be called for the HT key. ASBool
PDDoExtGStateProc(
ASAtom
egsKey
,
CosObj
egsValue
,
PDPrintClient
printClient
);
egsKey | A key in ExtGState.
|
egsValue | The ExtGState value for
egsKey . |
printClient | The object passed to PDDocPrintPages().
|
/dev/urandom
on Mac OS and Unix, CryptGenRandom()
on Windows). For some supported Unix environments, the /dev/urandom
device does not exist. While it is preferable to install this device, the PDFLibraryRegisterRNG() function is provided for the client to register an alternate source for strong random data. ASSize_t
PDFLClientRNGProc(
ASSize_t
len
,
ASUns8P
buffer
);
len | The length (in bytes) of the request.
|
buffer | The buffer for the client to fill in.
|
ASBool
PDOCFindOutAutoStatePrefProc(
);
char
*
PDOCFindOutLanguageProc(
);
ASText
PDOCFindOutUserProc(
ASAtom
indTtlOrOrg
);
float
PDOCFindOutZoomProc(
PDDoc
pdDoc
);
rdStm
parameter. void
*
TKResourceAcquireProc(
char
*
resourceName
,
ASInt32
resType
,
void
*
registry
,
ASInt32
*
size
,
void
*
clientData
,
ASStm
*
rdStm
);
resourceName | The name of the resource to acquire.
| ||||||||||
resType |
resType enum: | ||||||||||
registry | One of the following:
| ||||||||||
size | (Filled by the callback) The size of the ASStm returned.
| ||||||||||
clientData | A pointer to the
clientData specified in the TKResourceProcs structure. | ||||||||||
rdStm | (Filled by the callback) An ASStm for the data requested.
|
void
*
of data that you want returned to you in TKResourceReleaseProc(). This data can be used to determine what Resource to release. You can return NULL
from TKResourceAcquireProc(). rdStm
. void
TKResourceReleaseProc(
ASStm
rdStm
,
void
*
data
,
void
*
clientData
);
rdStm | An ASStm for the resource to release and close with ASStmClose().
|
data | The
clientData returned from PMSetTextProc(). |
clientData | A pointer to the clientData specified in the TKResourceProcs structure.
|
| |
The size of the data structure. It must be set to
sizeof(PDFLDataRec) . | |
Currently
kPDFLInitIgnoreDefaultDirectories , kPDFLInitIgnoreSystemFonts and kDontLoadPlugIns flags are supported. When kPDFLInitIgnoreDefaultDirectories flag is set, the initialization process does not search through the default font directories(currently Adobe font directories installed by some Adobe applications), but only in those specified in dirList . When kPDFLInitIgnoreSystemFonts flag is set, the initialization process does not search through default System fonts also. When kDontLoadPlugIns flag is set, plug-ins are ignored during initialization process. | |
HINSTANCE inst ; | (Windows only) The location of resources for the Library. For a static library, you link them into your application and use
If you are linking the static library into a DLL, pass the
Free the |
List of directories with fonts.
| |
The number of directories listed in
dirList . | |
The structure containing function pointers for memory allocation callbacks. The library manages its own memory. Most applications linking with the library should pass
NULL for this member. Applications wishing more control over memory allocation can fill out this structure and will be responsible for providing and freeing memory, as well as reporting available memory as requested by the library. | |
The structure containing function pointers for resource management callbacks. The library manages its own resources. Most applications linking with the library should pass
NULL for this member. Applications wishing more control over resource allocation can fill out this structure and will be responsible for providing and freeing resources requested by the library. | |
The structure containing function pointers for ASExtension callbacks used by the PDF Library.
| |
A list of font cache file names. It is parallel to
dirList , but contains separately configurable target files for CoolType cache files for use in cases where the specified font directory may not be writable by the client. If same font cache file name is provided for different font directories, font cache file created for the earlier font directory will get overwritten. Either cacheFileList or any/all of its subsidiary pointers may be NULL , in which case CoolType will default to the font directory passed in dirList . | |
A separately configurable target file where CoolType should store the system font cache file. It may be
NULL , in which case CoolType will choose a default path. | |
Separately configurable target file where CoolType should store the common font cache file. It may be
NULL , in which case CoolType will choose a default path. | |
The complete
NULL -terminated path of the directory where CoolType can find CMap files. This directory will be the preferred location for CMaps that are associated with the system fontset. If CMaps with the same name are found in this directory and common fonts directory, the copy in this directory will be preferred. It may be NULL , in which case CoolType will only associate CMaps present in the common fonts directory with the system font set. | |
The complete,
NULL -terminated path of the directory in which the Unicode mapping files can be found. | |
pluginDirList . With regards to loading plug-ins, PDF Library behavior is now as follows: | |
An array of plug-in directories.
If a PDF Library client wants PDFL to load headless PDF Library plug-ins from desired locations, the client can pass a list of paths in
Clients can pass an array of plug-in directories in the field
| |
Specifies the number of directories listed in
colorProfileDirList . | |
An array of color profile directories.
If a PDF Library client wants to search for color profiles from custom directories, the client can pass a list of paths in
If the client does not set this parameter then PDF Library will search for the color profiles from default locations such as Creative Suites and Acrobat installation directories. If the clients sets this parameter then PDF Library will search for the color profiles from it's default directory as well as from the custom directories specified by the client through parameter
| |
HDC initDC ; | A valid Device Context or NULL. In most cases it should be set to NULL. It means APDFL will create a compatible DC (PlatformRenderData::InitPlatformGlyphCode) and will delete it later (PlatformRenderData::CleanupPlatformGlyphCode). This parameter should be set to a valid DC if APDFL is used in a printer driver on 64-bit Vista. It is because the spooler on 64-bit Vista should not call CreateDC() if a print job was requested from a 32bit app. (See http://msdn.microsoft.com/en-us/library/aa505681.aspx)
|
No longer used, deprecated.
| |
|
| |
The size of the data structure. It must be set to
sizeof(PDFLDataRec) . | |
Currently
kPDFLInitIgnoreDefaultDirectories , kPDFLInitIgnoreSystemFonts and kDontLoadPlugIns flags are supported. When kPDFLInitIgnoreDefaultDirectories flag is set, the initialization process does not search through the default font directories(currently Adobe font directories installed by some Adobe applications), but only in those specified in dirList . When kPDFLInitIgnoreSystemFonts flag is set, the initialization process does not search through default System fonts also. When kDontLoadPlugIns flag is set, plug-ins are ignored during initialization process. | |
char * * dirList ; | A list of directories with fonts.
|
The number of directories listed in
dirList . | |
The structure containing function pointers for memory allocation callbacks. The library manages its own memory. Most applications linking with the library should pass
NULL for this member. Applications wishing more control over memory allocation can fill out this structure and will be responsible for providing and freeing memory, as well as reporting available memory as requested by the library. | |
short resFile ; | (Mac only) The resources location, if they are not in the application itself. Set them using OpenResFile: |
The structure containing function pointers for resource management callbacks. The library manages its own resources. Most applications linking with the library should pass
NULL for this member. Applications wishing more control over resource allocation can fill out this structure and will be responsible for providing and freeing resources requested by the library. | |
The structure containing function pointers for ASExtension callbacks used by the PDF Library.
| |
char * * cacheFileList ; | A list of font cache file names. It is parallel to
dirList , but contains separately configurable target files for CoolType cache files for use in cases where the specified font directory may not be writable by the client. If same font cache file name is provided for different font directories, font cache file created for the earlier font directory will get overwritten. Either cacheFileList or any/all of its subsidiary pointers may be NULL , in which case CoolType will default to the font directory passed in dirList . |
char * systemCacheFile ; | Separately configurable target file where CoolType should store the system font cache file. It may be
NULL , in which case CoolType will choose a default path. |
char * commonCacheFile ; | Separately configurable target file where CoolType should store the common font cache file. It may be
NULL , in which case CoolType will choose a default path. |
char * cMapDirectory ; | The complete
NULL -terminated path of the directory where CoolType can find CMap files. This directory will be the preferred location for CMaps that are associated with the system fontset. If CMaps with the same name are found in this directory and common fonts directory, the copy in this directory will be preferred. May be NULL , in which case CoolType will only associate CMaps present in common fonts directory with the system font set. |
char * unicodeDirectory ; | The complete,
NULL -terminated path of the directory in which the Unicode mapping files can be found. |
pluginDirList . With regards to loading plug-ins, PDF Library behavior is now as follows: | |
char * * pluginDirList ; |
An array of plug-in directories.
If a PDF Library client wants PDFL to load headless PDF Library plug-ins from desired locations, the client can pass a list of paths in
Clients can pass an array of plug-in directories in the field
|
Specifies the number of directories listed in
colorProfileDirList . | |
char * * colorProfileDirList ; |
An array of color profile directories.
If a PDF Library client wants to search for color profiles from custom directories, the client can pass a list of paths in
If the client does not set this parameter then PDF Library will search for the color profiles from default locations such as Creative Suites and Acrobat installation directories. If the clients sets this parameter then PDF Library will search for the color profiles from it's default directory as well as from the custom directories specified by the client through parameter
|
|
| |
The size of the data structure. It must be set to
sizeof(PDFLDataRec) . | |
Currently
kPDFLInitIgnoreDefaultDirectories , kPDFLInitIgnoreSystemFonts and kDontLoadPlugIns flags are supported. When kPDFLInitIgnoreDefaultDirectories flag is set, the initialization process does not search through the default font directories(currently Adobe font directories installed by some Adobe applications), but only in those specified in dirList . When kPDFLInitIgnoreSystemFonts flag is set, the initialization process does not search through default System fonts also. When kDontLoadPlugIns flag is set, plug-ins are ignored during initialization process. | |
char * * dirList ; | A list of directories with fonts.
|
The number of directories listed in
dirList . | |
The structure containing function pointers for memory allocation callbacks. The library manages its own memory. Most applications linking with the library should pass
NULL for this member. Applications wishing more control over memory allocation can fill out this structure and will be responsible for providing and freeing memory, as well as reporting available memory as requested by the library. | |
The structure containing function pointers for resource management callbacks. The library manages its own resources. Most applications linking with the library should pass
NULL for this member. Applications wishing more control over resource allocation can fill out this structure and will be responsible for providing and freeing resources requested by the library. | |
The structure containing function pointers for ASExtension callbacks used by the PDF Library.
| |
char * * cacheFileList ; | A list of font cache file names. It is parallel to
dirList , but contains separately configurable target files for CoolType cache files for use in cases where the specified font directory may not be writable by the client. If same font cache file name is provided for different font directories, font cache file created for the earlier font directory will get overwritten. Either cacheFileList or any/all of its subsidiary pointers may be NULL , in which case CoolType will default to the font directory passed in dirList . |
char * systemCacheFile ; | Separately configurable target file where CoolType should store the system font cache file. It may be
NULL , in which case CoolType will choose a default path. |
char * commonCacheFile ; | Separately configurable target file where CoolType should store the common font cache file. It may be
NULL , in which case CoolType will choose a default path. |
char * unicodeDirectory ; | The complete,
NULL -terminated path of the directory in which the Unicode mapping files can be found. |
char * cMapDirectory ; | The complete
NULL -terminated path of the directory where CoolType can find CMap files. This directory will be the preferred location for CMaps that are associated with the system fontset. If CMaps with the same name are found in this directory and common fonts directory, the copy in this directory will be preferred. May be NULL , in which case CoolType will only associate CMaps present in common fonts directory with the system font set. |
char * * pluginDirList ; |
An array of plug-in directories.
If a PDF Library client wants PDFL to load headless PDF Library plug-ins from desired locations, the client can pass a list of paths in
Clients can pass an array of plug-in directories in the field
|
Specifies the number of directories listed in
colorProfileDirList . | |
char * * colorProfileDirList ; |
An array of color profile directories.
If a PDF Library client wants to search for color profiles from custom directories, the client can pass a list of paths in
If the client does not set this parameter then PDF Library will search for the color profiles from default locations such as Creative Suites and Acrobat installation directories. If the clients sets this parameter then PDF Library will search for the color profiles from it's default directory as well as from the custom directories specified by the client through parameter
|
No longer used, deprecated.
| |
|
| |
|
| |
Called when the PDF Library needs to allocate memory.
| |
Called when the PDF Library needs to reallocate a block of memory.
| |
Called when the PDF Library needs to free a block of memory.
| |
Called when the PDF Library needs to determine the amount of memory available.
| |
void * clientData ; | A pointer to data to pass into each of the memory management callbacks.
|
|
| |
Called when the PDF Library needs to allocate memory.
| |
Called when the PDF Library needs to reallocate a block of memory.
| |
void * clientData ; | A
void * of data to pass into each of the memory management callbacks. |
|
| |
Called when the PDF Library needs to acquire resources.
| |
Called when the PDF Library needs to release resources.
| |
void * clientData ; | A pointer to data to pass into every call to the PMSetTextProc() or TKResourceReleaseProc() as the
clientData argument. |
|
Gets the number of ASAtom objects that have been allocated. The maximum number of ASAtom objects is 0xFFFFFFFF
. (This was a 16-bit value in Acrobat 4.x, and changed to a 32-bit value in Acrobat 5.0).
ASAtom objects cannot be deleted or freed. Use this method to determine if it is necessary to re-initialize the library before creating more ASAtom objects.
ASInt32
ASAtomGetCount(
void
);
Attempts to free memory from the PDF Library caches.
The caches in the PDF Library can grow in complex and unexpected ways. A client can manage memory use with the PDFLInit memory callbacks, or by explicitly calling this function after certain functions, such as PDDocClose().
To manage memory use with the memory callbacks, a client can call ASPurgeMemory() during the allocation callback if it is low on memory, or to limit the amount of memory used by the library. Use this approach only with extreme caution and extensive testing. The run-time memory requirements are very document-specific.
ASSize_t
ASPurgeMemory(
ASSize_t
amount
);
amount | The desired amount of memory to free.
|
void
AVExtensionMgrRegisterNotification(
NSelector
nsel
,
ASExtension
owner
,
void
*
proc
,
void
*
clientData
);
nsel | Notification type. It must be one of the notification selectors. The notification selector is the name of the notification with the characters
NSEL appended. For example, the selector for PDDocDidPrintPage() is PDDocDidPrintPageNSEL . Only the PD-level notifications are available with the Adobe PDF Library. |
owner | Identifies the owner. For the Adobe PDF Library, if there is only one owner of the PDFEdit subsystem,
owner should be zero. If there are multiple owners, each should specify a nonzero, non-negative owner. (A negative owner is reserved for the implementation). |
proc | A user-supplied callback to be called when the notification occurs. Its declaration depends on the notification type.
|
clientData | A pointer to user-supplied data to pass to
proc each time it is called. |
void
AVExtensionMgrUnregisterNotification(
NSelector
nsel
,
ASExtension
owner
,
void
*
proc
,
void
*
clientData
);
nsel | Notification type. It must be one of the notification selectors. The notification selector is the name of the notification with the characters
NSEL appended. For example, the selector for PDDocDidOpen() is PDDocDidOpenNSEL . |
owner | Identifies the owner with which the notification was registered.
|
proc | A user-supplied callback with which the notification was registered.
|
clientData | A pointer to user-supplied data that was used when the notification was registered.
|
void
CosSetExternalFilePermissionProc(
ExternalFilePermissionProc
proc
);
Gets the flags set when the PDF Library was initialized. Currently kPDFLInitIgnoreDefaultDirectories
, kPDFLInitIgnoreSystemFonts
and kDontLoadPlugIns
flags are supported.
When kPDFLInitIgnoreDefaultDirectories
flag is set, the initialization process does not search through the default font directories (currently Adobe font directories installed by some Adobe applications), but only searches for fonts in those directories specified in dirList
. A default directory could appear as follows:
C:\\Program Files\\Common Files\\Adobe\\PDFL\\[ version number ]\\Fonts
C:\\Program Files\\Common Files\\Adobe\\PDFL\\[ version number ]\\CMaps
When kPDFLInitIgnoreSystemFonts
flag is set, the initialization process does not search through default System fonts also.
When the kDontLoadPlugIns
flag is set, plug-ins are ignored during initialization process.
ASUns32
PDFLGetFlags(
void
);
ASUns32
PDFLGetInitCount(
void
);
Note: Obsolete in PDF Library 6.0. Use HFTGetVersion() instead.
ASUns32
PDFLGetVersion(
void
);
void
PDFLTerm(
void
);
void
PDFLibraryRegisterNotification(
NSelector
nsel
,
ASExtension
owner
,
void
*
proc
,
void
*
clientData
);
nsel | Notification type. It must be one of the notification selectors. The notification selector is the name of the notification with the characters
NSEL appended. For example, the selector for PDDocDidPrintPage() is PDDocDidPrintPageNSEL . Only the PD-level notifications are available with the Adobe PDF Library. |
owner | Identifies the owner. For the Adobe PDF Library, if there is only one owner of the PDFEdit subsystem,
owner should be zero. If there are multiple owners, each should specify a nonzero, non-negative owner. (A negative owner is reserved for the implementation). |
proc | A user-supplied callback to be called when the notification occurs. Its declaration depends on the notification type.
|
clientData | A pointer to user-supplied data to pass to
proc each time it is called. |
Registers a user-supplied procedure to call when the specified event occurs.
Many notifications appear in Will/Did pairs (for example, AVDocWillPerformAction() and AVDocDidPerformAction()). It is possible that an operation may fail after the Will notification and before the Did notification. When this occurs, the Did notification is still broadcast, but the err
parameter in the Did notification is nonzero, and represents the error that occurred. When err
is nonzero, the other parameters are not necessarily valid. Always check err
in a Did notification before using the other parameters.
When calling AVAppUnregisterNotification() to un-register for a notification, you must pass the proc
, clientData
, and owner
that were used when the notification was registered using AVAppRegisterNotification(). You must use the same callback that was used to register; you cannot use a newly created callback. To accomplish this, call ASCallbackCreateNotification() once before registering, and use the value returned from this call both to register and un-register; do not call ASCallbackCreateNotification() a second time when un-registering. You will then need to destroy the pointer to the callback using the ASCallbackDestroy() method.
void
PDFLibraryRegisterNotificationEx(
NSelector
nsel
,
ASExtension
owner
,
void
*
proc
,
void
*
clientData
,
ASInt32
priority
);
nsel | The notification type. It must be one of the notification selectors. The notification selector is the name of the notification with the characters
NSEL appended. For example, the selector for AVDocDidOpen() is AVDocDidOpenNSEL . |
owner | The gExtensionID of the client registering the notification.
|
proc | A user-supplied callback to call when the notification occurs. Its declaration depends on the notification type. Remember to use ASCallbackCreateNotification() to convert
proc to a callback before passing it to AVAppRegisterNotification(). |
clientData | A pointer to user-supplied data to pass to
proc each time it is called. |
priority | The callbacks are enumerated in priority order, starting with the highest priority.
|
CryptGenRandom()
on Windows, and /dev/random
on Mac OS and many UNIX operating systems). This method allows an alternate handler to be used. The random numbers returned should be of high quality, and it is the responsibility of the developer to ensure this. A NULL
parameter will reset to default behavior. void
PDFLibraryRegisterRNG(
PDFLClientRNGProc
clientRNG
);
clientRNG | A client-supplied function that supplies the strong random values.
|
void
PDFLibraryUnregisterNotification(
NSelector
nsel
,
ASExtension
owner
,
void
*
proc
,
void
*
clientData
);
nsel | Notification type. It must be one of the notification selectors. The notification selector is the name of the notification with the characters
NSEL appended. For example, the selector for PDDocDidOpen() is PDDocDidOpenNSEL . |
owner | Identifies the owner. For the PDF Library, if there is only one owner of the PDFEdit subsystem,
owner should be zero. If there are multiple owners, each should specify a nonzero, non-negative owner. (A negative owner is reserved for the implementation). |
proc | A user-supplied callback to be called when the notification occurs. Its declaration depends on the notification type. You must use the same callback that you called AVExtensionMgrRegisterNotification() with.
|
clientData | A pointer to user-supplied data to pass to
proc each time it is called. |
void
PDOCRegisterFindOutAutoStatePrefProc(
PDOCFindOutAutoStatePrefProc
proc
);
void
PDOCRegisterFindOutLanguageProc(
PDOCFindOutLanguageProc
proc
);
void
PDOCRegisterFindOutUserProc(
PDOCFindOutUserProc
proc
);
void
PDOCRegisterFindOutZoomProc(
PDOCFindOutZoomProc
proc
);