HTML Tidy  5.9.15
The HTACG Tidy HTML Project
tidyenum.h File Reference

Detailed Description

Separated public enumerations header providing important indentifiers for LibTidy and internal users, as well as code-generator macros used to generate many of them.

The use of enums simplifies enum re-use in various wrappers, e.g. SWIG, generated wrappers, and COM IDL files.

This file also contains macros to generate additional enums for use in Tidy's language localizations and/or to access Tidy's strings via the API. See detailed information elsewhere in this file's documentation.

Note
LibTidy does not guarantee the value of any enumeration member, including the starting integer value, except where noted. Always use enum members rather than their values!

Enums that have starting values have starting values for a good reason, mainly to prevent string key overlap.

Author
Dave Raggett [dsr@w.nosp@m.3.or.nosp@m.g]
HTACG, et al (consult git log)
Date
Created 2001-05-20 by Charles Reitzel
Updated 2002-07-01 by Charles Reitzel
Further modifications: consult git log.

Go to the source code of this file.

Macros

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_ACCESS_MSG(FN)
 These are report messages added by Tidy's accessibility module. 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_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_MSG_CONSOLE(FN)
 These message codes comprise every message is exclusive to theTidy console application. 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_REPORT_MSG(FN)
 These are report messages, i.e., messages that appear in Tidy's table of errors and warnings. More...
 
#define FOREACH_TIDYCONFIGCATEGORY(FN)
 Codes for populating TidyConfigCategory enumeration. More...
 

Enumerations

Configuration Options Enumerations

These enumerators are used to define available configuration options and their option categories.

enum  TidyConfigCategory {
  TidyUnknownCategory = 300 ,
  TidyDiagnostics ,
  TidyDisplay ,
  TidyDocumentIO ,
  TidyEncoding ,
  TidyFileIO ,
  TidyMarkupCleanup ,
  TidyMarkupEntities ,
  TidyMarkupRepair ,
  TidyMarkupTeach ,
  TidyMarkupXForm ,
  TidyPrettyPrint ,
  TidyInternalCategory
}
 Categories of Tidy configuration options, which are used mostly by user interfaces to sort Tidy options into related groups. More...
 
enum  TidyOptionId {
  TidyUnknownOption = 0 ,
  TidyAccessibilityCheckLevel ,
  TidyAltText ,
  TidyAnchorAsName ,
  TidyAsciiChars ,
  TidyBlockTags ,
  TidyBodyOnly ,
  TidyBreakBeforeBR ,
  TidyCharEncoding ,
  TidyCoerceEndTags ,
  TidyCSSPrefix ,
  TidyDecorateInferredUL ,
  TidyDoctype ,
  TidyDropEmptyElems ,
  TidyDropEmptyParas ,
  TidyDropPropAttrs ,
  TidyDuplicateAttrs ,
  TidyEmacs ,
  TidyEmptyTags ,
  TidyEncloseBlockText ,
  TidyEncloseBodyText ,
  TidyErrFile ,
  TidyEscapeCdata ,
  TidyEscapeScripts ,
  TidyFixBackslash ,
  TidyFixComments ,
  TidyFixUri ,
  TidyForceOutput ,
  TidyGDocClean ,
  TidyHideComments ,
  TidyHtmlOut ,
  TidyInCharEncoding ,
  TidyIndentAttributes ,
  TidyIndentCdata ,
  TidyIndentContent ,
  TidyIndentSpaces ,
  TidyInlineTags ,
  TidyJoinClasses ,
  TidyJoinStyles ,
  TidyKeepFileTimes ,
  TidyKeepTabs ,
  TidyLiteralAttribs ,
  TidyLogicalEmphasis ,
  TidyLowerLiterals ,
  TidyMakeBare ,
  TidyMakeClean ,
  TidyMark ,
  TidyMergeDivs ,
  TidyMergeEmphasis ,
  TidyMergeSpans ,
  TidyMetaCharset ,
  TidyMuteReports ,
  TidyMuteShow ,
  TidyNCR ,
  TidyNewline ,
  TidyNumEntities ,
  TidyOmitOptionalTags ,
  TidyOutCharEncoding ,
  TidyOutFile ,
  TidyOutputBOM ,
  TidyPPrintTabs ,
  TidyPreserveEntities ,
  TidyPreTags ,
  TidyPriorityAttributes ,
  TidyPunctWrap ,
  TidyQuiet ,
  TidyQuoteAmpersand ,
  TidyQuoteMarks ,
  TidyQuoteNbsp ,
  TidyReplaceColor ,
  TidyShowErrors ,
  TidyShowFilename ,
  TidyShowInfo ,
  TidyShowMarkup ,
  TidyShowMetaChange ,
  TidyShowWarnings ,
  TidySkipNested ,
  TidySortAttributes ,
  TidyStrictTagsAttr ,
  TidyStyleTags ,
  TidyTabSize ,
  TidyUpperCaseAttrs ,
  TidyUpperCaseTags ,
  TidyUseCustomTags ,
  TidyVertSpace ,
  TidyWarnPropAttrs ,
  TidyWord2000 ,
  TidyWrapAsp ,
  TidyWrapAttVals ,
  TidyWrapJste ,
  TidyWrapLen ,
  TidyWrapPhp ,
  TidyWrapScriptlets ,
  TidyWrapSection ,
  TidyWriteBack ,
  TidyXhtmlOut ,
  TidyXmlDecl ,
  TidyXmlOut ,
  TidyXmlPIs ,
  TidyXmlSpace ,
  TidyXmlTags ,
  N_TIDY_OPTIONS
}
 Option IDs are used used to get and/or set configuration option values and retrieve their descriptions. More...
 
enum  TidyOptionType {
  TidyString ,
  TidyInteger ,
  TidyBoolean
}
 A Tidy configuration option can have one of these data types. More...
 
Configuration Options Pick List and Parser Enumerations

These enums define enumerated states for the configuration options that take values that are not simple yes/no, strings, or simple integers.

enum  TidyAttrSortStrategy {
  TidySortAttrNone = 0 ,
  TidySortAttrAlpha
}
 Mode controlling treatment of sorting attributes. More...
 
