HTML Tidy  5.7.0
The HTACG Tidy HTML Project
Tidy Strings Generation Macros

Detailed Description

Tidy aims to provide a consistent API for library users, and so we go to some lengths to provide a tidyStrings enum that consists of the message code for every string that Tidy can emit (used internally), and the array tidyStringsKeys[] containing string representations of each message code.

In order to keep code maintainable and make it simple to add new messages, the message code enums and tidyStringsKeys[] are generated dynamically with preprocessor macros defined below.

Any visible FOREACH_MSG_* macro (including new ones) must be applied to the tidyStrings enum with the MAKE_ENUM() macro in this file, and to the tidyStringsKeys[] (in messages.c) with MAKE_STRUCT in this file.

Modern IDE's will dynamically pre-process all of these macros, enabling code-completion of these enums and array of structs.

Code Generation Macros

These macros generate the enums and arrays from the Content Generation Macros defined below.

#define MAKE_ENUM(MESSAGE)   MESSAGE,
 Used to populate the contents of an enumerator, such as tidyStrings. More...
 
#define MAKE_STRUCT(MESSAGE)   {#MESSAGE, MESSAGE},
 Used to populate the contents of a structure, such as tidyStringsKeys[]. More...
 

Content Generation Macros

These macros generate the individual entries in the enums and structs used to manage strings in Tidy.

#define FOREACH_TIDYCONFIGCATEGORY(FN)
 Codes for populating TidyConfigCategory enumeration. More...
 
#define FOREACH_MSG_MISC(FN)
 These message codes comprise every possible message that can be output by Tidy that are not diagnostic style messages, and are not console application specific messages. More...
 
#define FOREACH_FOOTNOTE_MSG(FN)
 These messages are used to generate additional dialogue style output from Tidy when certain conditions exist, and provide more verbose explanations than the short report. More...
 
#define FOREACH_DIALOG_MSG(FN)
 These messages are used to generate additional dialogue style output from Tidy when certain conditions exist, and provide more verbose explanations than the short report. More...
 
#define FOREACH_REPORT_MSG(FN)
 These are report messages, i.e., messages that appear in Tidy's table of errors and warnings. More...
 
#define FOREACH_ACCESS_MSG(FN)
 These are report messages added by Tidy's accessibility module. More...
 
#define FOREACH_MSG_CONSOLE(FN)
 These message codes comprise every message is exclusive to theTidy console application. More...
 

Macro Definition Documentation

