home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / vbasic / DATA / Utility / content.exe / LITGenComponent / litgen_msgcodes.h < prev    next >
Text File  |  2000-10-02  |  6KB  |  129 lines

  1. // Message codes are all four digits.  The first digit indicates the major class of the
  2. // message.  The META, CONTENT, and CSS classes are messages that should probably be shown
  3. // to the end-user.  The INT (internal) class should be useful only to tech support people
  4. // ("no user-serviceable parts inside"); they are all things that theoretically can't happen,
  5. // or can only happen under resource exhaustion (in which case you'll get E_OUTOFMEMORY back
  6. // too).  The MISC class should be handled on a message-by-message basis.
  7. //
  8. // The second digit digit will be 5 or above for errors, or a "warning level" for warnings
  9. // (1 being most severe and 4 being least severe).
  10.  
  11. #define LITGEN_WARN_META_UNKNOWN_TAG         1101
  12. #define LITGEN_WARN_META_UNKNOWN_ATTR        1102
  13. #define LITGEN_WARN_META_UNKNOWN_MIME_TYPE   1103
  14. #define LITGEN_WARN_META_UNKNOWN_FILE        1104
  15. #define LITGEN_WARN_META_FALLBACK_NOTSUP     1105
  16. #define LITGEN_WARN_META_RAPIER_FIND         1106
  17. #define LITGEN_WARN_META_MISSING_FILEAS      1201
  18. #define LITGEN_WARN_META_NONPORTABLE_IMAGE   1202
  19. #define LITGEN_WARN_META_INCORRECT_CHILDREN  1203
  20. #define LITGEN_WARN_META_MORE_CHILDREN_FOUND 1204
  21. #define LITGEN_WARN_META_TEXT_NOTALLOWED     1205
  22. #define LITGEN_WARN_META_ATTR_MISSING        1206
  23. #define LITGEN_WARN_META_UNIQUE_ATTR_MISSING 1207
  24. #define LITGEN_WARN_META_EMPTY_NOTALLOWED    1210
  25. #define LITGEN_WARN_META_TEXT_MISSING        1211
  26. #define LITGEN_WARN_META_TAG_MISPLACED       1212
  27. #define LITGEN_WARN_META_PACKAGE_INROOTONLY  1213
  28. #define LITGEN_WARN_META_ONLYPACKAGE_INROOT  1214
  29. #define LITGEN_WARN_META_MISSING_CHILDREN    1215
  30. #define LITGEN_WARN_META_WRONG_ATTRIBUTES    1216
  31. #define LITGEN_WARN_META_NONOEB_NOFALLBACK   1217
  32. #define LITGEN_WARN_META_XMLNS_OEBPACKAGE    1218
  33. #define LITGEN_WARN_META_XMLNS_DC            1219
  34.  
  35. #define LITGEN_ERR_META_BAD_TAG_NESTING      1501
  36. #define LITGEN_ERR_META_MISSING_CHILDREN     1502
  37. // 1503 was removed, but should be reserved.
  38. #define LITGEN_ERR_META_INVALID_SPINE_TYPE   1504
  39. #define LITGEN_ERR_META_ALREADY_IN_SPINE     1505
  40. #define LITGEN_ERR_META_NO_SPINE             1506
  41. #define LITGEN_ERR_META_NO_CONTENT_FILES     1507
  42. #define LITGEN_ERR_META_MISMATCHED_TAGS      1508
  43. #define LITGEN_ERR_META_UNCLOSED_TAGS        1509
  44. #define LITGEN_ERR_META_EMPTY_HREF           1510
  45. #define LITGEN_ERR_META_ATTR_MISSING         1511
  46. #define LITGEN_ERR_META_NONOEB_IN_SPINE      1512
  47. #define LITGEN_ERR_META_POUND_IN_ID          1513
  48. #define LITGEN_ERR_META_POUND_IN_FILENAME    1514
  49. #define LITGEN_ERR_META_DUPLICATE_ID         1515
  50. #define LITGEN_ERR_META_FIRSTPAGE_OUTOFSPINE 1516
  51. #define LITGEN_ERR_META_EXTERNAL_COVERIMAGE  1517
  52.  
  53. #define LITGEN_WARN_CONTENT_UNKNOWN_TAG               2101
  54. #define LITGEN_WARN_CONTENT_UNKNOWN_ATTR              2102
  55. #define LITGEN_WARN_CONTENT_UNKNOWN_FILE              2103
  56. #define LITGEN_WARN_CONTENT_STYLE_TOO_LATE            2104
  57. #define LITGEN_WARN_CONTENT_NOHREF_LINK_IGNORED       2201
  58. #define LITGEN_WARN_CONTENT_PAGEBREAK_OL              2202
  59. #define LITGEN_WARN_CONTENT_ANSI_ENCODING             2203
  60. #define LITGEN_WARN_CONTENT_NONOEB_LINK_IGNORED       2204
  61. #define LITGEN_WARN_CONTENT_LINK_TYPE_MISMATCH        2205
  62. #define LITGEN_WARN_CONTENT_NONSS_LINK_IGNORED        2206
  63. // 2207 was removed, but should be reserved.
  64. #define LITGEN_WARN_CONTENT_PAGEBREAK_NONVISIBLEBLOCK 2208
  65. #define LITGEN_WARN_CONTENT_NONOEB_STYLE_IGNORED      2209
  66. #define LITGEN_WARN_CONTENT_NONOEB_TAG                2210
  67. #define LITGEN_WARN_CONTENT_NONOEB_ATTR               2211
  68. #define LITGEN_WARN_CONTENT_NONOEB_STYLEATTR_IGNORED  2301
  69. #define LITGEN_WARN_CONTENT_NONOEB_CLASSATTR_IGNORED  2302
  70. #define LITGEN_WARN_CONTENT_NONOEB_LANGATTR_IGNORED   2303
  71.  
  72. #define LITGEN_ERR_CONTENT_WRONG_TYPE      2501
  73. #define LITGEN_ERR_CONTENT_MISMATCHED_TAGS 2502
  74. #define LITGEN_ERR_CONTENT_UNCLOSED_TAGS   2503
  75. #define LITGEN_ERR_CONTENT_PAGEBREAK_IN_TABLE 2504
  76.  
  77. #define LITGEN_WARN_CSS_UNBALANCED_BRACE   3101
  78. #define LITGEN_WARN_CSS_UNEXPECTED_TOKEN   3102
  79. #define LITGEN_WARN_CSS_UNEXPECTED_EOF     3103
  80. #define LITGEN_WARN_CSS_EMPTY_VALUE        3104
  81. // 3105 was removed, but should be reserved.
  82. #define LITGEN_WARN_CSS_NONOEB_PROPERTY    3106
  83.  
  84. // these are used only by the Rapier compatibility parser
  85. #define LITGEN_ERR_CSS_UNEXPECTED_EOF      3501
  86. #define LITGEN_ERR_CSS_UNEXPECTED_TOKEN    3502
  87. #define LITGEN_ERR_CSS_UNEXPECTED_VALUE    3503
  88. #define LITGEN_ERR_CSS_UNEXPECTED_IDENT    3504
  89. #define LITGEN_ERR_CSS_UNEXPECTED_CLASS    3505
  90. #define LITGEN_ERR_CSS_UNRECOGNIZED_TEXT   3506
  91. #define LITGEN_ERR_CSS_UNKNOWN_DIRECTIVE   3507
  92.  
  93. #define LITGEN_MSG_MISC_SUCCESS            4101
  94. #define LITGEN_MSG_MISC_PAGEBREAKS         4201
  95. #define LITGEN_ERR_MISC_OUTPUT_CORRUPT     4501
  96. // 4502-4504 were removed, but should be reserved.
  97. #define LITGEN_ERR_MISC_PATH_NOT_FOUND     4505
  98.  
  99. #define LITGEN_ERR_INT_ADD_MANIFEST_ITEM   5501
  100. #define LITGEN_ERR_INT_QUERY_ISTITEX_CONT  5502
  101. #define LITGEN_ERR_INT_QUERY_ISTITEX_ROOT  5503
  102. #define LITGEN_ERR_INT_QUERY_ISTITEX_DATA  5504
  103. #define LITGEN_ERR_INT_CREATE_CONTENT_STRM 5505
  104. #define LITGEN_ERR_INT_GET_STREAM_POS_TAG  5506
  105. #define LITGEN_ERR_INT_GET_STREAM_POS_PB   5507
  106. #define LITGEN_ERR_INT_GET_STREAM_SIZE     5508
  107. #define LITGEN_ERR_INT_GEN_ANCHOR_STREAMS  5509
  108. #define LITGEN_ERR_INT_LOG_ANCHOR_DEST     5510
  109. #define LITGEN_ERR_INT_CREATE_STREAM       5511
  110. #define LITGEN_ERR_INT_ITSTORAGE_FACTORY   5512
  111. #define LITGEN_ERR_INT_INSTANTIATE_ITSS    5513
  112. #define LITGEN_ERR_INT_ITSS_CONTROL_DATA   5514
  113. #define LITGEN_ERR_INT_CREATE_OUTPUT_FILE  5515
  114. #define LITGEN_ERR_INT_STAMP_CLSID         5516
  115. #define LITGEN_ERR_INT_CREATE_TMP_METASTRM 5517
  116. #define LITGEN_ERR_INT_GEN_SYMKEY          5518
  117. #define LITGEN_ERR_INT_CREATE_DATASPACE    5519
  118. #define LITGEN_ERR_INT_ATTACH_DRM          5520
  119. #define LITGEN_ERR_INT_CREATE_SUBSTORAGE   5521
  120. #define LITGEN_ERR_INT_SEAL                5522
  121. #define LITGEN_ERR_INT_COMPACT             5523
  122. #define LITGEN_ERR_INT_CREATE_IMAGE_STREAM 5524
  123. #define LITGEN_ERR_INT_CREATE_CSS_STREAM   5525
  124. #define LITGEN_ERR_INT_QUERY_ISEQSTREAM    5526
  125. #define LITGEN_ERR_INT_INSERT_STYLERULE    5527
  126. #define LITGEN_ERR_INT_INSERT_CSS_TAG      5528
  127. #define LITGEN_ERR_INT_INSERT_CSS_PROPERTY 5529
  128. #define LITGEN_ERR_INT_CSS_LEXER_ERROR     5530
  129.