enum  TidyDoctypeModes {
  TidyDoctypeHtml5 = 0 ,
  TidyDoctypeOmit ,
  TidyDoctypeAuto ,
  TidyDoctypeStrict ,
  TidyDoctypeLoose ,
  TidyDoctypeUser
}
 Mode controlling treatment of doctype. More...
 
enum  TidyDupAttrModes {
  TidyKeepFirst = 0 ,
  TidyKeepLast
}
 Mode controlling treatment of duplicate Attributes. More...
 
enum  TidyEncodingOptions {
  TidyEncRaw = 0 ,
  TidyEncAscii ,
  TidyEncLatin0 ,
  TidyEncLatin1 ,
  TidyEncUtf8 ,
  TidyEncIso2022 ,
  TidyEncMac ,
  TidyEncWin1252 ,
  TidyEncIbm858 ,
  TidyEncUtf16le ,
  TidyEncUtf16be ,
  TidyEncUtf16 ,
  TidyEncBig5 ,
  TidyEncShiftjis
}
 TidyEncodingOptions option values specify the input and/or output encoding. More...
 
enum  TidyLineEnding {
  TidyLF = 0 ,
  TidyCRLF ,
  TidyCR
}
 TidyNewline option values to control output line endings. More...
 
enum  TidyTriState {
  TidyNoState = 0 ,
  TidyYesState ,
  TidyAutoState
}
 AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM. More...
 
enum  TidyUppercase {
  TidyUppercaseNo = 0 ,
  TidyUppercaseYes ,
  TidyUppercasePreserve
}
 Mode controlling capitalization of things, such as attributes. More...
 