#define FOREACH_ACCESS_MSG (   FN)
Value:
/** [1.1.1.1] */ FN(IMG_MISSING_ALT) \
/** [1.1.1.2] */ FN(IMG_ALT_SUSPICIOUS_FILENAME) \
/** [1.1.1.3] */ FN(IMG_ALT_SUSPICIOUS_FILE_SIZE) \
/** [1.1.1.4] */ FN(IMG_ALT_SUSPICIOUS_PLACEHOLDER) \
/** [1.1.1.10] */ FN(IMG_ALT_SUSPICIOUS_TOO_LONG) \
/** [1.1.1.11] */ /* FN(IMG_MISSING_ALT_BULLET) */ \
/** [1.1.1.12] */ /* FN(IMG_MISSING_ALT_H_RULE) */ \
/** [1.1.2.1] */ FN(IMG_MISSING_LONGDESC_DLINK) \
/** [1.1.2.2] */ FN(IMG_MISSING_DLINK) \
/** [1.1.2.3] */ FN(IMG_MISSING_LONGDESC) \
/** [1.1.2.5] */ /* FN(LONGDESC_NOT_REQUIRED) */ \
/** [1.1.3.1] */ FN(IMG_BUTTON_MISSING_ALT) \
/** [1.1.4.1] */ FN(APPLET_MISSING_ALT) \
/** [1.1.5.1] */ FN(OBJECT_MISSING_ALT) \
/** [1.1.6.1] */ FN(AUDIO_MISSING_TEXT_WAV) \
/** [1.1.6.2] */ FN(AUDIO_MISSING_TEXT_AU) \
/** [1.1.6.3] */ FN(AUDIO_MISSING_TEXT_AIFF) \
/** [1.1.6.4] */ FN(AUDIO_MISSING_TEXT_SND) \
/** [1.1.6.5] */ FN(AUDIO_MISSING_TEXT_RA) \
/** [1.1.6.6] */ FN(AUDIO_MISSING_TEXT_RM) \
/** [1.1.8.1] */ FN(FRAME_MISSING_LONGDESC) \
/** [1.1.9.1] */ FN(AREA_MISSING_ALT) \
/** [1.1.10.1] */ FN(SCRIPT_MISSING_NOSCRIPT) \
/** [1.1.12.1] */ FN(ASCII_REQUIRES_DESCRIPTION) \
/** [1.2.1.1] */ FN(IMG_MAP_SERVER_REQUIRES_TEXT_LINKS) \
/** [1.4.1.1] */ FN(MULTIMEDIA_REQUIRES_TEXT) \
/** [1.5.1.1] */ FN(IMG_MAP_CLIENT_MISSING_TEXT_LINKS) \
/** [2.1.1.1] */ FN(INFORMATION_NOT_CONVEYED_IMAGE) \
/** [2.1.1.2] */ FN(INFORMATION_NOT_CONVEYED_APPLET) \
/** [2.1.1.3] */ FN(INFORMATION_NOT_CONVEYED_OBJECT) \
/** [2.1.1.4] */ FN(INFORMATION_NOT_CONVEYED_SCRIPT) \
/** [2.1.1.5] */ FN(INFORMATION_NOT_CONVEYED_INPUT) \
/** [2.2.1.1] */ FN(COLOR_CONTRAST_TEXT) \
/** [2.2.1.2] */ FN(COLOR_CONTRAST_LINK) \
/** [2.2.1.3] */ FN(COLOR_CONTRAST_ACTIVE_LINK) \
/** [2.2.1.4] */ FN(COLOR_CONTRAST_VISITED_LINK) \
/** [3.2.1.1] */ FN(DOCTYPE_MISSING) \
/** [3.3.1.1] */ FN(STYLE_SHEET_CONTROL_PRESENTATION) \
/** [3.5.1.1] */ FN(HEADERS_IMPROPERLY_NESTED) \
/** [3.5.2.1] */ FN(POTENTIAL_HEADER_BOLD) \
/** [3.5.2.2] */ FN(POTENTIAL_HEADER_ITALICS) \
/** [3.5.2.3] */ FN(POTENTIAL_HEADER_UNDERLINE) \
/** [3.5.3.1] */ FN(HEADER_USED_FORMAT_TEXT) \
/** [3.6.1.1] */ FN(LIST_USAGE_INVALID_UL) \
/** [3.6.1.2] */ FN(LIST_USAGE_INVALID_OL) \
/** [3.6.1.4] */ FN(LIST_USAGE_INVALID_LI) \
/** [4.1.1.1] */ /* FN(INDICATE_CHANGES_IN_LANGUAGE) */ \
/** [4.3.1.1] */ FN(LANGUAGE_NOT_IDENTIFIED) \
/** [4.3.1.1] */ FN(LANGUAGE_INVALID) \
/** [5.1.2.1] */ FN(DATA_TABLE_MISSING_HEADERS) \
/** [5.1.2.2] */ FN(DATA_TABLE_MISSING_HEADERS_COLUMN) \
/** [5.1.2.3] */ FN(DATA_TABLE_MISSING_HEADERS_ROW) \
/** [5.3.1.1] */ FN(LAYOUT_TABLES_LINEARIZE_PROPERLY) \
/** [5.4.1.1] */ FN(LAYOUT_TABLE_INVALID_MARKUP) \
/** [5.5.1.1] */ FN(TABLE_MISSING_SUMMARY) \
/** [5.5.1.2] */ FN(TABLE_SUMMARY_INVALID_NULL) \
/** [5.5.1.3] */ FN(TABLE_SUMMARY_INVALID_SPACES) \
/** [5.5.1.6] */ FN(TABLE_SUMMARY_INVALID_PLACEHOLDER) \
/** [5.5.2.1] */ FN(TABLE_MISSING_CAPTION) \
/** [5.6.1.1] */ FN(TABLE_MAY_REQUIRE_HEADER_ABBR) \
/** [5.6.1.2] */ FN(TABLE_MAY_REQUIRE_HEADER_ABBR_NULL) \
/** [6.1.1.1] */ FN(STYLESHEETS_REQUIRE_TESTING_LINK) \
/** [6.2.1.1] */ FN(FRAME_SRC_INVALID) \
/** [6.5.1.1] */ FN(FRAME_MISSING_NOFRAMES) \
/** [6.5.1.2] */ FN(NOFRAMES_INVALID_NO_VALUE) \
/** [6.5.1.3] */ FN(NOFRAMES_INVALID_CONTENT) \
/** [6.5.1.4] */ FN(NOFRAMES_INVALID_LINK) \
/** [7.1.1.1] */ FN(REMOVE_FLICKER_SCRIPT) \
/** [7.1.1.2] */ FN(REMOVE_FLICKER_OBJECT) \
/** [7.1.1.3] */ FN(REMOVE_FLICKER_EMBED) \
/** [7.1.1.4] */ FN(REMOVE_FLICKER_APPLET) \
/** [7.1.1.5] */ FN(REMOVE_FLICKER_ANIMATED_GIF) \
/** [7.2.1.1] */ FN(REMOVE_BLINK_MARQUEE) \
/** [7.4.1.1] */ FN(REMOVE_AUTO_REFRESH) \
/** [7.5.1.1] */ FN(REMOVE_AUTO_REDIRECT) \
/** [10.1.1.1] */ FN(NEW_WINDOWS_REQUIRE_WARNING_NEW) \
/** [10.1.1.2] */ FN(NEW_WINDOWS_REQUIRE_WARNING_BLANK) \
/** [10.2.1.1] */ /* FN(LABEL_NEEDS_REPOSITIONING_BEFORE_INPUT) */ \
/** [10.2.1.2] */ /* FN(LABEL_NEEDS_REPOSITIONING_AFTER_INPUT) */ \
/** [10.4.1.1] */ /* FN(FORM_CONTROL_REQUIRES_DEFAULT_TEXT) */ \
/** [10.4.1.2] */ /* FN(FORM_CONTROL_DEFAULT_TEXT_INVALID_NULL) */ \
/** [10.4.1.3] */ /* FN(FORM_CONTROL_DEFAULT_TEXT_INVALID_SPACES) */ \
/** [11.2.1.1] */ FN(REPLACE_DEPRECATED_HTML_APPLET) \
/** [11.2.1.2] */ FN(REPLACE_DEPRECATED_HTML_BASEFONT) \
/** [11.2.1.3] */ FN(REPLACE_DEPRECATED_HTML_CENTER) \
/** [11.2.1.4] */ FN(REPLACE_DEPRECATED_HTML_DIR) \
/** [11.2.1.5] */ FN(REPLACE_DEPRECATED_HTML_FONT) \
/** [11.2.1.6] */ FN(REPLACE_DEPRECATED_HTML_ISINDEX) \
/** [11.2.1.7] */ FN(REPLACE_DEPRECATED_HTML_MENU) \
/** [11.2.1.8] */ FN(REPLACE_DEPRECATED_HTML_S) \
/** [11.2.1.9] */ FN(REPLACE_DEPRECATED_HTML_STRIKE) \
/** [11.2.1.10] */ FN(REPLACE_DEPRECATED_HTML_U) \
/** [12.1.1.1] */ FN(FRAME_MISSING_TITLE) \
/** [12.1.1.2] */ FN(FRAME_TITLE_INVALID_NULL) \
/** [12.1.1.3] */ FN(FRAME_TITLE_INVALID_SPACES) \
/** [12.4.1.1] */ FN(ASSOCIATE_LABELS_EXPLICITLY) \
/** [12.4.1.2] */ FN(ASSOCIATE_LABELS_EXPLICITLY_FOR) \
/** [12.4.1.3] */ FN(ASSOCIATE_LABELS_EXPLICITLY_ID) \
/** [13.1.1.1] */ FN(LINK_TEXT_NOT_MEANINGFUL) \
/** [13.1.1.2] */ FN(LINK_TEXT_MISSING) \
/** [13.1.1.3] */ FN(LINK_TEXT_TOO_LONG) \
/** [13.1.1.4] */ FN(LINK_TEXT_NOT_MEANINGFUL_CLICK_HERE) \
/** [13.1.1.5] */ /* FN(LINK_TEXT_NOT_MEANINGFUL_MORE) */ \
/** [13.1.1.6] */ /* FN(LINK_TEXT_NOT_MEANINGFUL_FOLLOW_THIS) */ \
/** [13.2.1.1] */ FN(METADATA_MISSING) \
/** [13.2.1.2] */ /* FN(METADATA_MISSING_LINK) */ \
/** [13.10.1.1] */ FN(SKIPOVER_ASCII_ART)
[2.1.1.5]
Definition: tidyenum.h:1435
[13.10.1.1]
Definition: tidyenum.h:1435
[2.1.1.4]
Definition: tidyenum.h:1435
[3.5.2.1]
Definition: tidyenum.h:1435
[1.5.1.1]
Definition: tidyenum.h:1435
[5.2.1.2]
Definition: tidyenum.h:1435
[1.1.6.6]
Definition: tidyenum.h:1435
[10.2.1.1]
Definition: tidyenum.h:1435
[12.1.1.3]
Definition: tidyenum.h:1435
[2.2.1.1]
Definition: tidyenum.h:1435
[10.1.1.2]
Definition: tidyenum.h:1435
[5.5.1.1]
Definition: tidyenum.h:1435
[11.2.1.6]
Definition: tidyenum.h:1435
[2.2.1.2]
Definition: tidyenum.h:1435
[11.2.1.7]
Definition: tidyenum.h:1435
[3.5.1.1]
Definition: tidyenum.h:1435
[5.6.1.3]
Definition: tidyenum.h:1435
[1.1.1.11]
Definition: tidyenum.h:1435
[6.5.1.4]
Definition: tidyenum.h:1435
[3.5.2.3]
Definition: tidyenum.h:1435
[6.1.1.2]
Definition: tidyenum.h:1435
[13.1.1.1]
Definition: tidyenum.h:1435
[5.1.2.2]
Definition: tidyenum.h:1435
[8.1.1.3]
Definition: tidyenum.h:1435
[6.2.2.1]
Definition: tidyenum.h:1435
[11.2.1.9]
Definition: tidyenum.h:1435
[1.1.12.1]
Definition: tidyenum.h:1435
[5.5.1.3]
Definition: tidyenum.h:1435
[2.1.1.3]
Definition: tidyenum.h:1435
[3.6.1.1]
Definition: tidyenum.h:1435
[1.1.2.2]
Definition: tidyenum.h:1435
[7.5.1.1]
Definition: tidyenum.h:1435
[12.1.1.2]
Definition: tidyenum.h:1435
[3.3.1.1]
Definition: tidyenum.h:1435
[6.3.1.3]
Definition: tidyenum.h:1435
[1.1.8.1]
Definition: tidyenum.h:1435
[8.1.1.4]
Definition: tidyenum.h:1435
[1.1.1.1]
Definition: tidyenum.h:1435
[9.3.1.3]
Definition: tidyenum.h:1435
[6.3.1.4]
Definition: tidyenum.h:1435
[9.3.1.6]
Definition: tidyenum.h:1435
[3.6.1.4]
Definition: tidyenum.h:1435
[2.1.1.2]
Definition: tidyenum.h:1435
[13.1.1.3]
Definition: tidyenum.h:1435
[3.2.1.1]
Definition: tidyenum.h:1435
[11.2.1.4]
Definition: tidyenum.h:1435
[8.1.1.1]
Definition: tidyenum.h:1435
[3.6.1.2]
Definition: tidyenum.h:1435
[6.3.1.1]
Definition: tidyenum.h:1435
[6.3.1.2]
Definition: tidyenum.h:1435
[12.1.1.1]
Definition: tidyenum.h:1435
[3.5.3.1]
Definition: tidyenum.h:1435
[6.1.1.1]
Definition: tidyenum.h:1435
[12.4.1.1]
Definition: tidyenum.h:1435
[1.1.2.5]
Definition: tidyenum.h:1435
[9.1.1.1]
Definition: tidyenum.h:1435
[13.1.1.2]
Definition: tidyenum.h:1435
[7.1.1.3]
Definition: tidyenum.h:1435
[2.1.1.1]
Definition: tidyenum.h:1435
[4.1.1.1]
Definition: tidyenum.h:1435
[6.1.1.3]
Definition: tidyenum.h:1435
[7.1.1.1]
Definition: tidyenum.h:1435
[5.6.1.1]
Definition: tidyenum.h:1435
[11.2.1.5]
Definition: tidyenum.h:1435
[1.1.6.3]
Definition: tidyenum.h:1435
[1.4.1.1]
Definition: tidyenum.h:1435
[9.3.1.5]
Definition: tidyenum.h:1435
[11.2.1.2]
Definition: tidyenum.h:1435
[1.2.1.1]
Definition: tidyenum.h:1435
[11.2.1.3]
Definition: tidyenum.h:1435
[13.1.1.4]
Definition: tidyenum.h:1435
[5.1.2.3]
Definition: tidyenum.h:1435
[2.2.1.4]
Definition: tidyenum.h:1435
[5.4.1.1]
Definition: tidyenum.h:1435
[1.1.10.1]
Definition: tidyenum.h:1435
[1.1.1.4]
Definition: tidyenum.h:1435
[1.1.1.3]
Definition: tidyenum.h:1435
[1.1.1.10]
Definition: tidyenum.h:1435
[5.1.2.1]
Definition: tidyenum.h:1435
[1.1.2.3]
Definition: tidyenum.h:1435
[1.1.1.2]
Definition: tidyenum.h:1435
[12.4.1.3]
Definition: tidyenum.h:1435
[6.2.2.2]
Definition: tidyenum.h:1435
[9.3.1.1]
Definition: tidyenum.h:1435
[7.1.1.4]
Definition: tidyenum.h:1435
[12.4.1.2]
Definition: tidyenum.h:1435
[1.1.6.4]
Definition: tidyenum.h:1435
[13.2.1.2]
Definition: tidyenum.h:1435
[9.3.1.4]
Definition: tidyenum.h:1435
[6.5.1.3]
Definition: tidyenum.h:1435
[5.5.2.1]
Definition: tidyenum.h:1435
[7.2.1.1]
Definition: tidyenum.h:1435
[3.5.2.2]
Definition: tidyenum.h:1435
[6.2.1.1]
Definition: tidyenum.h:1435
[2.2.1.3]
Definition: tidyenum.h:1435
[5.2.1.1]
Definition: tidyenum.h:1435
[1.1.9.1]
Definition: tidyenum.h:1435
[7.4.1.1]
Definition: tidyenum.h:1435
[8.1.1.2]
Definition: tidyenum.h:1435
[1.1.4.1]
Definition: tidyenum.h:1435
[6.5.1.2]
Definition: tidyenum.h:1435
[7.1.1.2]
Definition: tidyenum.h:1435
[1.1.6.5]
Definition: tidyenum.h:1435
[4.3.1.1]
Definition: tidyenum.h:1435
[10.1.1.1]
Definition: tidyenum.h:1435
[11.2.1.8]
Definition: tidyenum.h:1435
[1.1.6.2]
Definition: tidyenum.h:1435
[5.5.1.2]
Definition: tidyenum.h:1435
[1.1.6.1]
Definition: tidyenum.h:1435
[5.3.1.1]
Definition: tidyenum.h:1435
[5.5.1.6]
Definition: tidyenum.h:1435
[9.3.1.2]
Definition: tidyenum.h:1435
[1.1.5.1]
Definition: tidyenum.h:1435
[7.1.1.5]
Definition: tidyenum.h:1435
[13.1.1.5]
Definition: tidyenum.h:1435
[11.2.1.10]
Definition: tidyenum.h:1435
[6.2.2.3]
Definition: tidyenum.h:1435
[6.5.1.1]
Definition: tidyenum.h:1435
[5.6.1.2]
Definition: tidyenum.h:1435

