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 >
Wrap
Text File
|
2000-10-02
|
6KB
|
129 lines
// Message codes are all four digits. The first digit indicates the major class of the
// message. The META, CONTENT, and CSS classes are messages that should probably be shown
// to the end-user. The INT (internal) class should be useful only to tech support people
// ("no user-serviceable parts inside"); they are all things that theoretically can't happen,
// or can only happen under resource exhaustion (in which case you'll get E_OUTOFMEMORY back
// too). The MISC class should be handled on a message-by-message basis.
//
// The second digit digit will be 5 or above for errors, or a "warning level" for warnings
// (1 being most severe and 4 being least severe).
#define LITGEN_WARN_META_UNKNOWN_TAG 1101
#define LITGEN_WARN_META_UNKNOWN_ATTR 1102
#define LITGEN_WARN_META_UNKNOWN_MIME_TYPE 1103
#define LITGEN_WARN_META_UNKNOWN_FILE 1104
#define LITGEN_WARN_META_FALLBACK_NOTSUP 1105
#define LITGEN_WARN_META_RAPIER_FIND 1106
#define LITGEN_WARN_META_MISSING_FILEAS 1201
#define LITGEN_WARN_META_NONPORTABLE_IMAGE 1202
#define LITGEN_WARN_META_INCORRECT_CHILDREN 1203
#define LITGEN_WARN_META_MORE_CHILDREN_FOUND 1204
#define LITGEN_WARN_META_TEXT_NOTALLOWED 1205
#define LITGEN_WARN_META_ATTR_MISSING 1206
#define LITGEN_WARN_META_UNIQUE_ATTR_MISSING 1207
#define LITGEN_WARN_META_EMPTY_NOTALLOWED 1210
#define LITGEN_WARN_META_TEXT_MISSING 1211
#define LITGEN_WARN_META_TAG_MISPLACED 1212
#define LITGEN_WARN_META_PACKAGE_INROOTONLY 1213
#define LITGEN_WARN_META_ONLYPACKAGE_INROOT 1214
#define LITGEN_WARN_META_MISSING_CHILDREN 1215
#define LITGEN_WARN_META_WRONG_ATTRIBUTES 1216
#define LITGEN_WARN_META_NONOEB_NOFALLBACK 1217
#define LITGEN_WARN_META_XMLNS_OEBPACKAGE 1218
#define LITGEN_WARN_META_XMLNS_DC 1219
#define LITGEN_ERR_META_BAD_TAG_NESTING 1501
#define LITGEN_ERR_META_MISSING_CHILDREN 1502
// 1503 was removed, but should be reserved.
#define LITGEN_ERR_META_INVALID_SPINE_TYPE 1504
#define LITGEN_ERR_META_ALREADY_IN_SPINE 1505
#define LITGEN_ERR_META_NO_SPINE 1506
#define LITGEN_ERR_META_NO_CONTENT_FILES 1507
#define LITGEN_ERR_META_MISMATCHED_TAGS 1508
#define LITGEN_ERR_META_UNCLOSED_TAGS 1509
#define LITGEN_ERR_META_EMPTY_HREF 1510
#define LITGEN_ERR_META_ATTR_MISSING 1511
#define LITGEN_ERR_META_NONOEB_IN_SPINE 1512
#define LITGEN_ERR_META_POUND_IN_ID 1513
#define LITGEN_ERR_META_POUND_IN_FILENAME 1514
#define LITGEN_ERR_META_DUPLICATE_ID 1515
#define LITGEN_ERR_META_FIRSTPAGE_OUTOFSPINE 1516
#define LITGEN_ERR_META_EXTERNAL_COVERIMAGE 1517
#define LITGEN_WARN_CONTENT_UNKNOWN_TAG 2101
#define LITGEN_WARN_CONTENT_UNKNOWN_ATTR 2102
#define LITGEN_WARN_CONTENT_UNKNOWN_FILE 2103
#define LITGEN_WARN_CONTENT_STYLE_TOO_LATE 2104
#define LITGEN_WARN_CONTENT_NOHREF_LINK_IGNORED 2201
#define LITGEN_WARN_CONTENT_PAGEBREAK_OL 2202
#define LITGEN_WARN_CONTENT_ANSI_ENCODING 2203
#define LITGEN_WARN_CONTENT_NONOEB_LINK_IGNORED 2204
#define LITGEN_WARN_CONTENT_LINK_TYPE_MISMATCH 2205
#define LITGEN_WARN_CONTENT_NONSS_LINK_IGNORED 2206
// 2207 was removed, but should be reserved.
#define LITGEN_WARN_CONTENT_PAGEBREAK_NONVISIBLEBLOCK 2208
#define LITGEN_WARN_CONTENT_NONOEB_STYLE_IGNORED 2209
#define LITGEN_WARN_CONTENT_NONOEB_TAG 2210
#define LITGEN_WARN_CONTENT_NONOEB_ATTR 2211
#define LITGEN_WARN_CONTENT_NONOEB_STYLEATTR_IGNORED 2301
#define LITGEN_WARN_CONTENT_NONOEB_CLASSATTR_IGNORED 2302
#define LITGEN_WARN_CONTENT_NONOEB_LANGATTR_IGNORED 2303
#define LITGEN_ERR_CONTENT_WRONG_TYPE 2501
#define LITGEN_ERR_CONTENT_MISMATCHED_TAGS 2502
#define LITGEN_ERR_CONTENT_UNCLOSED_TAGS 2503
#define LITGEN_ERR_CONTENT_PAGEBREAK_IN_TABLE 2504
#define LITGEN_WARN_CSS_UNBALANCED_BRACE 3101
#define LITGEN_WARN_CSS_UNEXPECTED_TOKEN 3102
#define LITGEN_WARN_CSS_UNEXPECTED_EOF 3103
#define LITGEN_WARN_CSS_EMPTY_VALUE 3104
// 3105 was removed, but should be reserved.
#define LITGEN_WARN_CSS_NONOEB_PROPERTY 3106
// these are used only by the Rapier compatibility parser
#define LITGEN_ERR_CSS_UNEXPECTED_EOF 3501
#define LITGEN_ERR_CSS_UNEXPECTED_TOKEN 3502
#define LITGEN_ERR_CSS_UNEXPECTED_VALUE 3503
#define LITGEN_ERR_CSS_UNEXPECTED_IDENT 3504
#define LITGEN_ERR_CSS_UNEXPECTED_CLASS 3505
#define LITGEN_ERR_CSS_UNRECOGNIZED_TEXT 3506
#define LITGEN_ERR_CSS_UNKNOWN_DIRECTIVE 3507
#define LITGEN_MSG_MISC_SUCCESS 4101
#define LITGEN_MSG_MISC_PAGEBREAKS 4201
#define LITGEN_ERR_MISC_OUTPUT_CORRUPT 4501
// 4502-4504 were removed, but should be reserved.
#define LITGEN_ERR_MISC_PATH_NOT_FOUND 4505
#define LITGEN_ERR_INT_ADD_MANIFEST_ITEM 5501
#define LITGEN_ERR_INT_QUERY_ISTITEX_CONT 5502
#define LITGEN_ERR_INT_QUERY_ISTITEX_ROOT 5503
#define LITGEN_ERR_INT_QUERY_ISTITEX_DATA 5504
#define LITGEN_ERR_INT_CREATE_CONTENT_STRM 5505
#define LITGEN_ERR_INT_GET_STREAM_POS_TAG 5506
#define LITGEN_ERR_INT_GET_STREAM_POS_PB 5507
#define LITGEN_ERR_INT_GET_STREAM_SIZE 5508
#define LITGEN_ERR_INT_GEN_ANCHOR_STREAMS 5509
#define LITGEN_ERR_INT_LOG_ANCHOR_DEST 5510
#define LITGEN_ERR_INT_CREATE_STREAM 5511
#define LITGEN_ERR_INT_ITSTORAGE_FACTORY 5512
#define LITGEN_ERR_INT_INSTANTIATE_ITSS 5513
#define LITGEN_ERR_INT_ITSS_CONTROL_DATA 5514
#define LITGEN_ERR_INT_CREATE_OUTPUT_FILE 5515
#define LITGEN_ERR_INT_STAMP_CLSID 5516
#define LITGEN_ERR_INT_CREATE_TMP_METASTRM 5517
#define LITGEN_ERR_INT_GEN_SYMKEY 5518
#define LITGEN_ERR_INT_CREATE_DATASPACE 5519
#define LITGEN_ERR_INT_ATTACH_DRM 5520
#define LITGEN_ERR_INT_CREATE_SUBSTORAGE 5521
#define LITGEN_ERR_INT_SEAL 5522
#define LITGEN_ERR_INT_COMPACT 5523
#define LITGEN_ERR_INT_CREATE_IMAGE_STREAM 5524
#define LITGEN_ERR_INT_CREATE_CSS_STREAM 5525
#define LITGEN_ERR_INT_QUERY_ISEQSTREAM 5526
#define LITGEN_ERR_INT_INSERT_STYLERULE 5527
#define LITGEN_ERR_INT_INSERT_CSS_TAG 5528
#define LITGEN_ERR_INT_INSERT_CSS_PROPERTY 5529
#define LITGEN_ERR_INT_CSS_LEXER_ERROR 5530