/Sources/sdk/sccerr.h
C Header | 442 lines | 288 code | 46 blank | 108 comment | 0 complexity | ace0fac1f627963348f281db18706a76 MD5 | raw file
1/* Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. */ 2 3 /* 4 | Outside In Viewer Technology - Include 5 | 6 | Include: SCCERR.H 7 | Environment: Portable 8 | Function: Unified error codes for 9 | Outside In Viewer Technology Specification 4.0 10 | 11 */ 12 13 14#ifndef USE_SCCERR_2 15 16#ifndef _SCCERR_H 17#define _SCCERR_H 18 19#ifdef __cplusplus 20extern "C" 21{ 22#endif 23 24#define SCCERR_USEROFFSET 0x00000100 25 26 27/****************************************************** 28| NOTICE! 29| DO NOT renumber the errors below! 30| 31|******************************************************/ 32 33 34/* 35| G E N E R A L E R R O R S 36*/ 37#define SCCERR_OK 0 /* No error */ 38#define SCCERR_UNKNOWN 18 /* An unknown error has occurred */ 39#define SCCERR_LEG_UNKNOWNFAILURE 8 /* An unknown error has occurred */ 40#define SCCERR_BADPARAM 15 /* One or more of the passed in parameters is invalid */ 41#define SCCERR_ABORT 32 /* User aborted or exception trapped */ 42#define SCCERR_CANCEL 20 /* User cancelled */ 43#define SCCERR_NOINIT 21 /* Module has not yet been initialized */ 44#define SCCERR_MACINITFAILED 28 /* SCCVW_MACINIT message process failed */ 45#define SCCERR_MESSAGEHANDLED 24 46#define SCCERR_NOITEM 37 47#define SCCERR_NONEFOUND 25 /* The requested item could not be found */ 48#define SCCERR_MORE 35 49#define SCCERR_NOTHANDLED 50 /* The callback function was not handled or does not exist */ 50#define SCCERR_SYSTEM 0x080 /* Operating system generated error */ 51#define SCCERR_PROCCREATE 0x081 /* Process creation error */ 52#define SCCERR_PROCDESTROY 0x082 /* Process destruction error */ 53#define SCCERR_PROCTIMEOUT 0x083 /* Process exceeded its allotted run time. */ 54#define SCCERR_ASSERTIONFAILED 0x084 /* Assertion failure */ 55#define SCCERR_DEBUGERROR 0x085 /* Generated by UTDEBUGERROR macro */ 56#define SCCERR_NOCHANGE 0x086 /* No changes were made */ 57#define SCCERR_DISPLAYOPENFAILED 0x087 /* Failed to open display (XOpenDisplay failed) */ 58#define SCCERR_WRONGDATAFORMAT 0x088 /* Data sent was recognized, but in an unexpected format */ 59#define SCCERR_INDEXOUTOFBOUNDS 0x089 /* Specified index is outside the legal range */ 60#define SCCERR_PROCESSDESTROY 0x090 /* Error destroying a process */ 61#define SCCERR_WOULDBLOCK 0x091 /* Satisfying the call would require blocking the thread */ 62 63/* 64| M E M O R Y E R R O R S 65*/ 66#define SCCERR_ALLOCFAILED 13 /* Not enough memory for an allocation */ 67#define SCCERR_OUTOFMEMORY 30 /* Insufficient memory to perform the operation */ 68#define SCCERR_INSUFFICIENTBUFFER 46 /* The provided buffer is not large enough to contain the result */ 69#define SCCERR_MEMORYLEAK 48 /* A memory leak was detected */ 70#define SCCERR_MEMTABLEFULL 0x100 71#define SCCERR_INVALIDHANDLE 0x101 72#define SCCERR_NULLHANDLE 0x102 73#define SCCERR_LOCKEDHANDLE 0x103 74#define SCCERR_UNLOCKEDHANDLE 0x104 75#define SCCERR_NULLPOINTER 0x105 76 77/* 78| F I L E E R R O R S 79*/ 80 81#define SCCERR_FILEOPENFAILED 7 /* The file could not be opened */ 82#define SCCERR_BADFILE 9 /* The file is corrupt */ 83#define SCCERR_EMPTYFILE 10 /* The file is empty */ 84#define SCCERR_PROTECTEDFILE 11 /* The file is password protected or encrypted */ 85#define SCCERR_SUPFILEOPENFAILED 12 /* The filter could not open additional files needed to view */ 86#define SCCERR_NOFILE 16 /* No file is currently open */ 87#define SCCERR_EOF 31 /* Unexpected EOF in file */ 88#define SCCERR_FILECREATE 34 /* Error while creating file */ 89#define SCCERR_FILECHANGED 38 /* File has changed unexpectedly */ 90#define SCCERR_FILEWRITEFAILED 47 /* Error writing to file */ 91#define SCCERR_DRMFILE 49 /* The file is protected by DRM tools. */ 92 93 94#define SCCERR_INVALIDFILEHANDLE 0x140 /* File handle is invalid */ 95#define SCCERR_OPENINPUTFAILED 0x141 96#define SCCERR_FILECOPYFAILED 0x142 97#define SCCERR_FILENOTAVAILABLE 0x143 98#define SCCERR_RECORDDELETED 0x144 /* The requested record has been deleted */ 99#define SCCERR_INVALIDPATH 0x145 /* The specified path does not exist */ 100#define SCCERR_INVALIDSPEC 0x146 /* The specified spec is not valid. */ 101#define SCCERR_BADINFOID 0x147 /* dwInfoID parameter to IOGetInfo() was invalid */ 102#define SCCERR_SEEKOUTOFRANGE 0x148 103#define SCCERR_BADFILENAME 0x149 /* Processing of archive file entry has resulted in a file whose full name exceeds OS limits. */ 104#define SCCERR_EXTERNALURLREFERENCE 0x150 /* The locator refers to an external URL that can not be accessed */ 105#define SCCERR_FILESIZE 0x151 /* File size exceeds the maximum size that can be processed */ 106#define SCCERR_LINKTOFILE 0x152 /* The object links to file and can not be extract from the file */ 107#define SCCERR_NOTARCHIVEFILE 0x153 /* The file is not archive file and can not be opened when the archive only mode is set */ 108#define SCCERR_NOTSUPPORTEDARCHIVEFILE 0x154 /* The file is not supported archive file and can not be opened when the archive only mode is set */ 109#define SCCERR_INVALIDHDOC 0x155 /* The hDoc created as the archive only mode and can not be used in the function */ 110 111/* 112| F I L E I D E R R O R S 113*/ 114#define SCCERR_INVALIDID 1 /* The passed or generated file ID is invalid */ 115#define SCCERR_UNSUPPORTEDFORMAT 14 /* The file is in an unsupported format */ 116/* Continue at 0x180 */ 117 118/* 119| F I L T E R E R R O R S 120*/ 121#define SCCERR_NOFILTER 4 /* No filter available for this file type */ 122#define SCCERR_FILTERLOADFAILED 2 /* The filter DLL for this file type could not be loaded. */ 123 /* This error sometimes appears if the filter was */ 124 /* accidentally built in debug mode and the target machine does */ 125 /* not have MSVCRTD.DLL. */ 126#define SCCERR_FILTERALLOCFAILED 3 /* The filter DLL could not allocate enough memory */ 127#define SCCERR_FILTERTIMEOUT 27 /* Filter timed out */ 128#define SCCERR_FILTEREXCEPTACCESS 39 /* Exception in filter: access violation */ 129#define SCCERR_FILTEREXCEPTZERO 40 /* Exception in filter: divide by zero */ 130#define SCCERR_FILTEREXCEPTOTHER 41 /* Exception in filter: other exception */ 131#define SCCERR_FILTERSCRAMBLEERROR 42 /* Filter failed scramble test */ 132#define SCCERR_FILTERTILEMAXEXCEEDED 43 /* Bitmap tile size exceeded maximum */ 133#define SCCERR_PROTOCOLMISMATCH 0x1C0 /* Protocol mismatch between adjacent pipeline components */ 134#define SCCERR_FORMATMISMATCH 0x1C1 /* Format mismatch between adjacent pipeline components */ 135#define SCCERR_ACTIVECOMPONENT 0x1C2 /* Last component in pipeline is not active */ 136#define SCCERR_ENDOFSECTION 0x1C3 /* Returned by passive components at the end of a section */ 137#define SCCERR_ENDOFDOCUMENT 0x1C4 /* Returned by passive components at the end of the document */ 138#define SCCERR_NOHTMLEXPORTFILTER 0x1C5 /* No export filter available to translate to html. */ 139#define SCCERR_NOGRAPHICEXPORTFILTER 0x1C6 /* No export filter available to translate to selected graphic type. */ 140#define SCCERR_OCRMISSING 0x1C7 /* Either the OCR bridge module or the OCR engine is missing. */ 141#define SCCERR_STREAMOPENFAILED 0x1C8 /* FAERR_STREAMOPENFAILED */ 142#define SCCERR_FAINITFAILED 0x1C9 /* FAERR_INITFAILED */ 143#define SCCERR_FANOMORE 0x1CA /* FAERR_NOMORE */ 144#define SCCERR_FAREBUILD 0x1CB /* FAERR_REBUILD */ 145 146/* 147| D I S P L A Y E N G I N E E R R O R S 148*/ 149#define SCCERR_NODISPLAYENGINE 19 /* A display engine is not available for this file type */ 150#define SCCERR_DISPLAYINITFAILED 5 /* The display window could not be initialized */ 151#define SCCERR_NODATATORENDER 51 /* No data to render - used by MULTIMEDIA display engine */ 152 153/* Continue at 0x200 */ 154 155/* 156| C H U N K E R E R R O R S 157*/ 158#define SCCERR_CHUNKERINITFAILED 6 /* The chunker (SCCCH.DLL) could not be initialized */ 159#define SCCERR_DATANOTAVAILABLE 45 /* The requested data is not yet available */ 160#define SCCERR_XCHSEQUENTIALACCESSVIOLATION 0x240 /* An expired data point has been requested in a */ 161 /* sequential access situation */ 162 163#define SCCERR_CHUNKERFAILURE 0x241 /* any of a number of errors which are currently being called */ 164 /* "Out Of Memory" */ 165/* Continue at 0x242 */ 166 167/* 168| V I E W E R E R R O R S 169*/ 170#define SCCERR_VIEWERBAIL 36 /* Viewer bailed out */ 171/* Continue at 0x280 */ 172 173/* 174| C H A R M A P E R R O R S 175*/ 176#define SCCERR_CHARMAPFAILED 33 /* Character mapping routines failed */ 177/* Continue at 0x2C0 */ 178 179/* 180| P R I N T I N G E R R O R S 181*/ 182#define SCCERR_LASTPAGE 22 /* Page just drawn is the last in the file */ 183#define SCCERR_NOPAGE 23 /* Requested page doesn't exist or isn't yet available */ 184#define SCCERR_OTHERPRINTING 29 /* Another print process is already in progress */ 185/* Continue at 0x300 */ 186 187/* 188| F E A T U R E E R R O R S 189*/ 190#define SCCERR_FEATURENOTAVAIL 17 /* This feature is not supported in this build */ 191#define SCCERR_RAWTEXTDISABLED 26 192#define SCCERR_UNSUPPORTEDCOMPRESSION 270 /* encountered "unlicensed" LZW or JPG compression */ 193/* Continue at 0x340 */ 194 195/* 196| R F A E R R O R S 197*/ 198#define SCCERR_DATAREMOTEERROR 44 /* RFA remote data error */ 199 200/* Continue at 0x380 */ 201 202/* 203| E X C E P T I O N S 204*/ 205#define SCCERR_EXCEPTION 0x3C0 /* An exception has occurred */ 206#define SCCERR_EXCEPT_ACCESS_VIOLATION 0x3C1 /* Access violation */ 207#define SCCERR_EXCEPT_BREAKPOINT 0x3C2 /* Breakpoint encountered */ 208#define SCCERR_EXCEPT_DATATYPE_MISALIGNMENT 0x3C3 /* Data misalignment */ 209#define SCCERR_EXCEPT_SINGLE_STEP 0x3C4 /* Trace trap single step indicated */ 210#define SCCERR_EXCEPT_ARRAY_BOUNDS_EXCEEDED 0x3C5 /* Out of bounds array element referenced */ 211#define SCCERR_EXCEPT_FLT_DENORMAL_OPERAND 0x3C6 /* Floating point value is denormal */ 212#define SCCERR_EXCEPT_FLT_DIVIDE_BY_ZERO 0x3C7 /* Floating point divide by zero */ 213#define SCCERR_EXCEPT_FLT_INEXACT_RESULT 0x3C8 /* Result cannot be represented as decimal fraction */ 214#define SCCERR_EXCEPT_FLT_INVALID_OPERATION 0x3C9 /* General floating point exception */ 215#define SCCERR_EXCEPT_FLT_OVERFLOW 0x3CA /* Floating point exponent overflow */ 216#define SCCERR_EXCEPT_FLT_STACK_CHECK 0x3CB /* Floating point stack underflow or overflow */ 217#define SCCERR_EXCEPT_FLT_UNDERFLOW 0x3CC /* Floating point exponent underflow */ 218#define SCCERR_EXCEPT_INT_DIVIDE_BY_ZERO 0x3CD /* Integer divide by zero */ 219#define SCCERR_EXCEPT_INT_OVERFLOW 0x3CE /* Integer overflow */ 220#define SCCERR_EXCEPT_PRIV_INSTRUCTION 0x3CF /* Priveleged instruction */ 221#define SCCERR_EXCEPT_NONCONTINUABLE 0x3D0 /* A noncontinuable exception has occurred */ 222#define SCCERR_EXCEPT_UNKNOWN 0x3D1 /* Unknown exception type */ 223 224#define SCCERR_STACK_BUFFER_OVERRUN 0x3D2 /* Stack Buffer Overrun detected */ 225 226/* 227| U T E X C E P T I O N S 228*/ 229#define SCCERR_GPFAULT 100 230#define SCCERR_DIVIDEBYZERO 101 231#define SCCERR_OTHEREXCEPTION 102 232 233 234/* 235| T E S T E R R O R S 236*/ 237#define SCCERR_TESTNOTAVAILABLE 0x400 /* The requested test is not available */ 238#define SCCERR_TESTTIMEOUT 0x401 /* The test timed out */ 239#define SCCERR_CREATEBINFAILED 0x402 /* Unable to create binary file */ 240#define SCCERR_OPENBINFAILED 0x403 /* Unable to open binary file */ 241#define SCCERR_WRITEBINFAILED 0x404 /* Unable to write to binary file */ 242#define SCCERR_READBINFAILED 0x405 /* Unable to read from binary file */ 243#define SCCERR_OPENDUMPFAILED 0x406 /* Unable to open dump file */ 244#define SCCERR_COMPAREFAILED 0x407 /* Chunker compare failed */ 245#define SCCERR_CHUNKERRUNMISMATCH 0x408 /* Chunkers had different run counts */ 246#define SCCERR_CHUNKERSIZEMISMATCH 0x409 /* Chunkers had different run sizes */ 247#define SCCERR_CHUNKERFAILED 0x40A /* Chunker failure */ 248#define SCCERR_CHUNKEROVERRUN 0x40B /* Chunker run count overflow */ 249#define SCCERR_COMPRESSIONFAILED 0x40C /* General Compression failure */ 250#define SCCERR_STREAMBAIL 0x40D /* General stream bailout */ 251#define SCCERR_MISSINGELEMENT 0x40E 252#define SCCERR_TESTCOMPLETE 0x40F /* Test is complete */ 253#define SCCERR_TESTMODESWITCH 0x410 254#define SCCERR_BASELINEFILENOTFOUND 0x411 /* A baseline file was not found for a compare file */ 255#define SCCERR_COMPAREFILENOTFOUND 0x412 /* A compare file was not found for a baseline file */ 256#define SCCERR_TECHNOTAVAILABLE 0x420 /* Technology is not available */ 257#define SCCERR_TESTFILESEMPTY 0x421 /* Both the baseline and compare files are empty */ 258 259/* 260| C O M M U N I C A T I O N S E R R O R S 261*/ 262#define SCCERR_INVALIDRESPONSE 0x500 /* Received an unexpected response */ 263#define SCCERR_COMMTIMEOUT 0x501 /* Communications timeout */ 264#define SCCERR_COMMUNKNOWN 0x502 /* General communications error */ 265#define SCCERR_CONNECTIONREFUSED 0x503 /* Connection refused */ 266#define SCCERR_COMMFAULT 0x504 /* Communications fault */ 267#define SCCERR_CONNECTIONDOWN 0x505 /* Host or network is down */ 268#define SCCERR_CONNECTIONUNREACHABLE 0x506 /* Host or network is unreachable */ 269#define SCCERR_DISCONNECTED 0x507 /* Unexpected disconnection */ 270#define SCCERR_SYNCHRONIZE 0x508 /* Synchronization error */ 271 272/* 273| H T M L E X P O R T E R R O R S 274| 275| [U] = unused 276*/ 277#define SCCERR_BI_FIRSTERROR 0x600 /* First HX error code */ 278#define SCCERR_BI_GENERAL 0x600 /* General error has occured [U] */ 279#define SCCERR_BI_TREE 0x601 /* Element specified does not conform to the parse tree structure */ 280#define SCCERR_BI_INVALID_VAL 0x602 /* an integer or current/next/previous token was expected */ 281#define SCCERR_BI_NONE 0x603 /* no error [U] */ 282#define SCCERR_BI_ENDMACRO 0x604 /* {## /xx} tag not found */ 283#define SCCERR_BI_ENDBARNEY 0x604 284#define SCCERR_BI_START 0x605 /* start brace "{" expected and not found [U] */ 285#define SCCERR_BI_LT 0x605 286#define SCCERR_BI_EQ 0x606 /* equal sign "=" expected and not found */ 287#define SCCERR_BI_END 0x607 /* end brace "}" expected and not found */ 288#define SCCERR_BI_GT 0x607 289#define SCCERR_BI_ACTION 0x608 /* Error parsing "ACTION = "statements [U] */ 290#define SCCERR_BI_SECTION 0x609 /* section not found */ 291#define SCCERR_BI_BARNEY 0x609 292#define SCCERR_BI_ELEMENT 0x60A /* Error parsing "ELEMENT = " statement */ 293#define SCCERR_BI_LINK 0x60B /* Error parsing "LINK = " statement [U] */ 294#define SCCERR_BI_TAG 0x60C /* Error parsing "TAG = " statement [U] */ 295#define SCCERR_BI_TEMPLATE 0x60D /* Error parsing "TEMPLATE = " statement */ 296#define SCCERR_BI_TYPE 0x60E /* Error parsing "TYPE = " statement */ 297#define SCCERR_BI_TYPENAME 0x60F /* Error parsing "NAME = " statement [U] */ 298#define SCCERR_BI_DEFINE 0x610 /* Error parsing "ACTION = DEFINE" statement [U] */ 299#define SCCERR_BI_DOCUMENT 0x611 /* Error in document data */ 300#define SCCERR_BI_GENLINK 0x612 /* Error parsing GENLINK statement */ 301#define SCCERR_BI_INSERT 0x613 /* Error parsing INSERT statement */ 302#define SCCERR_BI_REPEAT 0x614 /* Error parsing REPEAT statement */ 303#define SCCERR_BI_CHKTRAN 0x615 /* Error in tree transition Element [U] */ 304#define SCCERR_BI_ALLOC 0x616 /* Error in allocating memory in MiscBuffer [U] */ 305#define SCCERR_BI_INVALIDCMD 0x617 /* Error - invalid command [U] */ 306#define SCCERR_BI_INVALIDERRNUM 0x618 /* Invalid error number [U] */ 307#define SCCERR_BI_HANDLEELEM 0x619 /* Error in converting document element [U] */ 308#define SCCERR_BI_ASISOUTTEXT 0x61A /* Error writing normal text from input file to an output file [U] */ 309#define SCCERR_BI_OUTTEXT 0x61B /* Error writing parser-generated HTML text to an output file [U] */ 310#define SCCERR_BI_NOTEMPLATE 0x61C /* Error opening template file */ 311#define SCCERR_BI_OUTFILEFAIL 0x61D /* Error opening output file [U] */ 312#define SCCERR_NOENDREPEAT 0x61E /* No {## /repeat} tag found */ 313#define SCCERR_NOENDIF 0x61F /* No {## /if} tag found */ 314#define SCCERR_NOENDIGNORE 0x620 /* No {## /ignore} tag found */ 315#define SCCERR_NONREPEAT 0x621 /* Element specified in repeat is non-repeatable element */ 316#define SCCERR_REPEATENDONINDEX 0x622 /* Repeat element ended on the index [U] */ 317#define SCCERR_IFENDONINDEX 0x623 /* If element ended on the index [U] */ 318#define SCCERR_INSERTENDONINDEX 0x624 /* Insert element ended on the index [U] */ 319#define SCCERR_NOELEMENT 0x625 /* No element was given */ 320#define SCCERR_INVALIDTAG 0x626 /* Invalid ## tag [U] */ 321#define SCCERR_NOSTARTMACRO 0x627 /* End {## /..} with no corresponding start {## ..} */ 322#define SCCERR_NOSTARTTAG 0x627 323#define SCCERR_INVALIDTYPE 0x628 /* Document type given is not valid */ 324#define SCCERR_NOVALUE 0x629 /* No value given for sections.x.type */ 325#define SCCERR_NOCONDITION 0x62A /* No condition given or missing '}' */ 326#define SCCERR_INVALIDLINKPARAM 0x62B /* Invalid parameter in ## link macro */ 327#define SCCERR_NOLINKPARAM 0x62C /* Missing all parameters to link macro */ 328#define SCCERR_BADCOUNTORVALUE 0x62D /* Count or Value element can only be followed by '}' */ 329#define SCCERR_INVALIDELSE 0x62E /* {## else} not preceded by {## if...} */ 330#define SCCERR_INVALIDCOND 0x62F /* Invalid parameter in if condition */ 331#define SCCERR_TEMPLATECREATE 0x630 /* The creation of the default template failed. */ 332#define SCCERR_MAXELEMSPASSED 0x631 /* The element exceeded the maximum allowable number of elements */ 333#define SCCERR_NOTYPE 0x632 /* No type was given for sections.x.type */ 334#define SCCERR_CUSTOMELEMENT 0x633 /* The element is a custom element. Basically, this is a flag. */ 335#define SCCERR_INVALIDELSEIF 0x634 /* {## elseif} not preceded by {## if...} */ 336#define SCCERR_BI_CSSPRAGMA 0x635 /* Pragma.CSSFile required and not present */ 337#define SCCERR_BI_ANCHOR 0x636 /* Invalid anchor value */ 338#define SCCERR_BI_LABEL 0x637 /* Invalid label value */ 339#define SCCERR_BI_DECKSIZEEXCEEDED 0x638 /* Template-generated text exceeds the deck size */ 340#define SCCERR_BI_UNSUPPORTEDMACRO 0x639 /* Macro not supported in this HTML flavor */ 341#define SCCERR_INTERNALEXPORTFILTER 0x63A /* Internal Export Filter Error */ 342#define SCCERR_TEMPLATEPARSE 0x63B /* Error parsing the template */ 343#define SCCERR_OUTPUTFILE 0x63C /* Error generating output file */ 344#define SCCERR_INTERNALELEMENT 0x63D /* Internal element tree error */ 345#define SCCERR_INTERNALPREVIEW 0x63E /* Internal preview document error */ 346#define SCCERR_INTERNALPROCESS 0x63F /* Internal process document error */ 347#define SCCERR_TRUNCATIONLIMITREACHED 0x640 /* Non-fatal error: we've reached the insertion truncation limit */ 348#define SCCERR_NONBREAKINGREPEAT 0x641 /* {## repeat} statement found in unit header or footer */ 349#define SCCERR_NONBREAKINGTEMPLATE 0x642 /* this template cannot be used with a nonzero deck size */ 350#define SCCERR_INVALIDATTRIBUTE 0x643 /* invalid attribute */ 351#define SCCERR_INVALIDATTRIBVALUE 0x644 /* invalid or missing attribute value */ 352#define SCCERR_MALFORMEDUNIT 0x645 /* malformed unit - check for matching header and footer tags */ 353#define SCCERR_TEXTBUFFERTOOSMALL 0x646 /* Text buffer size is too small */ 354#define SCCERR_BUFFERTOOSMALLFORGRAPHICS 0x647 /* Buffer size is too small to export graphics */ 355#define SCCERR_INTERNALEXMU 0x648 /* Internal export memory utility error */ 356#define SCCERR_INTERNALEXLM 0x649 /* Internal export list management error */ 357#define SCCERR_INTERNALPARA 0x64A /* Internal export para error */ 358#define SCCERR_INTERNALSTYLE 0x64B /* Internal export style error */ 359#define SCCERR_INTERNALTABLE 0x64C /* Internal export table error */ 360#define SCCERR_INTERNALTAGS 0x64D /* Internal export tags error */ 361#define SCCERR_INTERNALGRAPHICS 0x64E /* Internal export graphics error */ 362#define SCCERR_GRIDCELLLIMITREACHED 0x64F /* Non-fatal error: we've reached the grid cell truncation limit */ 363#define SCCERR_INTERNALTAGID 0x650 /* Internal export tag id error */ 364#define SCCERR_INTERNALLOCATIONID 0x651 /* Internal export object locator Id error */ 365#define SCCERR_INTERNALSSCELL 0x652 /* Internal export spreadsheet cell error */ 366#define SCCERR_INTERNALEMPTYSHEET 0x653 /* Internal export spreadsheet error */ 367#define SCCERR_INTERNALDOCUMENT 0x654 /* Internal document tree error */ 368#define SCCERR_SECTNODATA 0x655 /* Section no data error */ 369#define SCCERR_BI_LASTERROR 0x655 /* Last HX error code */ 370 371/* 372| I M A G E E X P O R T E R R O R S 373| 374| 375*/ 376#define SCCERR_STARTPAGEERROR 0x700 /* The start page value is larger than the number of pages in the document */ 377#define SCCERR_ENDPAGEERROR 0x701 /* The start page value is larger than the end page value */ 378#define SCCERR_WATERMARKWILLNOTFITTARGET 0x702 379#define SCCERR_WATERMARKTYPENOTSUPPORTED 0x703 380 381/* 382| 383| X T R E E E R R O R S 384| 385*/ 386#define SCCERR_NODERELEASED 0x800 /* Node is already released and may not be accessed */ 387#define SCCERR_NODEATTACHED 0x801 /* Node is already attached to a parent - can't attach again */ 388#define SCCERR_NODENOTATTACHED 0x802 /* Node is not yet attached to a parent */ 389#define SCCERR_ALLCHILDRENATTACHED 0x803 /* No more children may be attached to the node */ 390#define SCCERR_NODEATTRIBUTESDONE 0x804 /* Attributes may not be changed */ 391#define SCCERR_DUPLICATEID 0x805 /* Attempted to create a new ID with the same string value as an existing ID */ 392#define SCCERR_IDASSIGNED 0x806 /* Attempted to change the ID string of a node */ 393#define SCCERR_NODEATTRIBUTESNOTDONE 0x807 /* Attributes may not be accessed by the consumer */ 394#define SCCERR_DIFFERENTTREE 0x808 /* The node is from a different tree */ 395 396/* 397| 398| D Y N A M I C L O A D L I B R A R Y E R R O R S 399| 400*/ 401#define SCCERR_ANNOLOAD 0xA00 402#define SCCERR_ANNOFUNCTION 0xA01 403 404/* 405| Character set map bin file error 406*/ 407#define SCCERR_NOCHARSETMAPBINFILE 0x900 408 409 410/* 411| Win32V/Output Solution Errors 412*/ 413#define SCCERR_NOGDFONTS 0xB00 414#define SCCERR_OUTPUTSOLUTIONLOADFAILED 0xB01 415#define SCCERR_INVALIDFONTDIR 0x0B02 416#define SCCERR_NOVALIDFONTS 0x0B03 417 418/* 419| OCR Export Errors 420*/ 421#define SCCERR_OCR_UNKNOWNERR 0xC00 422#define SCCERR_OCR_LICENCEFAIL 0xC01 423#define SCCERR_OCR_INVALIDTECH 0xC02 424#define SCCERR_OCR_INVALIDQUAL 0xC03 425#define SCCERR_OCR_LOADFAILED 0xC04 426#define SCCERR_OCR_INPUTFAILURE 0xC05 427#define SCCERR_OCR_FILETOOBIG 0xC06 428 429/* 430| File Access Errors 431*/ 432#define SCCERR_BADCREDENTIALS 0xd00 /* bad credentials supplied for access to file contents */ 433 434typedef VTDWORD SCCERR; 435 436#ifdef __cplusplus 437} 438#endif 439 440#endif /* _SCCERR_H */ 441 442#endif /* USE_SCCERR_2 */