These are report messages added by Tidy's accessibility module.

Note that commented out items don't have checks for them at this time, and it was probably intended that some test would eventually be written.

#define FOREACH_DIALOG_MSG (   FN)
Value:
/* TidyDialogueSummary */ FN(STRING_ERROR_COUNT) \
/* TidyDialogueSummary */ FN(STRING_NEEDS_INTERVENTION) \
/* TidyDialogueSummary */ FN(STRING_NO_ERRORS) \
/* TidyDialogueSummary */ FN(STRING_NOT_ALL_SHOWN) \
/* TidyDialogueInfo */ FN(TEXT_GENERAL_INFO_PLEA) \
/* TidyDialogueInfo */ FN(TEXT_GENERAL_INFO)
Definition: tidyenum.h:1433
Definition: tidyenum.h:1433
Definition: tidyenum.h:1433
Definition: tidyenum.h:1433
Definition: tidyenum.h:1433

These messages are used to generate additional dialogue style output from Tidy when certain conditions exist, and provide more verbose explanations than the short report.

#define FOREACH_FOOTNOTE_MSG (   FN)
Value:
FN(FOOTNOTE_TRIM_EMPTY_ELEMENT) \
FN(TEXT_ACCESS_ADVICE1) \
FN(TEXT_ACCESS_ADVICE2) \
FN(TEXT_BAD_FORM) \
FN(TEXT_BAD_MAIN) \
FN(TEXT_HTML_T_ALGORITHM) \
FN(TEXT_INVALID_URI) \
FN(TEXT_INVALID_UTF16) \
FN(TEXT_INVALID_UTF8) \
FN(TEXT_M_IMAGE_ALT) \
FN(TEXT_M_IMAGE_MAP) \
FN(TEXT_M_LINK_ALT) \
FN(TEXT_M_SUMMARY) \
FN(TEXT_SGML_CHARS) \
FN(TEXT_USING_BODY) \
FN(TEXT_USING_FONT) \
FN(TEXT_USING_FRAMES) \
FN(TEXT_USING_LAYER) \
FN(TEXT_USING_NOBR) \
FN(TEXT_USING_SPACER) \
FN(TEXT_VENDOR_CHARS) \
FN(TEXT_WINDOWS_CHARS)

