/Sources/sdk/sccerr.h

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