enum  TidyUseCustomTagsState {
  TidyCustomNo = 0 ,
  TidyCustomBlocklevel ,
  TidyCustomEmpty ,
  TidyCustomInline ,
  TidyCustomPre
}
 Values used by ParseUseCustomTags, which describes how Autonomous Custom tags (ACT's) found by Tidy are treated. More...
 
Document Tree
enum  TidyAttrId {
  TidyAttr_UNKNOWN ,
  TidyAttr_ABBR ,
  TidyAttr_ACCEPT ,
  TidyAttr_ACCEPT_CHARSET ,
  TidyAttr_ACCESSKEY ,
  TidyAttr_ACTION ,
  TidyAttr_ADD_DATE ,
  TidyAttr_ALIGN ,
  TidyAttr_ALINK ,
  TidyAttr_ALLOWFULLSCREEN ,
  TidyAttr_ALT ,
  TidyAttr_ARCHIVE ,
  TidyAttr_AXIS ,
  TidyAttr_BACKGROUND ,
  TidyAttr_BGCOLOR ,
  TidyAttr_BGPROPERTIES ,
  TidyAttr_BORDER ,
  TidyAttr_BORDERCOLOR ,
  TidyAttr_BOTTOMMARGIN ,
  TidyAttr_CELLPADDING ,
  TidyAttr_CELLSPACING ,
  TidyAttr_CHAR ,
  TidyAttr_CHAROFF ,
  TidyAttr_CHARSET ,
  TidyAttr_CHECKED ,
  TidyAttr_CITE ,
  TidyAttr_CLASS ,
  TidyAttr_CLASSID ,
  TidyAttr_CLEAR ,
  TidyAttr_CODE ,
  TidyAttr_CODEBASE ,
  TidyAttr_CODETYPE ,
  TidyAttr_COLOR ,
  TidyAttr_COLS ,
  TidyAttr_COLSPAN ,
  TidyAttr_COMPACT ,
  TidyAttr_CONTENT ,
  TidyAttr_COORDS ,
  TidyAttr_DATA ,
  TidyAttr_DATAFLD ,
  TidyAttr_DATAFORMATAS ,
  TidyAttr_DATAPAGESIZE ,
  TidyAttr_DATASRC ,
  TidyAttr_DATETIME ,
  TidyAttr_DECLARE ,
  TidyAttr_DEFER ,
  TidyAttr_DIR ,
  TidyAttr_DISABLED ,
  TidyAttr_DOWNLOAD ,
  TidyAttr_ENCODING ,
  TidyAttr_ENCTYPE ,
  TidyAttr_FACE ,
  TidyAttr_FOR ,
  TidyAttr_FRAME ,
  TidyAttr_FRAMEBORDER ,
  TidyAttr_FRAMESPACING ,
  TidyAttr_GRIDX ,
  TidyAttr_GRIDY ,
  TidyAttr_HEADERS ,
  TidyAttr_HEIGHT ,
  TidyAttr_HREF ,
  TidyAttr_HREFLANG ,
  TidyAttr_HSPACE ,
  TidyAttr_HTTP_EQUIV ,
  TidyAttr_ID ,
  TidyAttr_IS ,
  TidyAttr_ISMAP ,
  TidyAttr_ITEMID ,
  TidyAttr_ITEMPROP ,
  TidyAttr_ITEMREF ,
  TidyAttr_ITEMSCOPE ,
  TidyAttr_ITEMTYPE ,
  TidyAttr_LABEL ,
  TidyAttr_LANG ,
  TidyAttr_LANGUAGE ,
  TidyAttr_LAST_MODIFIED ,
  TidyAttr_LAST_VISIT ,
  TidyAttr_LEFTMARGIN ,
  TidyAttr_LINK ,
  TidyAttr_LONGDESC ,
  TidyAttr_LOWSRC ,
  TidyAttr_MARGINHEIGHT ,
  TidyAttr_MARGINWIDTH ,
  TidyAttr_MAXLENGTH ,
  TidyAttr_MEDIA ,
  TidyAttr_METHOD ,
  TidyAttr_MULTIPLE ,
  TidyAttr_NAME ,
  TidyAttr_NOHREF ,
  TidyAttr_NORESIZE ,
  TidyAttr_NOSHADE ,
  TidyAttr_NOWRAP ,
  TidyAttr_OBJECT ,
  TidyAttr_OnAFTERUPDATE ,
  TidyAttr_OnBEFOREUNLOAD ,
  TidyAttr_OnBEFOREUPDATE ,
  TidyAttr_OnBLUR ,
  TidyAttr_OnCHANGE ,
  TidyAttr_OnCLICK ,
  TidyAttr_OnDATAAVAILABLE ,
  TidyAttr_OnDATASETCHANGED ,
  TidyAttr_OnDATASETCOMPLETE ,
  TidyAttr_OnDBLCLICK ,
  TidyAttr_OnERRORUPDATE ,
  TidyAttr_OnFOCUS ,
  TidyAttr_OnKEYDOWN ,
  TidyAttr_OnKEYPRESS ,
  TidyAttr_OnKEYUP ,
  TidyAttr_OnLOAD ,
  TidyAttr_OnMOUSEDOWN ,
  TidyAttr_OnMOUSEMOVE ,
  TidyAttr_OnMOUSEOUT ,
  TidyAttr_OnMOUSEOVER ,
  TidyAttr_OnMOUSEUP ,
  TidyAttr_OnRESET ,
  TidyAttr_OnROWENTER ,
  TidyAttr_OnROWEXIT ,
  TidyAttr_OnSELECT ,
  TidyAttr_OnSUBMIT ,
  TidyAttr_OnUNLOAD ,
  TidyAttr_PROFILE ,
  TidyAttr_PROMPT ,
  TidyAttr_RBSPAN ,
  TidyAttr_READONLY ,
  TidyAttr_REL ,
  TidyAttr_REV ,
  TidyAttr_RIGHTMARGIN ,
  TidyAttr_ROLE ,
  TidyAttr_ROWS ,
  TidyAttr_ROWSPAN ,
  TidyAttr_RULES ,
  TidyAttr_SCHEME ,
  TidyAttr_SCOPE ,
  TidyAttr_SCROLLING ,
  TidyAttr_SELECTED ,
  TidyAttr_SHAPE ,
  TidyAttr_SHOWGRID ,
  TidyAttr_SHOWGRIDX ,
  TidyAttr_SHOWGRIDY ,
  TidyAttr_SIZE ,
  TidyAttr_SPAN ,
  TidyAttr_SRC ,
  TidyAttr_SRCSET ,
  TidyAttr_STANDBY ,
  TidyAttr_START ,
  TidyAttr_STYLE ,
  TidyAttr_SUMMARY ,
  TidyAttr_TABINDEX ,
  TidyAttr_TARGET ,
  TidyAttr_TEXT ,
  TidyAttr_TITLE ,
  TidyAttr_TOPMARGIN ,
  TidyAttr_TRANSLATE ,
  TidyAttr_TYPE ,
  TidyAttr_USEMAP ,
  TidyAttr_VALIGN ,
  TidyAttr_VALUE ,
  TidyAttr_VALUETYPE ,
  TidyAttr_VERSION ,
  TidyAttr_VLINK ,
  TidyAttr_VSPACE ,
  TidyAttr_WIDTH ,
  TidyAttr_WRAP ,
  TidyAttr_XML_LANG ,
  TidyAttr_XML_SPACE ,
  TidyAttr_XMLNS ,
  TidyAttr_EVENT ,
  TidyAttr_METHODS ,
  TidyAttr_N ,
  TidyAttr_SDAFORM ,
  TidyAttr_SDAPREF ,
  TidyAttr_SDASUFF ,
  TidyAttr_URN ,
  TidyAttr_ASYNC ,
  TidyAttr_AUTOCOMPLETE ,
  TidyAttr_AUTOFOCUS ,
  TidyAttr_AUTOPLAY ,
  TidyAttr_CHALLENGE ,
  TidyAttr_CONTENTEDITABLE ,
  TidyAttr_CONTEXTMENU ,
  TidyAttr_CONTROLS ,
  TidyAttr_CROSSORIGIN ,
  TidyAttr_DEFAULT ,
  TidyAttr_DIRNAME ,
  TidyAttr_DRAGGABLE ,
  TidyAttr_DROPZONE ,
  TidyAttr_FORM ,
  TidyAttr_FORMACTION ,
  TidyAttr_FORMENCTYPE ,
  TidyAttr_FORMMETHOD ,
  TidyAttr_FORMNOVALIDATE ,
  TidyAttr_FORMTARGET ,
  TidyAttr_HIDDEN ,
  TidyAttr_HIGH ,
  TidyAttr_ICON ,
  TidyAttr_KEYTYPE ,
  TidyAttr_KIND ,
  TidyAttr_LIST ,
  TidyAttr_LOOP ,
  TidyAttr_LOW ,
  TidyAttr_MANIFEST ,
  TidyAttr_MAX ,
  TidyAttr_MEDIAGROUP ,
  TidyAttr_MIN ,
  TidyAttr_MUTED ,
  TidyAttr_NOVALIDATE ,
  TidyAttr_OPEN ,
  TidyAttr_OPTIMUM ,
  TidyAttr_OnABORT ,
  TidyAttr_OnAFTERPRINT ,
  TidyAttr_OnBEFOREPRINT ,
  TidyAttr_OnCANPLAY ,
  TidyAttr_OnCANPLAYTHROUGH ,
  TidyAttr_OnCONTEXTMENU ,
  TidyAttr_OnCUECHANGE ,
  TidyAttr_OnDRAG ,
  TidyAttr_OnDRAGEND ,
  TidyAttr_OnDRAGENTER ,
  TidyAttr_OnDRAGLEAVE ,
  TidyAttr_OnDRAGOVER ,
  TidyAttr_OnDRAGSTART ,
  TidyAttr_OnDROP ,
  TidyAttr_OnDURATIONCHANGE ,
  TidyAttr_OnEMPTIED ,
  TidyAttr_OnENDED ,
  TidyAttr_OnERROR ,
  TidyAttr_OnHASHCHANGE ,
  TidyAttr_OnINPUT ,
  TidyAttr_OnINVALID ,
  TidyAttr_OnLOADEDDATA ,
  TidyAttr_OnLOADEDMETADATA ,
  TidyAttr_OnLOADSTART ,
  TidyAttr_OnMESSAGE ,
  TidyAttr_OnMOUSEWHEEL ,
  TidyAttr_OnOFFLINE ,
  TidyAttr_OnONLINE ,
  TidyAttr_OnPAGEHIDE ,
  TidyAttr_OnPAGESHOW ,
  TidyAttr_OnPAUSE ,
  TidyAttr_OnPLAY ,
  TidyAttr_OnPLAYING ,
  TidyAttr_OnPOPSTATE ,
  TidyAttr_OnPROGRESS ,
  TidyAttr_OnRATECHANGE ,
  TidyAttr_OnREADYSTATECHANGE ,
  TidyAttr_OnREDO ,
  TidyAttr_OnRESIZE ,
  TidyAttr_OnSCROLL ,
  TidyAttr_OnSEEKED ,
  TidyAttr_OnSEEKING ,
  TidyAttr_OnSHOW ,
  TidyAttr_OnSTALLED ,
  TidyAttr_OnSTORAGE ,
  TidyAttr_OnSUSPEND ,
  TidyAttr_OnTIMEUPDATE ,
  TidyAttr_OnUNDO ,
  TidyAttr_OnVOLUMECHANGE ,
  TidyAttr_OnWAITING ,
  TidyAttr_PATTERN ,
  TidyAttr_PLACEHOLDER ,
  TidyAttr_PLAYSINLINE ,
  TidyAttr_POSTER ,
  TidyAttr_PRELOAD ,
  TidyAttr_PUBDATE ,
  TidyAttr_RADIOGROUP ,
  TidyAttr_REQUIRED ,
  TidyAttr_REVERSED ,
  TidyAttr_SANDBOX ,
  TidyAttr_SCOPED ,
  TidyAttr_SEAMLESS ,
  TidyAttr_SIZES ,
  TidyAttr_SPELLCHECK ,
  TidyAttr_SRCDOC ,
  TidyAttr_SRCLANG ,
  TidyAttr_STEP ,
  TidyAttr_ARIA_ACTIVEDESCENDANT ,
  TidyAttr_ARIA_ATOMIC ,
  TidyAttr_ARIA_AUTOCOMPLETE ,
  TidyAttr_ARIA_BUSY ,
  TidyAttr_ARIA_CHECKED ,
  TidyAttr_ARIA_CONTROLS ,
  TidyAttr_ARIA_DESCRIBEDBY ,
  TidyAttr_ARIA_DISABLED ,
  TidyAttr_ARIA_DROPEFFECT ,
  TidyAttr_ARIA_EXPANDED ,
  TidyAttr_ARIA_FLOWTO ,
  TidyAttr_ARIA_GRABBED ,
  TidyAttr_ARIA_HASPOPUP ,
  TidyAttr_ARIA_HIDDEN ,
  TidyAttr_ARIA_INVALID ,
  TidyAttr_ARIA_LABEL ,
  TidyAttr_ARIA_LABELLEDBY ,
  TidyAttr_ARIA_LEVEL ,
  TidyAttr_ARIA_LIVE ,
  TidyAttr_ARIA_MULTILINE ,
  TidyAttr_ARIA_MULTISELECTABLE ,
  TidyAttr_ARIA_ORIENTATION ,
  TidyAttr_ARIA_OWNS ,
  TidyAttr_ARIA_POSINSET ,
  TidyAttr_ARIA_PRESSED ,
  TidyAttr_ARIA_READONLY ,
  TidyAttr_ARIA_RELEVANT ,
  TidyAttr_ARIA_REQUIRED ,
  TidyAttr_ARIA_SELECTED ,
  TidyAttr_ARIA_SETSIZE ,
  TidyAttr_ARIA_SORT ,
  TidyAttr_ARIA_VALUEMAX ,
  TidyAttr_ARIA_VALUEMIN ,
  TidyAttr_ARIA_VALUENOW ,
  TidyAttr_ARIA_VALUETEXT ,
  TidyAttr_X ,
  TidyAttr_Y ,
  TidyAttr_VIEWBOX ,
  TidyAttr_PRESERVEASPECTRATIO ,
  TidyAttr_ZOOMANDPAN ,
  TidyAttr_BASEPROFILE ,
  TidyAttr_CONTENTSCRIPTTYPE ,
  TidyAttr_CONTENTSTYLETYPE ,
  TidyAttr_DISPLAY ,
  TidyAttr_ABOUT ,
  TidyAttr_DATATYPE ,
  TidyAttr_INLIST ,
  TidyAttr_PREFIX ,
  TidyAttr_PROPERTY ,
  TidyAttr_RESOURCE ,
  TidyAttr_TYPEOF ,
  TidyAttr_VOCAB ,
  TidyAttr_INTEGRITY ,
  TidyAttr_AS ,
  TidyAttr_XMLNSXLINK ,
  TidyAttr_SLOT ,
  TidyAttr_LOADING ,
  TidyAttr_FILL ,
  TidyAttr_FILLRULE ,
  TidyAttr_STROKE ,
  TidyAttr_STROKEDASHARRAY ,
  TidyAttr_STROKEDASHOFFSET ,
  TidyAttr_STROKELINECAP ,
  TidyAttr_STROKELINEJOIN ,
  TidyAttr_STROKEMITERLIMIT ,
  TidyAttr_STROKEWIDTH ,
  TidyAttr_COLORINTERPOLATION ,
  TidyAttr_COLORRENDERING ,
  TidyAttr_OPACITY ,
  TidyAttr_STROKEOPACITY ,
  TidyAttr_FILLOPACITY ,
  N_TIDY_ATTRIBS
}
 Known HTML attributes. More...
 
enum  TidyNodeType {
  TidyNode_Root ,
  TidyNode_DocType ,
  TidyNode_Comment ,
  TidyNode_ProcIns ,
  TidyNode_Text ,
  TidyNode_Start ,
  TidyNode_End ,
  TidyNode_StartEnd ,
  TidyNode_CDATA ,
  TidyNode_Section ,
  TidyNode_Asp ,
  TidyNode_Jste ,
  TidyNode_Php ,
  TidyNode_XmlDecl
}
 Node types. More...
 
enum  TidyTagId {
  TidyTag_UNKNOWN ,
  TidyTag_A ,
  TidyTag_ABBR ,
  TidyTag_ACRONYM ,
  TidyTag_ADDRESS ,
  TidyTag_ALIGN ,
  TidyTag_APPLET ,
  TidyTag_AREA ,
  TidyTag_B ,
  TidyTag_BASE ,
  TidyTag_BASEFONT ,
  TidyTag_BDO ,
  TidyTag_BGSOUND ,
  TidyTag_BIG ,
  TidyTag_BLINK ,
  TidyTag_BLOCKQUOTE ,
  TidyTag_BODY ,
  TidyTag_BR ,
  TidyTag_BUTTON ,
  TidyTag_CAPTION ,
  TidyTag_CENTER ,
  TidyTag_CITE ,
  TidyTag_CODE ,
  TidyTag_COL ,
  TidyTag_COLGROUP ,
  TidyTag_COMMENT ,
  TidyTag_DD ,
  TidyTag_DEL ,
  TidyTag_DFN ,
  TidyTag_DIR ,
  TidyTag_DIV ,
  TidyTag_DL ,
  TidyTag_DT ,
  TidyTag_EM ,
  TidyTag_EMBED ,
  TidyTag_FIELDSET ,
  TidyTag_FONT ,
  TidyTag_FORM ,
  TidyTag_FRAME ,
  TidyTag_FRAMESET ,
  TidyTag_H1 ,
  TidyTag_H2 ,
  TidyTag_H3 ,
  TidyTag_H4 ,
  TidyTag_H5 ,
  TidyTag_H6 ,
  TidyTag_HEAD ,
  TidyTag_HR ,
  TidyTag_HTML ,
  TidyTag_I ,
  TidyTag_IFRAME ,
  TidyTag_ILAYER ,
  TidyTag_IMG ,
  TidyTag_INPUT ,
  TidyTag_INS ,
  TidyTag_ISINDEX ,
  TidyTag_KBD ,
  TidyTag_KEYGEN ,
  TidyTag_LABEL ,
  TidyTag_LAYER ,
  TidyTag_LEGEND ,
  TidyTag_LI ,
  TidyTag_LINK ,
  TidyTag_LISTING ,
  TidyTag_MAP ,
  TidyTag_MATHML ,
  TidyTag_MARQUEE ,
  TidyTag_MENU ,
  TidyTag_META ,
  TidyTag_MULTICOL ,
  TidyTag_NOBR ,
  TidyTag_NOEMBED ,
  TidyTag_NOFRAMES ,
  TidyTag_NOLAYER ,
  TidyTag_NOSAVE ,
  TidyTag_NOSCRIPT ,
  TidyTag_OBJECT ,
  TidyTag_OL ,
  TidyTag_OPTGROUP ,
  TidyTag_OPTION ,
  TidyTag_P ,
  TidyTag_PARAM ,
  TidyTag_PICTURE ,
  TidyTag_PLAINTEXT ,
  TidyTag_PRE ,
  TidyTag_Q ,
  TidyTag_RB ,
  TidyTag_RBC ,
  TidyTag_RP ,
  TidyTag_RT ,
  TidyTag_RTC ,
  TidyTag_RUBY ,
  TidyTag_S ,
  TidyTag_SAMP ,
  TidyTag_SCRIPT ,
  TidyTag_SELECT ,
  TidyTag_SERVER ,
  TidyTag_SERVLET ,
  TidyTag_SMALL ,
  TidyTag_SPACER ,
  TidyTag_SPAN ,
  TidyTag_STRIKE ,
  TidyTag_STRONG ,
  TidyTag_STYLE ,
  TidyTag_SUB ,
  TidyTag_SUP ,
  TidyTag_SVG ,
  TidyTag_TABLE ,
  TidyTag_TBODY ,
  TidyTag_TD ,
  TidyTag_TEXTAREA ,
  TidyTag_TFOOT ,
  TidyTag_TH ,
  TidyTag_THEAD ,
  TidyTag_TITLE ,
  TidyTag_TR ,
  TidyTag_TT ,
  TidyTag_U ,
  TidyTag_UL ,
  TidyTag_VAR ,
  TidyTag_WBR ,
  TidyTag_XMP ,
  TidyTag_NEXTID ,
  TidyTag_ARTICLE ,
  TidyTag_ASIDE ,
  TidyTag_AUDIO ,
  TidyTag_BDI ,
  TidyTag_CANVAS ,
  TidyTag_COMMAND ,
  TidyTag_DATA ,
  TidyTag_DATALIST ,
  TidyTag_DETAILS ,
  TidyTag_DIALOG ,
  TidyTag_FIGCAPTION ,
  TidyTag_FIGURE ,
  TidyTag_FOOTER ,
  TidyTag_HEADER ,
  TidyTag_HGROUP ,
  TidyTag_MAIN ,
  TidyTag_MARK ,
  TidyTag_MENUITEM ,
  TidyTag_METER ,
  TidyTag_NAV ,
  TidyTag_OUTPUT ,
  TidyTag_PROGRESS ,
  TidyTag_SECTION ,
  TidyTag_SOURCE ,
  TidyTag_SUMMARY ,
  TidyTag_TEMPLATE ,
  TidyTag_TIME ,
  TidyTag_TRACK ,
  TidyTag_VIDEO ,
  TidyTag_SLOT ,
  N_TIDY_TAGS
}
 Known HTML element types. More...
 
I/O and Message Handling Interface

Messages used throughout LibTidy and exposed to the public API have attributes which are communicated with these enumerations.

enum  TidyFormatParameterType {
  tidyFormatType_INT = 0 ,
  tidyFormatType_UINT ,
  tidyFormatType_STRING ,
  tidyFormatType_DOUBLE ,
  tidyFormatType_UNKNOWN = 20
}
 Indicates the data type of a format string parameter used when Tidy emits reports and dialogue as part of the messaging callback functions. More...
 
enum  TidyReportLevel {
  TidyInfo = 350 ,
  TidyWarning ,
  TidyConfig ,
  TidyAccess ,
  TidyError ,
  TidyBadDocument ,
  TidyFatal ,
  TidyDialogueSummary ,
  TidyDialogueInfo ,
  TidyDialogueFootnote ,
  TidyDialogueDoc = TidyDialogueFootnote
}
 Message severity level, used throughout LibTidy to indicate the severity or status of a message. More...
 
Messages
enum  tidyStrings {
  TIDYSTRINGS_FIRST = 500 ,
  LINE_COLUMN_STRING ,
  FN_LINE_COLUMN_STRING ,
  STRING_DISCARDING ,
  STRING_ERROR_COUNT_ERROR ,
  STRING_ERROR_COUNT_WARNING ,
  STRING_HELLO_ACCESS ,
  STRING_HTML_PROPRIETARY ,
  STRING_PLAIN_TEXT ,
  STRING_REPLACING ,
  STRING_SPECIFIED ,
  STRING_XML_DECLARATION ,
  TIDYCUSTOMNO_STRING ,
  TIDYCUSTOMBLOCKLEVEL_STRING ,
  TIDYCUSTOMEMPTY_STRING ,
  TIDYCUSTOMINLINE_STRING ,
  TIDYCUSTOMPRE_STRING ,
  FFFFFFFFFFFFFFFFFOREACH_FOOTNOTE_MSG ,
  STRING_NEEDS_INTERVENTION ,
  STRING_NO_ERRORS ,
  STRING_NOT_ALL_SHOWN ,
  TEXT_GENERAL_INFO_PLEA ,
  TEXT_GENERAL_INFO ,
  RRRRRRREPORT_MESSAGE_FIRST ,
  ADDED_MISSING_CHARSET ,
  ANCHOR_NOT_UNIQUE ,
  ANCHOR_DUPLICATED ,
  APOS_UNDEFINED ,
  ATTR_VALUE_NOT_LCASE ,
  ATTRIBUTE_IS_NOT_ALLOWED ,
  ATTRIBUTE_VALUE_REPLACED ,
  BACKSLASH_IN_URI ,
  BAD_ATTRIBUTE_VALUE_REPLACED ,
  BAD_ATTRIBUTE_VALUE ,
  BAD_CDATA_CONTENT ,
  BAD_SUMMARY_HTML5 ,
  BAD_SURROGATE_LEAD ,
  BAD_SURROGATE_PAIR ,
  BAD_SURROGATE_TAIL ,
  CANT_BE_NESTED ,
  COERCE_TO_ENDTAG ,
  CONTENT_AFTER_BODY ,
  CUSTOM_TAG_DETECTED ,
  DISCARDING_UNEXPECTED ,
  DOCTYPE_AFTER_TAGS ,
  DUPLICATE_FRAMESET ,
  ELEMENT_NOT_EMPTY ,
  ELEMENT_VERS_MISMATCH_ERROR ,
  ELEMENT_VERS_MISMATCH_WARN ,
  ENCODING_MISMATCH ,
  ESCAPED_ILLEGAL_URI ,
  FILE_CANT_OPEN ,
  FILE_CANT_OPEN_CFG ,
  FILE_NOT_FILE ,
  FIXED_BACKSLASH ,
  FOUND_STYLE_IN_BODY ,
  ID_NAME_MISMATCH ,
  ILLEGAL_NESTING ,
  ILLEGAL_URI_CODEPOINT ,
  ILLEGAL_URI_REFERENCE ,
  INSERTING_AUTO_ATTRIBUTE ,
  INSERTING_TAG ,
  INVALID_ATTRIBUTE ,
  INVALID_NCR ,
  INVALID_SGML_CHARS ,
  INVALID_UTF8 ,
  INVALID_UTF16 ,
  INVALID_XML_ID ,
  JOINING_ATTRIBUTE ,
  MALFORMED_COMMENT ,
  MALFORMED_COMMENT_DROPPING ,
  MALFORMED_COMMENT_EOS ,
  MALFORMED_COMMENT_WARN ,
  MALFORMED_DOCTYPE ,
  MISMATCHED_ATTRIBUTE_ERROR ,
  MISMATCHED_ATTRIBUTE_WARN ,
  MISSING_ATTR_VALUE ,
  MISSING_ATTRIBUTE ,
  MISSING_DOCTYPE ,
  MISSING_ENDTAG_BEFORE ,
  MISSING_ENDTAG_FOR ,
  MISSING_ENDTAG_OPTIONAL ,
  MISSING_IMAGEMAP ,
  MISSING_QUOTEMARK ,
  MISSING_QUOTEMARK_OPEN ,
  MISSING_SEMICOLON_NCR ,
  MISSING_SEMICOLON ,
  MISSING_STARTTAG ,
  MISSING_TITLE_ELEMENT ,
  MOVED_STYLE_TO_HEAD ,
  NESTED_EMPHASIS ,
  NESTED_QUOTATION ,
  NEWLINE_IN_URI ,
  NOFRAMES_CONTENT ,
  NON_MATCHING_ENDTAG ,
  OBSOLETE_ELEMENT ,
  OPTION_REMOVED ,
  OPTION_REMOVED_APPLIED ,
  OPTION_REMOVED_UNAPPLIED ,
  PREVIOUS_LOCATION ,
  PROPRIETARY_ATTR_VALUE ,
  PROPRIETARY_ATTRIBUTE ,
  PROPRIETARY_ELEMENT ,
  REMOVED_HTML5 ,
  REPEATED_ATTRIBUTE ,
  REPLACING_ELEMENT ,
  REPLACING_UNEX_ELEMENT ,
  SPACE_PRECEDING_XMLDECL ,
  STRING_CONTENT_LOOKS ,
  STRING_ARGUMENT_BAD ,
  STRING_DOCTYPE_GIVEN ,
  STRING_MISSING_MALFORMED ,
  STRING_MUTING_TYPE ,
  STRING_NO_SYSID ,
  STRING_UNKNOWN_OPTION ,
  SUSPECTED_MISSING_QUOTE ,
  TAG_NOT_ALLOWED_IN ,
  TOO_MANY_ELEMENTS_IN ,
  TOO_MANY_ELEMENTS ,
  TRIM_EMPTY_ELEMENT ,
  UNESCAPED_AMPERSAND ,
  UNEXPECTED_END_OF_FILE_ATTR ,
  UNEXPECTED_END_OF_FILE ,
  UNEXPECTED_ENDTAG_ERR ,
  UNEXPECTED_ENDTAG_IN ,
  UNEXPECTED_ENDTAG ,
  UNEXPECTED_EQUALSIGN ,
  UNEXPECTED_GT ,
  UNEXPECTED_QUOTEMARK ,
  UNKNOWN_ELEMENT_LOOKS_CUSTOM ,
  UNKNOWN_ELEMENT ,
  UNKNOWN_ENTITY ,
  USING_BR_INPLACE_OF ,
  VENDOR_SPECIFIC_CHARS ,
  WHITE_IN_URI ,
  XML_DECLARATION_DETECTED ,
  XML_ID_SYNTAX ,
  BLANK_TITLE_ELEMENT ,
  RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRREPORT_MESSAGE_LAST ,
  IMG_MISSING_ALT ,
  IMG_ALT_SUSPICIOUS_FILENAME ,
  IMG_ALT_SUSPICIOUS_FILE_SIZE ,
  IMG_ALT_SUSPICIOUS_PLACEHOLDER ,
  IMG_ALT_SUSPICIOUS_TOO_LONG ,
  IMG_MISSING_LONGDESC_DLINK ,
  IMG_MISSING_DLINK ,
  IMG_MISSING_LONGDESC ,
  IMG_BUTTON_MISSING_ALT ,
  APPLET_MISSING_ALT ,
  OBJECT_MISSING_ALT ,
  AUDIO_MISSING_TEXT_WAV ,
  AUDIO_MISSING_TEXT_AU ,
  AUDIO_MISSING_TEXT_AIFF ,
  AUDIO_MISSING_TEXT_SND ,
  AUDIO_MISSING_TEXT_RA ,
  AUDIO_MISSING_TEXT_RM ,
  FRAME_MISSING_LONGDESC ,
  AREA_MISSING_ALT ,
  SCRIPT_MISSING_NOSCRIPT ,
  ASCII_REQUIRES_DESCRIPTION ,
  IMG_MAP_SERVER_REQUIRES_TEXT_LINKS ,
  MULTIMEDIA_REQUIRES_TEXT ,
  IMG_MAP_CLIENT_MISSING_TEXT_LINKS ,
  INFORMATION_NOT_CONVEYED_IMAGE ,
  INFORMATION_NOT_CONVEYED_APPLET ,
  INFORMATION_NOT_CONVEYED_OBJECT ,
  INFORMATION_NOT_CONVEYED_SCRIPT ,
  INFORMATION_NOT_CONVEYED_INPUT ,
  COLOR_CONTRAST_TEXT ,
  COLOR_CONTRAST_LINK ,
  COLOR_CONTRAST_ACTIVE_LINK ,
  COLOR_CONTRAST_VISITED_LINK ,
  DOCTYPE_MISSING ,
  STYLE_SHEET_CONTROL_PRESENTATION ,
  HEADERS_IMPROPERLY_NESTED ,
  POTENTIAL_HEADER_BOLD ,
  POTENTIAL_HEADER_ITALICS ,
  POTENTIAL_HEADER_UNDERLINE ,
  HEADER_USED_FORMAT_TEXT ,
  LIST_USAGE_INVALID_UL ,
  LIST_USAGE_INVALID_OL ,
  LIST_USAGE_INVALID_LI ,
  LANGUAGE_NOT_IDENTIFIED ,
  LANGUAGE_INVALID ,
  DATA_TABLE_MISSING_HEADERS ,
  DATA_TABLE_MISSING_HEADERS_COLUMN ,
  DATA_TABLE_MISSING_HEADERS_ROW ,
  DATA_TABLE_REQUIRE_MARKUP_COLUMN_HEADERS ,
  DATA_TABLE_REQUIRE_MARKUP_ROW_HEADERS ,
  LAYOUT_TABLES_LINEARIZE_PROPERLY ,
  LAYOUT_TABLE_INVALID_MARKUP ,
  TABLE_MISSING_SUMMARY ,
  TABLE_SUMMARY_INVALID_NULL ,
  TABLE_SUMMARY_INVALID_SPACES ,
  TABLE_SUMMARY_INVALID_PLACEHOLDER ,
  TABLE_MISSING_CAPTION ,
  TABLE_MAY_REQUIRE_HEADER_ABBR ,
  TABLE_MAY_REQUIRE_HEADER_ABBR_NULL ,
  TABLE_MAY_REQUIRE_HEADER_ABBR_SPACES ,
  STYLESHEETS_REQUIRE_TESTING_LINK ,
  STYLESHEETS_REQUIRE_TESTING_STYLE_ELEMENT ,
  STYLESHEETS_REQUIRE_TESTING_STYLE_ATTR ,
  FRAME_SRC_INVALID ,
  TEXT_EQUIVALENTS_REQUIRE_UPDATING_APPLET ,
  TEXT_EQUIVALENTS_REQUIRE_UPDATING_SCRIPT ,
  TEXT_EQUIVALENTS_REQUIRE_UPDATING_OBJECT ,
  PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_SCRIPT ,
  PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_OBJECT ,
  PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_EMBED ,
  PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_APPLET ,
  FRAME_MISSING_NOFRAMES ,
  NOFRAMES_INVALID_NO_VALUE ,
  NOFRAMES_INVALID_CONTENT ,
  NOFRAMES_INVALID_LINK ,
  REMOVE_FLICKER_SCRIPT ,
  REMOVE_FLICKER_OBJECT ,
  REMOVE_FLICKER_EMBED ,
  REMOVE_FLICKER_APPLET ,
  REMOVE_FLICKER_ANIMATED_GIF ,
  REMOVE_BLINK_MARQUEE ,
  REMOVE_AUTO_REFRESH ,
  REMOVE_AUTO_REDIRECT ,
  ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_SCRIPT ,
  ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_OBJECT ,
  ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_APPLET ,
  ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_EMBED ,
  IMAGE_MAP_SERVER_SIDE_REQUIRES_CONVERSION ,
  SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_DOWN ,
  SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_UP ,
  SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_CLICK ,
  SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OVER ,
  SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OUT ,
  SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_MOVE ,
  NEW_WINDOWS_REQUIRE_WARNING_NEW ,
  NEW_WINDOWS_REQUIRE_WARNING_BLANK ,
  REPLACE_DEPRECATED_HTML_APPLET ,
  REPLACE_DEPRECATED_HTML_BASEFONT ,
  REPLACE_DEPRECATED_HTML_CENTER ,
  REPLACE_DEPRECATED_HTML_DIR ,
  REPLACE_DEPRECATED_HTML_FONT ,
  REPLACE_DEPRECATED_HTML_ISINDEX ,
  REPLACE_DEPRECATED_HTML_MENU ,
  REPLACE_DEPRECATED_HTML_S ,
  REPLACE_DEPRECATED_HTML_STRIKE ,
  REPLACE_DEPRECATED_HTML_U ,
  FRAME_MISSING_TITLE ,
  FRAME_TITLE_INVALID_NULL ,
  FRAME_TITLE_INVALID_SPACES ,
  ASSOCIATE_LABELS_EXPLICITLY ,
  ASSOCIATE_LABELS_EXPLICITLY_FOR ,
  ASSOCIATE_LABELS_EXPLICITLY_ID ,
  LINK_TEXT_NOT_MEANINGFUL ,
  LINK_TEXT_MISSING ,
  LINK_TEXT_TOO_LONG ,
  LINK_TEXT_NOT_MEANINGFUL_CLICK_HERE ,
  METADATA_MISSING ,
  METADATA_MISSING_REDIRECT_AUTOREFRESH ,
  SKIPOVER_ASCII_ART ,
  TC_LABEL_COL ,
  TC_LABEL_FILE ,
  TC_LABEL_LANG ,
  TC_LABEL_LEVL ,
  TC_LABEL_OPT ,
  TC_MAIN_ERROR_LOAD_CONFIG ,
  TC_OPT_ACCESS ,
  TC_OPT_ASCII ,
  TC_OPT_ASHTML ,
  TC_OPT_ASXML ,
  TC_OPT_BARE ,
  TC_OPT_BIG5 ,
  TC_OPT_CLEAN ,
  TC_OPT_CONFIG ,
  TC_OPT_ERRORS ,
  TC_OPT_FILE ,
  TC_OPT_GDOC ,
  TC_OPT_HELP ,
  TC_OPT_HELPCFG ,
  TC_OPT_HELPENV ,
  TC_OPT_HELPOPT ,
  TC_OPT_IBM858 ,
  TC_OPT_INDENT ,
  TC_OPT_ISO2022 ,
  TC_OPT_LANGUAGE ,
  TC_OPT_LATIN0 ,
  TC_OPT_LATIN1 ,
  TC_OPT_MAC ,
  TC_OPT_MODIFY ,
  TC_OPT_NUMERIC ,
  TC_OPT_OMIT ,
  TC_OPT_OUTPUT ,
  TC_OPT_QUIET ,
  TC_OPT_RAW ,
  TC_OPT_SHIFTJIS ,
  TC_OPT_SHOWCFG ,
  TC_OPT_EXP_CFG ,
  TC_OPT_EXP_DEF ,
  TC_OPT_UPPER ,
  TC_OPT_UTF16 ,
  TC_OPT_UTF16BE ,
  TC_OPT_UTF16LE ,
  TC_OPT_UTF8 ,
  TC_OPT_VERSION ,
  TC_OPT_WIN1252 ,
  TC_OPT_WRAP ,
  TC_OPT_XML ,
  TC_OPT_XMLCFG ,
  TC_OPT_XMLSTRG ,
  TC_OPT_XMLERRS ,
  TC_OPT_XMLOPTS ,
  TC_OPT_XMLHELP ,
  TC_STRING_CONF_HEADER ,
  TC_STRING_CONF_NAME ,
  TC_STRING_CONF_TYPE ,
  TC_STRING_CONF_VALUE ,
  TC_STRING_CONF_NOTE ,
  TC_STRING_OPT_NOT_DOCUMENTED ,
  TC_STRING_OUT_OF_MEMORY ,
  TC_STRING_FATAL_ERROR ,
  TC_STRING_FILE_MANIP ,
  TC_STRING_LANG_MUST_SPECIFY ,
  TC_STRING_LANG_NOT_FOUND ,
  TC_STRING_MUST_SPECIFY ,
  TC_STRING_PROCESS_DIRECTIVES ,
  TC_STRING_CHAR_ENCODING ,
  TC_STRING_MISC ,
  TC_STRING_XML ,
  TC_STRING_UNKNOWN_OPTION ,
  TC_STRING_UNKNOWN_OPTION_B ,
  TC_STRING_VERS_A ,
  TC_STRING_VERS_B ,
  TC_TXT_HELP_1 ,
  TC_TXT_HELP_2A ,
  TC_TXT_HELP_2B ,
  TC_TXT_HELP_3 ,
  TC_TXT_HELP_3A ,
  TC_TXT_HELP_CONFIG ,
  TC_TXT_HELP_CONFIG_NAME ,
  TC_TXT_HELP_CONFIG_TYPE ,
  TC_TXT_HELP_CONFIG_ALLW ,
  TC_TXT_HELP_ENV_1 ,
  TC_TXT_HELP_ENV_1A ,
  TC_TXT_HELP_ENV_1B ,
  TC_TXT_HELP_ENV_1C ,
  TC_TXT_HELP_LANG_1 ,
  TC_TXT_HELP_LANG_2 ,
  TC_TXT_HELP_LANG_3 ,
  TIDYSTRINGS_LAST
}
 The enumeration contains a list of every possible string that Tidy and the console application can output, except for strings from the following enumerations: More...