These messages are used to generate additional dialogue style output from Tidy when certain conditions exist, and provide more verbose explanations than the short report.

#define FOREACH_MSG_CONSOLE (   FN)
Value:
FN(TC_OPT_MAC) \
FN(TC_OPT_RAW) \
FN(TC_OPT_XML) \
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436

These message codes comprise every message is exclusive to theTidy console application.

It it possible to build LibTidy without these strings.

#define FOREACH_MSG_MISC (   FN)
Value:
/** line %d column %d */ FN(LINE_COLUMN_STRING) \
/** discarding */ FN(STRING_DISCARDING) \
/** error and errors */ FN(STRING_ERROR_COUNT_ERROR) \
/** warning and warnings */ FN(STRING_ERROR_COUNT_WARNING) \
/** Accessibility hello message */ FN(STRING_HELLO_ACCESS) \
/** HTML Proprietary */ FN(STRING_HTML_PROPRIETARY) \
/** plain text */ FN(STRING_PLAIN_TEXT) \
/** replacing */ FN(STRING_REPLACING) \
/** specified */ FN(STRING_SPECIFIED) \
/** XML declaration */ FN(STRING_XML_DECLARATION) \
/** no */ FN(TIDYCUSTOMNO_STRING) \
/** block level */ FN(TIDYCUSTOMBLOCKLEVEL_STRING) \
/** empty */ FN(TIDYCUSTOMEMPTY_STRING) \
/** inline */ FN(TIDYCUSTOMINLINE_STRING) \
/** pre */ FN(TIDYCUSTOMPRE_STRING) \
specified
Definition: tidyenum.h:1432
block level
Definition: tidyenum.h:1432
pre
Definition: tidyenum.h:1432
error and errors
Definition: tidyenum.h:1432
replacing
Definition: tidyenum.h:1432
no
Definition: tidyenum.h:1432
line d column d
Definition: tidyenum.h:1432
empty
Definition: tidyenum.h:1432
discarding
Definition: tidyenum.h:1432
plain text
Definition: tidyenum.h:1432
Accessibility hello message.
Definition: tidyenum.h:1432
XML declaration.
Definition: tidyenum.h:1432
HTML Proprietary.
Definition: tidyenum.h:1432
inline
Definition: tidyenum.h:1432
warning and warnings
Definition: tidyenum.h:1432

These message codes comprise every possible message that can be output by Tidy that are not diagnostic style messages, and are not console application specific messages.

#define FOREACH_REPORT_MSG (   FN)
Value:
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434

These are report messages, i.e., messages that appear in Tidy's table of errors and warnings.

#define FOREACH_TIDYCONFIGCATEGORY (   FN)
Value:
FN(TidyDiagnostics) /**< Diagnostics */ \
FN(TidyDisplay) /**< Affecting screen display */ \
FN(TidyDocumentIO) /**< Pertaining to document I/O */ \
FN(TidyEncoding) /**< Relating to encoding */ \
FN(TidyFileIO) /**< Pertaining to file I/O */ \
FN(TidyMarkupCleanup) /**< Cleanup related options */ \
FN(TidyMarkupEntities) /**< Entity related options */ \
FN(TidyMarkupRepair) /**< Document repair related options */ \
FN(TidyMarkupTeach) /**< Teach tidy new things */ \
FN(TidyMarkupXForm) /**< Transform HTML one way or another */ \
FN(TidyPrettyPrint) /**< Pretty printing options */ \
Cleanup related options.
Definition: tidyenum.h:697
Option is internal only.
Definition: tidyenum.h:697
Entity related options.
Definition: tidyenum.h:697
Document repair related options.
Definition: tidyenum.h:697
Teach tidy new things.
Definition: tidyenum.h:697
Affecting screen display.
Definition: tidyenum.h:697
Diagnostics.
Definition: tidyenum.h:697
Pertaining to document I/O.
Definition: tidyenum.h:697
Pretty printing options.
Definition: tidyenum.h:697
Relating to encoding.
Definition: tidyenum.h:697
Transform HTML one way or another.
Definition: tidyenum.h:697
Pertaining to file I/O.
Definition: tidyenum.h:697

Codes for populating TidyConfigCategory enumeration.

Option is internal only.

#define MAKE_ENUM (   MESSAGE)    MESSAGE,

Used to populate the contents of an enumerator, such as tidyStrings.

#define MAKE_STRUCT (   MESSAGE)    {#MESSAGE, MESSAGE},

Used to populate the contents of a structure, such as tidyStringsKeys[].