HTML Tidy 5.8.0
The HTACG Tidy HTML Project
 
Loading...
Searching...
No Matches
Public Enumerations

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.

Configuration Options Enumerations

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

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  TidyConfigCategory {
  TidyUnknownCategory = 300 ,
  MAKE_ENUM =(TidyDiagnostics) MAKE_ENUM(TidyDisplay) MAKE_ENUM(TidyDocumentIO) MAKE_ENUM(TidyEncoding) MAKE_ENUM(TidyFileIO) MAKE_ENUM(TidyMarkupCleanup) MAKE_ENUM(TidyMarkupEntities) MAKE_ENUM(TidyMarkupRepair) MAKE_ENUM(TidyMarkupTeach) MAKE_ENUM(TidyMarkupXForm) MAKE_ENUM(TidyPrettyPrint) MAKE_ENUM(TidyInternalCategory)
}
 Categories of Tidy configuration options, which are used mostly by user interfaces to sort Tidy options into related groups. 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  TidyTriState {
  TidyNoState = 0 ,
  TidyYesState ,
  TidyAutoState
}
 AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM. 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...
 
enum  TidyLineEnding {
  TidyLF = 0 ,
  TidyCRLF ,
  TidyCR
}
 TidyNewline option values to control output line endings. 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  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  TidyAttrSortStrategy {
  TidySortAttrNone = 0 ,
  TidySortAttrAlpha
}
 Mode controlling treatment of sorting attributes. More...
 
enum  TidyUppercase {
  TidyUppercaseNo = 0 ,
  TidyUppercaseYes ,
  TidyUppercasePreserve
}
 Mode controlling capitalization of things, such as attributes. More...
 

Document Tree

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...
 
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...
 

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  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...
 
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...
 

Messages

enum  tidyStrings {
  TIDYSTRINGS_FIRST = 500 ,
  MAKE_ENUM =(TidyDiagnostics) MAKE_ENUM(TidyDisplay) MAKE_ENUM(TidyDocumentIO) MAKE_ENUM(TidyEncoding) MAKE_ENUM(TidyFileIO) MAKE_ENUM(TidyMarkupCleanup) MAKE_ENUM(TidyMarkupEntities) MAKE_ENUM(TidyMarkupRepair) MAKE_ENUM(TidyMarkupTeach) MAKE_ENUM(TidyMarkupXForm) MAKE_ENUM(TidyPrettyPrint) MAKE_ENUM(TidyInternalCategory) ,
  MAKE_ENUM =(TidyDiagnostics) MAKE_ENUM(TidyDisplay) MAKE_ENUM(TidyDocumentIO) MAKE_ENUM(TidyEncoding) MAKE_ENUM(TidyFileIO) MAKE_ENUM(TidyMarkupCleanup) MAKE_ENUM(TidyMarkupEntities) MAKE_ENUM(TidyMarkupRepair) MAKE_ENUM(TidyMarkupTeach) MAKE_ENUM(TidyMarkupXForm) MAKE_ENUM(TidyPrettyPrint) MAKE_ENUM(TidyInternalCategory) ,
  MAKE_ENUM =(TidyDiagnostics) MAKE_ENUM(TidyDisplay) MAKE_ENUM(TidyDocumentIO) MAKE_ENUM(TidyEncoding) MAKE_ENUM(TidyFileIO) MAKE_ENUM(TidyMarkupCleanup) MAKE_ENUM(TidyMarkupEntities) MAKE_ENUM(TidyMarkupRepair) MAKE_ENUM(TidyMarkupTeach) MAKE_ENUM(TidyMarkupXForm) MAKE_ENUM(TidyPrettyPrint) MAKE_ENUM(TidyInternalCategory)
}
 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...
 

Enumeration Type Documentation

◆ TidyAttrId

enum TidyAttrId

Known HTML attributes.

Enumerator
TidyAttr_UNKNOWN 

UNKNOWN=.

TidyAttr_ABBR 

ABBR=.

TidyAttr_ACCEPT 

ACCEPT=.

TidyAttr_ACCEPT_CHARSET 

ACCEPT_CHARSET=.

TidyAttr_ACCESSKEY 

ACCESSKEY=.

TidyAttr_ACTION 

ACTION=.

TidyAttr_ADD_DATE 

ADD_DATE=.

TidyAttr_ALIGN 

ALIGN=.

TidyAttr_ALINK 

ALINK=.

TidyAttr_ALLOWFULLSCREEN 

ALLOWFULLSCREEN=.

TidyAttr_ALT 

ALT=.

TidyAttr_ARCHIVE 

ARCHIVE=.

TidyAttr_AXIS 

AXIS=.

TidyAttr_BACKGROUND 

BACKGROUND=.

TidyAttr_BGCOLOR 

BGCOLOR=.

TidyAttr_BGPROPERTIES 

BGPROPERTIES=.

TidyAttr_BORDER 

BORDER=.

TidyAttr_BORDERCOLOR 

BORDERCOLOR=.

TidyAttr_BOTTOMMARGIN 

BOTTOMMARGIN=.

TidyAttr_CELLPADDING 

CELLPADDING=.

TidyAttr_CELLSPACING 

CELLSPACING=.

TidyAttr_CHAR 

CHAR=.

TidyAttr_CHAROFF 

CHAROFF=.

TidyAttr_CHARSET 

CHARSET=.

TidyAttr_CHECKED 

CHECKED=.

TidyAttr_CITE 

CITE=.

TidyAttr_CLASS 

CLASS=.

TidyAttr_CLASSID 

CLASSID=.

TidyAttr_CLEAR 

CLEAR=.

TidyAttr_CODE 

CODE=.

TidyAttr_CODEBASE 

CODEBASE=.

TidyAttr_CODETYPE 

CODETYPE=.

TidyAttr_COLOR 

COLOR=.

TidyAttr_COLS 

COLS=.

TidyAttr_COLSPAN 

COLSPAN=.

TidyAttr_COMPACT 

COMPACT=.

TidyAttr_CONTENT 

CONTENT=.

TidyAttr_COORDS 

COORDS=.

TidyAttr_DATA 

DATA=.

TidyAttr_DATAFLD 

DATAFLD=.

TidyAttr_DATAFORMATAS 

DATAFORMATAS=.

TidyAttr_DATAPAGESIZE 

DATAPAGESIZE=.

TidyAttr_DATASRC 

DATASRC=.

TidyAttr_DATETIME 

DATETIME=.

TidyAttr_DECLARE 

DECLARE=.

TidyAttr_DEFER 

DEFER=.

TidyAttr_DIR 

DIR=.

TidyAttr_DISABLED 

DISABLED=.

TidyAttr_DOWNLOAD 

DOWNLOAD=.

TidyAttr_ENCODING 

ENCODING=.

TidyAttr_ENCTYPE 

ENCTYPE=.

TidyAttr_FACE 

FACE=.

TidyAttr_FOR 

FOR=.

TidyAttr_FRAME 

FRAME=.

TidyAttr_FRAMEBORDER 

FRAMEBORDER=.

TidyAttr_FRAMESPACING 

FRAMESPACING=.

TidyAttr_GRIDX 

GRIDX=.

TidyAttr_GRIDY 

GRIDY=.

TidyAttr_HEADERS 

HEADERS=.

TidyAttr_HEIGHT 

HEIGHT=.

TidyAttr_HREF 

HREF=.

TidyAttr_HREFLANG 

HREFLANG=.

TidyAttr_HSPACE 

HSPACE=.

TidyAttr_HTTP_EQUIV 

HTTP_EQUIV=.

TidyAttr_ID 

ID=.

TidyAttr_IS 

IS=.

TidyAttr_ISMAP 

ISMAP=.

TidyAttr_ITEMID 

ITEMID=.

TidyAttr_ITEMPROP 

ITEMPROP=.

TidyAttr_ITEMREF 

ITEMREF=.

TidyAttr_ITEMSCOPE 

ITEMSCOPE=.

TidyAttr_ITEMTYPE 

ITEMTYPE=.

TidyAttr_LABEL 

LABEL=.

TidyAttr_LANG 

LANG=.

TidyAttr_LANGUAGE 

LANGUAGE=.

TidyAttr_LAST_MODIFIED 

LAST_MODIFIED=.

TidyAttr_LAST_VISIT 

LAST_VISIT=.

TidyAttr_LEFTMARGIN 

LEFTMARGIN=.

TidyAttr_LINK 

LINK=.

TidyAttr_LONGDESC 

LONGDESC=.

TidyAttr_LOWSRC 

LOWSRC=.

TidyAttr_MARGINHEIGHT 

MARGINHEIGHT=.

TidyAttr_MARGINWIDTH 

MARGINWIDTH=.

TidyAttr_MAXLENGTH 

MAXLENGTH=.

TidyAttr_MEDIA 

MEDIA=.

TidyAttr_METHOD 

METHOD=.

TidyAttr_MULTIPLE 

MULTIPLE=.

TidyAttr_NAME 

NAME=.

TidyAttr_NOHREF 

NOHREF=.

TidyAttr_NORESIZE 

NORESIZE=.

TidyAttr_NOSHADE 

NOSHADE=.

TidyAttr_NOWRAP 

NOWRAP=.

TidyAttr_OBJECT 

OBJECT=.

TidyAttr_OnAFTERUPDATE 

OnAFTERUPDATE=.

TidyAttr_OnBEFOREUNLOAD 

OnBEFOREUNLOAD=.

TidyAttr_OnBEFOREUPDATE 

OnBEFOREUPDATE=.

TidyAttr_OnBLUR 

OnBLUR=.

TidyAttr_OnCHANGE 

OnCHANGE=.

TidyAttr_OnCLICK 

OnCLICK=.

TidyAttr_OnDATAAVAILABLE 

OnDATAAVAILABLE=.

TidyAttr_OnDATASETCHANGED 

OnDATASETCHANGED=.

TidyAttr_OnDATASETCOMPLETE 

OnDATASETCOMPLETE=.

TidyAttr_OnDBLCLICK 

OnDBLCLICK=.

TidyAttr_OnERRORUPDATE 

OnERRORUPDATE=.

TidyAttr_OnFOCUS 

OnFOCUS=.

TidyAttr_OnKEYDOWN 

OnKEYDOWN=.

TidyAttr_OnKEYPRESS 

OnKEYPRESS=.

TidyAttr_OnKEYUP 

OnKEYUP=.

TidyAttr_OnLOAD 

OnLOAD=.

TidyAttr_OnMOUSEDOWN 

OnMOUSEDOWN=.

TidyAttr_OnMOUSEMOVE 

OnMOUSEMOVE=.

TidyAttr_OnMOUSEOUT 

OnMOUSEOUT=.

TidyAttr_OnMOUSEOVER 

OnMOUSEOVER=.

TidyAttr_OnMOUSEUP 

OnMOUSEUP=.

TidyAttr_OnRESET 

OnRESET=.

TidyAttr_OnROWENTER 

OnROWENTER=.

TidyAttr_OnROWEXIT 

OnROWEXIT=.

TidyAttr_OnSELECT 

OnSELECT=.

TidyAttr_OnSUBMIT 

OnSUBMIT=.

TidyAttr_OnUNLOAD 

OnUNLOAD=.

TidyAttr_PROFILE 

PROFILE=.

TidyAttr_PROMPT 

PROMPT=.

TidyAttr_RBSPAN 

RBSPAN=.

TidyAttr_READONLY 

READONLY=.

TidyAttr_REL 

REL=.

TidyAttr_REV 

REV=.

TidyAttr_RIGHTMARGIN 

RIGHTMARGIN=.

TidyAttr_ROLE 

ROLE=.

TidyAttr_ROWS 

ROWS=.

TidyAttr_ROWSPAN 

ROWSPAN=.

TidyAttr_RULES 

RULES=.

TidyAttr_SCHEME 

SCHEME=.

TidyAttr_SCOPE 

SCOPE=.

TidyAttr_SCROLLING 

SCROLLING=.

TidyAttr_SELECTED 

SELECTED=.

TidyAttr_SHAPE 

SHAPE=.

TidyAttr_SHOWGRID 

SHOWGRID=.

TidyAttr_SHOWGRIDX 

SHOWGRIDX=.

TidyAttr_SHOWGRIDY 

SHOWGRIDY=.

TidyAttr_SIZE 

SIZE=.

TidyAttr_SPAN 

SPAN=.

TidyAttr_SRC 

SRC=.

TidyAttr_SRCSET 

SRCSET= (HTML5)

TidyAttr_STANDBY 

STANDBY=.

TidyAttr_START 

START=.

TidyAttr_STYLE 

STYLE=.

TidyAttr_SUMMARY 

SUMMARY=.

TidyAttr_TABINDEX 

TABINDEX=.

TidyAttr_TARGET 

TARGET=.

TidyAttr_TEXT 

TEXT=.

TidyAttr_TITLE 

TITLE=.

TidyAttr_TOPMARGIN 

TOPMARGIN=.

TidyAttr_TRANSLATE 

TRANSLATE=.

TidyAttr_TYPE 

TYPE=.

TidyAttr_USEMAP 

USEMAP=.

TidyAttr_VALIGN 

VALIGN=.

TidyAttr_VALUE 

VALUE=.

TidyAttr_VALUETYPE 

VALUETYPE=.

TidyAttr_VERSION 

VERSION=.

TidyAttr_VLINK 

VLINK=.

TidyAttr_VSPACE 

VSPACE=.

TidyAttr_WIDTH 

WIDTH=.

TidyAttr_WRAP 

WRAP=.

TidyAttr_XML_LANG 

XML_LANG=.

TidyAttr_XML_SPACE 

XML_SPACE=.

TidyAttr_XMLNS 

XMLNS=.

TidyAttr_EVENT 

EVENT=.

TidyAttr_METHODS 

METHODS=.

TidyAttr_N 

N=.

TidyAttr_SDAFORM 

SDAFORM=.

TidyAttr_SDAPREF 

SDAPREF=.

TidyAttr_SDASUFF 

SDASUFF=.

TidyAttr_URN 

URN=.

TidyAttr_ASYNC 

ASYNC=.

TidyAttr_AUTOCOMPLETE 

AUTOCOMPLETE=.

TidyAttr_AUTOFOCUS 

AUTOFOCUS=.

TidyAttr_AUTOPLAY 

AUTOPLAY=.

TidyAttr_CHALLENGE 

CHALLENGE=.

TidyAttr_CONTENTEDITABLE 

CONTENTEDITABLE=.

TidyAttr_CONTEXTMENU 

CONTEXTMENU=.

TidyAttr_CONTROLS 

CONTROLS=.

TidyAttr_CROSSORIGIN 

CROSSORIGIN=.

TidyAttr_DEFAULT 

DEFAULT=.

TidyAttr_DIRNAME 

DIRNAME=.

TidyAttr_DRAGGABLE 

DRAGGABLE=.

TidyAttr_DROPZONE 

DROPZONE=.

TidyAttr_FORM 

FORM=.

TidyAttr_FORMACTION 

FORMACTION=.

TidyAttr_FORMENCTYPE 

FORMENCTYPE=.

TidyAttr_FORMMETHOD 

FORMMETHOD=.

TidyAttr_FORMNOVALIDATE 

FORMNOVALIDATE=.

TidyAttr_FORMTARGET 

FORMTARGET=.

TidyAttr_HIDDEN 

HIDDEN=.

TidyAttr_HIGH 

HIGH=.

TidyAttr_ICON 

ICON=.

TidyAttr_KEYTYPE 

KEYTYPE=.

TidyAttr_KIND 

KIND=.

TidyAttr_LIST 

LIST=.

TidyAttr_LOOP 

LOOP=.

TidyAttr_LOW 

LOW=.

TidyAttr_MANIFEST 

MANIFEST=.

TidyAttr_MAX 

MAX=.

TidyAttr_MEDIAGROUP 

MEDIAGROUP=.

TidyAttr_MIN 

MIN=.

TidyAttr_MUTED 

MUTED=.

TidyAttr_NOVALIDATE 

NOVALIDATE=.

TidyAttr_OPEN 

OPEN=.

TidyAttr_OPTIMUM 

OPTIMUM=.

TidyAttr_OnABORT 

OnABORT=.

TidyAttr_OnAFTERPRINT 

OnAFTERPRINT=.

TidyAttr_OnBEFOREPRINT 

OnBEFOREPRINT=.

TidyAttr_OnCANPLAY 

OnCANPLAY=.

TidyAttr_OnCANPLAYTHROUGH 

OnCANPLAYTHROUGH=.

TidyAttr_OnCONTEXTMENU 

OnCONTEXTMENU=.

TidyAttr_OnCUECHANGE 

OnCUECHANGE=.

TidyAttr_OnDRAG 

OnDRAG=.

TidyAttr_OnDRAGEND 

OnDRAGEND=.

TidyAttr_OnDRAGENTER 

OnDRAGENTER=.

TidyAttr_OnDRAGLEAVE 

OnDRAGLEAVE=.

TidyAttr_OnDRAGOVER 

OnDRAGOVER=.

TidyAttr_OnDRAGSTART 

OnDRAGSTART=.

TidyAttr_OnDROP 

OnDROP=.

TidyAttr_OnDURATIONCHANGE 

OnDURATIONCHANGE=.

TidyAttr_OnEMPTIED 

OnEMPTIED=.

TidyAttr_OnENDED 

OnENDED=.

TidyAttr_OnERROR 

OnERROR=.

TidyAttr_OnHASHCHANGE 

OnHASHCHANGE=.

TidyAttr_OnINPUT 

OnINPUT=.

TidyAttr_OnINVALID 

OnINVALID=.

TidyAttr_OnLOADEDDATA 

OnLOADEDDATA=.

TidyAttr_OnLOADEDMETADATA 

OnLOADEDMETADATA=.

TidyAttr_OnLOADSTART 

OnLOADSTART=.

TidyAttr_OnMESSAGE 

OnMESSAGE=.

TidyAttr_OnMOUSEWHEEL 

OnMOUSEWHEEL=.

TidyAttr_OnOFFLINE 

OnOFFLINE=.

TidyAttr_OnONLINE 

OnONLINE=.

TidyAttr_OnPAGEHIDE 

OnPAGEHIDE=.

TidyAttr_OnPAGESHOW 

OnPAGESHOW=.

TidyAttr_OnPAUSE 

OnPAUSE=.

TidyAttr_OnPLAY 

OnPLAY=.

TidyAttr_OnPLAYING 

OnPLAYING=.

TidyAttr_OnPOPSTATE 

OnPOPSTATE=.

TidyAttr_OnPROGRESS 

OnPROGRESS=.

TidyAttr_OnRATECHANGE 

OnRATECHANGE=.

TidyAttr_OnREADYSTATECHANGE 

OnREADYSTATECHANGE=.

TidyAttr_OnREDO 

OnREDO=.

TidyAttr_OnRESIZE 

OnRESIZE=.

TidyAttr_OnSCROLL 

OnSCROLL=.

TidyAttr_OnSEEKED 

OnSEEKED=.

TidyAttr_OnSEEKING 

OnSEEKING=.

TidyAttr_OnSHOW 

OnSHOW=.

TidyAttr_OnSTALLED 

OnSTALLED=.

TidyAttr_OnSTORAGE 

OnSTORAGE=.

TidyAttr_OnSUSPEND 

OnSUSPEND=.

TidyAttr_OnTIMEUPDATE 

OnTIMEUPDATE=.

TidyAttr_OnUNDO 

OnUNDO=.

TidyAttr_OnVOLUMECHANGE 

OnVOLUMECHANGE=.

TidyAttr_OnWAITING 

OnWAITING=.

TidyAttr_PATTERN 

PATTERN=.

TidyAttr_PLACEHOLDER 

PLACEHOLDER=.

TidyAttr_PLAYSINLINE 

PLAYSINLINE=.

TidyAttr_POSTER 

POSTER=.

TidyAttr_PRELOAD 

PRELOAD=.

TidyAttr_PUBDATE 

PUBDATE=.

TidyAttr_RADIOGROUP 

RADIOGROUP=.

TidyAttr_REQUIRED 

REQUIRED=.

TidyAttr_REVERSED 

REVERSED=.

TidyAttr_SANDBOX 

SANDBOX=.

TidyAttr_SCOPED 

SCOPED=.

TidyAttr_SEAMLESS 

SEAMLESS=.

TidyAttr_SIZES 

SIZES=.

TidyAttr_SPELLCHECK 

SPELLCHECK=.

TidyAttr_SRCDOC 

SRCDOC=.

TidyAttr_SRCLANG 

SRCLANG=.

TidyAttr_STEP 

STEP=.

TidyAttr_ARIA_ACTIVEDESCENDANT 

ARIA_ACTIVEDESCENDANT.

TidyAttr_ARIA_ATOMIC 

ARIA_ATOMIC=.

TidyAttr_ARIA_AUTOCOMPLETE 

ARIA_AUTOCOMPLETE=.

TidyAttr_ARIA_BUSY 

ARIA_BUSY=.

TidyAttr_ARIA_CHECKED 

ARIA_CHECKED=.

TidyAttr_ARIA_CONTROLS 

ARIA_CONTROLS=.

TidyAttr_ARIA_DESCRIBEDBY 

ARIA_DESCRIBEDBY=.

TidyAttr_ARIA_DISABLED 

ARIA_DISABLED=.

TidyAttr_ARIA_DROPEFFECT 

ARIA_DROPEFFECT=.

TidyAttr_ARIA_EXPANDED 

ARIA_EXPANDED=.

TidyAttr_ARIA_FLOWTO 

ARIA_FLOWTO=.

TidyAttr_ARIA_GRABBED 

ARIA_GRABBED=.

TidyAttr_ARIA_HASPOPUP 

ARIA_HASPOPUP=.

TidyAttr_ARIA_HIDDEN 

ARIA_HIDDEN=.

TidyAttr_ARIA_INVALID 

ARIA_INVALID=.

TidyAttr_ARIA_LABEL 

ARIA_LABEL=.

TidyAttr_ARIA_LABELLEDBY 

ARIA_LABELLEDBY=.

TidyAttr_ARIA_LEVEL 

ARIA_LEVEL=.

TidyAttr_ARIA_LIVE 

ARIA_LIVE=.

TidyAttr_ARIA_MULTILINE 

ARIA_MULTILINE=.

TidyAttr_ARIA_MULTISELECTABLE 

ARIA_MULTISELECTABLE=.

TidyAttr_ARIA_ORIENTATION 

ARIA_ORIENTATION=.

TidyAttr_ARIA_OWNS 

ARIA_OWNS=.

TidyAttr_ARIA_POSINSET 

ARIA_POSINSET=.

TidyAttr_ARIA_PRESSED 

ARIA_PRESSED=.

TidyAttr_ARIA_READONLY 

ARIA_READONLY=.

TidyAttr_ARIA_RELEVANT 

ARIA_RELEVANT=.

TidyAttr_ARIA_REQUIRED 

ARIA_REQUIRED=.

TidyAttr_ARIA_SELECTED 

ARIA_SELECTED=.

TidyAttr_ARIA_SETSIZE 

ARIA_SETSIZE=.

TidyAttr_ARIA_SORT 

ARIA_SORT=.

TidyAttr_ARIA_VALUEMAX 

ARIA_VALUEMAX=.

TidyAttr_ARIA_VALUEMIN 

ARIA_VALUEMIN=.

TidyAttr_ARIA_VALUENOW 

ARIA_VALUENOW=.

TidyAttr_ARIA_VALUETEXT 

ARIA_VALUETEXT=.

TidyAttr_X 

X=.

TidyAttr_Y 

Y=.

TidyAttr_VIEWBOX 

VIEWBOX=.

TidyAttr_PRESERVEASPECTRATIO 

PRESERVEASPECTRATIO=.

TidyAttr_ZOOMANDPAN 

ZOOMANDPAN=.

TidyAttr_BASEPROFILE 

BASEPROFILE=.

TidyAttr_CONTENTSCRIPTTYPE 

CONTENTSCRIPTTYPE=.

TidyAttr_CONTENTSTYLETYPE 

CONTENTSTYLETYPE=.

TidyAttr_DISPLAY 

DISPLAY= (html5)

TidyAttr_ABOUT 

ABOUT=.

TidyAttr_DATATYPE 

DATATYPE=.

TidyAttr_INLIST 

INLIST=.

TidyAttr_PREFIX 

PREFIX=.

TidyAttr_PROPERTY 

PROPERTY=.

TidyAttr_RESOURCE 

RESOURCE=.

TidyAttr_TYPEOF 

TYPEOF=.

TidyAttr_VOCAB 

VOCAB=.

TidyAttr_INTEGRITY 

INTEGRITY=.

TidyAttr_AS 

AS=.

TidyAttr_XMLNSXLINK 

svg xmls:xlink="url"

TidyAttr_SLOT 

SLOT=.

TidyAttr_LOADING 

LOADING=.

TidyAttr_FILL 

FILL=.

TidyAttr_FILLRULE 

FILLRULE=.

TidyAttr_STROKE 

STROKE=.

TidyAttr_STROKEDASHARRAY 

STROKEDASHARRAY=.

TidyAttr_STROKEDASHOFFSET 

STROKEDASHOFFSET=.

TidyAttr_STROKELINECAP 

STROKELINECAP=.

TidyAttr_STROKELINEJOIN 

STROKELINEJOIN=.

TidyAttr_STROKEMITERLIMIT 

STROKEMITERLIMIT=.

TidyAttr_STROKEWIDTH 

STROKEWIDTH=.

TidyAttr_COLORINTERPOLATION 

COLORINTERPOLATION=.

TidyAttr_COLORRENDERING 

COLORRENDERING=.

TidyAttr_OPACITY 

OPACITY=.

TidyAttr_STROKEOPACITY 

STROKEOPACITY=.

TidyAttr_FILLOPACITY 

FILLOPACITY=.

N_TIDY_ATTRIBS 

Must be last.

◆ TidyAttrSortStrategy

Mode controlling treatment of sorting attributes.

Remarks
This enum's starting value is guaranteed to remain stable.
Enumerator
TidySortAttrNone 

Don't sort attributes.

TidySortAttrAlpha 

Sort attributes alphabetically.

◆ TidyConfigCategory

Categories of Tidy configuration options, which are used mostly by user interfaces to sort Tidy options into related groups.

Remarks
These enum members all have associated localized strings available suitable for use as a category label, and are available with either the enum value, or a string version of the name.
See also
config.c:option_defs[] for internal implementation details.
Enumerator
TidyUnknownCategory 

Unknown Category!

MAKE_ENUM 

Diagnostics.

[1.1.1.1]

line d column d

Affecting screen display Pertaining to document I/O Relating to encoding Pertaining to file I/O Cleanup related options Entity related options Document repair related options Teach tidy new things Transform HTML one way or another Pretty printing options Option is internal only.

◆ TidyDoctypeModes

Mode controlling treatment of doctype.

Remarks
This enum's starting value is guaranteed to remain stable.
Enumerator
TidyDoctypeHtml5 

<!DOCTYPE html>

TidyDoctypeOmit 

Omit DOCTYPE altogether.

TidyDoctypeAuto 

Keep DOCTYPE in input.

Set version to content

TidyDoctypeStrict 

Convert document to HTML 4 strict content model.

TidyDoctypeLoose 

Convert document to HTML 4 transitional content model.

TidyDoctypeUser 

Set DOCTYPE FPI explicitly.

◆ TidyDupAttrModes

Mode controlling treatment of duplicate Attributes.

Remarks
This enum's starting value is guaranteed to remain stable.
Enumerator
TidyKeepFirst 

Keep the first instance of an attribute.

TidyKeepLast 

Keep the last instance of an attribute.

◆ TidyEncodingOptions

TidyEncodingOptions option values specify the input and/or output encoding.

Remarks
This enum's starting value is guaranteed to remain stable.
Enumerator
TidyEncRaw 
TidyEncAscii 
TidyEncLatin0 
TidyEncLatin1 
TidyEncUtf8 
TidyEncIso2022 
TidyEncMac 
TidyEncWin1252 
TidyEncIbm858 
TidyEncUtf16le 
TidyEncUtf16be 
TidyEncUtf16 
TidyEncBig5 
TidyEncShiftjis 

◆ TidyFormatParameterType

Indicates the data type of a format string parameter used when Tidy emits reports and dialogue as part of the messaging callback functions.

See messageobj.h for more information on this API.

Enumerator
tidyFormatType_INT 

Argument is signed integer.

tidyFormatType_UINT 

Argument is unsigned integer.

tidyFormatType_STRING 

Argument is a string.

tidyFormatType_DOUBLE 

Argument is a double.

tidyFormatType_UNKNOWN 

Argument type is unknown!

◆ TidyLineEnding

TidyNewline option values to control output line endings.

Remarks
This enum's starting value is guaranteed to remain stable.
Enumerator
TidyLF 

Use Unix style: LF.

TidyCRLF 

Use DOS/Windows style: CR+LF.

TidyCR 

Use Macintosh style: CR.

◆ TidyNodeType

Node types.

Enumerator
TidyNode_Root 

Root.

TidyNode_DocType 

DOCTYPE.

TidyNode_Comment 

Comment.

TidyNode_ProcIns 

Processing Instruction.

TidyNode_Text 

Text.

TidyNode_Start 

Start Tag.

TidyNode_End 

End Tag.

TidyNode_StartEnd 

Start/End (empty) Tag.

TidyNode_CDATA 

Unparsed Text.

TidyNode_Section 

XML Section.

TidyNode_Asp 

ASP Source.

TidyNode_Jste 

JSTE Source.

TidyNode_Php 

PHP Source.

TidyNode_XmlDecl 

XML Declaration.

◆ TidyOptionId

Option IDs are used used to get and/or set configuration option values and retrieve their descriptions.

Remarks
These enum members all have associated localized strings available which describe the purpose of the option. These descriptions are available via their enum values only.
See also
config.c:option_defs[] for internal implementation details; that array is where you will implement options defined in this enum; and it's important to add a string describing the option to language_en.h, too.
Enumerator
TidyUnknownOption 

Unknown option!

TidyAccessibilityCheckLevel 

Accessibility check level.

TidyAltText 

Default text for alt attribute.

TidyAnchorAsName 

Define anchors as name attributes.

TidyAsciiChars 

Convert quotes and dashes to nearest ASCII char.

TidyBlockTags 

Declared block tags.

TidyBodyOnly 

Output BODY content only.

TidyBreakBeforeBR 

Output newline before
or not?

TidyCharEncoding 

In/out character encoding.

TidyCoerceEndTags 

Coerce end tags from start tags where probably intended.

TidyCSSPrefix 

CSS class naming for clean option.

TidyDecorateInferredUL 

Mark inferred UL elements with no indent CSS.

TidyDoctype 

User specified doctype.

TidyDropEmptyElems 

Discard empty elements.

TidyDropEmptyParas 

Discard empty p elements.

TidyDropPropAttrs 

Discard proprietary attributes.

TidyDuplicateAttrs 

Keep first or last duplicate attribute.

TidyEmacs 

If true, format error output for GNU Emacs.

TidyEmptyTags 

Declared empty tags.

TidyEncloseBlockText 

If yes text in blocks is wrapped in P's.

TidyEncloseBodyText 

If yes text at body is wrapped in P's.

TidyErrFile 

File name to write errors to.

TidyEscapeCdata 

Replace sections with escaped text.

TidyEscapeScripts 

Escape items that look like closing tags in script tags.

TidyFixBackslash 

Fix URLs by replacing \ with /.

TidyFixComments 

Fix comments with adjacent hyphens.

TidyFixUri 

Applies URI encoding if necessary.

TidyForceOutput 

Output document even if errors were found.

TidyGDocClean 

Clean up HTML exported from Google Docs.

TidyHideComments 

Hides all (real) comments in output.

TidyHtmlOut 

Output plain HTML, even for XHTML input.

TidyInCharEncoding 

Input character encoding (if different)

TidyIndentAttributes 

Newline+indent before each attribute.

TidyIndentCdata 

Indent <!CDATA[ ... ]]> section.

TidyIndentContent 

Indent content of appropriate tags.

TidyIndentSpaces 

Indentation n spaces/tabs.

TidyInlineTags 

Declared inline tags.

TidyJoinClasses 

Join multiple class attributes.

TidyJoinStyles 

Join multiple style attributes.

TidyKeepFileTimes 

If yes last modied time is preserved.

TidyKeepTabs 

If yes keep input source tabs.

TidyLiteralAttribs 

If true attributes may use newlines.

TidyLogicalEmphasis 

Replace i by em and b by strong.

TidyLowerLiterals 

Folds known attribute values to lower case.

TidyMakeBare 

Replace smart quotes, em dashes, etc with ASCII.

TidyMakeClean 

Replace presentational clutter by style rules.

TidyMark 

Add meta element indicating tidied doc.

TidyMergeDivs 

Merge multiple DIVs.

TidyMergeEmphasis 

Merge nested B and I elements.

TidyMergeSpans 

Merge multiple SPANs.

TidyMetaCharset 

Adds/checks/fixes meta charset in the head, based on document type.

TidyMuteReports 

Filter these messages from output.

TidyMuteShow 

Show message ID's in the error table.

TidyNCR 

Allow numeric character references.

TidyNewline 

Output line ending (default to platform)

TidyNumEntities 

Use numeric entities.

TidyOmitOptionalTags 

Suppress optional start tags and end tags.

TidyOutCharEncoding 

Output character encoding (if different)

TidyOutFile 

File name to write markup to.

TidyOutputBOM 

Output a Byte Order Mark (BOM) for UTF-16 encodings.

TidyPPrintTabs 

Indent using tabs istead of spaces.

TidyPreserveEntities 

Preserve entities.

TidyPreTags 

Declared pre tags.

TidyPriorityAttributes 

Attributes to place first in an element.

TidyPunctWrap 

consider punctuation and breaking spaces for wrapping

TidyQuiet 

No 'Parsing X', guessed DTD or summary.

TidyQuoteAmpersand 

Output naked ampersand as &.

TidyQuoteMarks 

Output " marks as ".

TidyQuoteNbsp 

Output non-breaking space as entity.

TidyReplaceColor 

Replace hex color attribute values with names.

TidyShowErrors 

Number of errors to put out.

TidyShowFilename 

If true, the input filename is displayed with the error messages.

TidyShowInfo 

If true, info-level messages are shown.

TidyShowMarkup 

If false, normal output is suppressed.

TidyShowMetaChange 

show when meta http-equiv content charset was changed - compatibility

TidyShowWarnings 

However errors are always shown.

TidySkipNested 

Skip nested tags in script and style CDATA.

TidySortAttributes 

Sort attributes.

TidyStrictTagsAttr 

Ensure tags and attributes match output HTML version.

TidyStyleTags 

Move sytle to head.

TidyTabSize 

Expand tabs to n spaces.

TidyUpperCaseAttrs 

Output attributes in upper not lower case.

TidyUpperCaseTags 

Output tags in upper not lower case.

TidyUseCustomTags 

Enable Tidy to use autonomous custom tags.

TidyVertSpace 

degree to which markup is spread out vertically

TidyWarnPropAttrs 

Warns on proprietary attributes.

TidyWord2000 

Draconian cleaning for Word2000.

TidyWrapAsp 

Wrap within ASP pseudo elements.

TidyWrapAttVals 

Wrap within attribute values.

TidyWrapJste 

Wrap within JSTE pseudo elements.

TidyWrapLen 

Wrap margin.

TidyWrapPhp 

Wrap consecutive PHP pseudo elements.

TidyWrapScriptlets 

Wrap within JavaScript string literals.

TidyWrapSection 

Wrap within <!

[ ... ]> section tags

TidyWriteBack 

If true then output tidied markup.

TidyXhtmlOut 

Output extensible HTML.

TidyXmlDecl 

Add <?xml?

> for XML docs

TidyXmlOut 

Create output as XML.

TidyXmlPIs 

If set to yes PIs must end with ?

>

TidyXmlSpace 

If set to yes adds xml:space attr as needed.

TidyXmlTags 

Treat input as XML.

N_TIDY_OPTIONS 

Must be last.

◆ TidyOptionType

A Tidy configuration option can have one of these data types.

Enumerator
TidyString 

String.

TidyInteger 

Integer or enumeration.

TidyBoolean 

Boolean.

◆ TidyReportLevel

Message severity level, used throughout LibTidy to indicate the severity or status of a message.

Remarks
These enum members all have associated localized strings available via their enum values. These strings are suitable for use as labels.
Enumerator
TidyInfo 

Report: Information about markup usage.

TidyWarning 

Report: Warning message.

TidyConfig 

Report: Configuration error.

TidyAccess 

Report: Accessibility message.

TidyError 

Report: Error message - output suppressed.

TidyBadDocument 

Report: I/O or file system error.

TidyFatal 

Report: Crash!

TidyDialogueSummary 

Dialogue: Summary-related information.

TidyDialogueInfo 

Dialogue: Non-document related information.

TidyDialogueFootnote 

Dialogue: Footnote.

TidyDialogueDoc 

Dialogue: Deprecated (renamed)

◆ tidyStrings

The enumeration contains a list of every possible string that Tidy and the console application can output, except for strings from the following enumerations:

They are used as keys internally within Tidy, and have corresponding text keys that are used in message callback filters (these are defined in tidyStringsKeys[], but API users don't require access to it directly).

Enumerator
TIDYSTRINGS_FIRST 
MAKE_ENUM 

Diagnostics.

[1.1.1.1]

line d column d

Affecting screen display Pertaining to document I/O Relating to encoding Pertaining to file I/O Cleanup related options Entity related options Document repair related options Teach tidy new things Transform HTML one way or another Pretty printing options Option is internal only.

MAKE_ENUM 

Diagnostics.

[1.1.1.1]

line d column d

Affecting screen display Pertaining to document I/O Relating to encoding Pertaining to file I/O Cleanup related options Entity related options Document repair related options Teach tidy new things Transform HTML one way or another Pretty printing options Option is internal only.

MAKE_ENUM 

Diagnostics.

[1.1.1.1]

line d column d

Affecting screen display Pertaining to document I/O Relating to encoding Pertaining to file I/O Cleanup related options Entity related options Document repair related options Teach tidy new things Transform HTML one way or another Pretty printing options Option is internal only.

◆ TidyTagId

enum TidyTagId

Known HTML element types.

Enumerator
TidyTag_UNKNOWN 

Unknown tag!

Must be first

TidyTag_A 

A.

TidyTag_ABBR 

ABBR.

TidyTag_ACRONYM 

ACRONYM.

TidyTag_ADDRESS 

ADDRESS.

TidyTag_ALIGN 

ALIGN.

TidyTag_APPLET 

APPLET.

TidyTag_AREA 

AREA.

TidyTag_B 

B.

TidyTag_BASE 

BASE.

TidyTag_BASEFONT 

BASEFONT.

TidyTag_BDO 

BDO.

TidyTag_BGSOUND 

BGSOUND.

TidyTag_BIG 

BIG.

TidyTag_BLINK 

BLINK.

TidyTag_BLOCKQUOTE 

BLOCKQUOTE.

TidyTag_BODY 

BODY.

TidyTag_BR 

BR.

TidyTag_BUTTON 

BUTTON.

TidyTag_CAPTION 

CAPTION.

TidyTag_CENTER 

CENTER.

TidyTag_CITE 

CITE.

TidyTag_CODE 

CODE.

TidyTag_COL 

COL.

TidyTag_COLGROUP 

COLGROUP.

TidyTag_COMMENT 

COMMENT.

TidyTag_DD 

DD.

TidyTag_DEL 

DEL.

TidyTag_DFN 

DFN.

TidyTag_DIR 

DIR.

TidyTag_DIV 

DIF.

TidyTag_DL 

DL.

TidyTag_DT 

DT.

TidyTag_EM 

EM.

TidyTag_EMBED 

EMBED.

TidyTag_FIELDSET 

FIELDSET.

TidyTag_FONT 

FONT.

TidyTag_FORM 

FORM.

TidyTag_FRAME 

FRAME.

TidyTag_FRAMESET 

FRAMESET.

TidyTag_H1 

H1.

TidyTag_H2 

H2.

TidyTag_H3 

H3.

TidyTag_H4 

H4.

TidyTag_H5 

H5.

TidyTag_H6 

H6.

TidyTag_HEAD 

HEAD.

TidyTag_HR 

HR.

TidyTag_HTML 

HTML.

TidyTag_I 

I.

TidyTag_IFRAME 

IFRAME.

TidyTag_ILAYER 

ILAYER.

TidyTag_IMG 

IMG.

TidyTag_INPUT 

INPUT.

TidyTag_INS 

INS.

TidyTag_ISINDEX 

ISINDEX.

TidyTag_KBD 

KBD.

TidyTag_KEYGEN 

KEYGEN.

TidyTag_LABEL 

LABEL.

TidyTag_LAYER 

LAYER.

TidyTag_LEGEND 

LEGEND.

TidyTag_LI 

LI.

TidyTag_LINK 

LINK.

TidyTag_LISTING 

LISTING.

TidyTag_MAP 

MAP.

TidyTag_MATHML 

MATH (HTML5) [i_a]2 MathML embedded in [X]HTML.

TidyTag_MARQUEE 

MARQUEE.

TidyTag_MENU 

MENU.

TidyTag_META 

META.

TidyTag_MULTICOL 

MULTICOL.

TidyTag_NOBR 

NOBR.

TidyTag_NOEMBED 

NOEMBED.

TidyTag_NOFRAMES 

NOFRAMES.

TidyTag_NOLAYER 

NOLAYER.

TidyTag_NOSAVE 

NOSAVE.

TidyTag_NOSCRIPT 

NOSCRIPT.

TidyTag_OBJECT 

OBJECT.

TidyTag_OL 

OL.

TidyTag_OPTGROUP 

OPTGROUP.

TidyTag_OPTION 

OPTION.

TidyTag_P 

P.

TidyTag_PARAM 

PARAM.

TidyTag_PICTURE 

PICTURE (HTML5)

TidyTag_PLAINTEXT 

PLAINTEXT.

TidyTag_PRE 

PRE.

TidyTag_Q 

Q.

TidyTag_RB 

RB.

TidyTag_RBC 

RBC.

TidyTag_RP 

RP.

TidyTag_RT 

RT.

TidyTag_RTC 

RTC.

TidyTag_RUBY 

RUBY.

TidyTag_S 

S.

TidyTag_SAMP 

SAMP.

TidyTag_SCRIPT 

SCRIPT.

TidyTag_SELECT 

SELECT.

TidyTag_SERVER 

SERVER.

TidyTag_SERVLET 

SERVLET.

TidyTag_SMALL 

SMALL.

TidyTag_SPACER 

SPACER.

TidyTag_SPAN 

SPAN.

TidyTag_STRIKE 

STRIKE.

TidyTag_STRONG 

STRONG.

TidyTag_STYLE 

STYLE.

TidyTag_SUB 

SUB.

TidyTag_SUP 

SUP.

TidyTag_SVG 

SVG (HTML5)

TidyTag_TABLE 

TABLE.

TidyTag_TBODY 

TBODY.

TidyTag_TD 

TD.

TidyTag_TEXTAREA 

TEXTAREA.

TidyTag_TFOOT 

TFOOT.

TidyTag_TH 

TH.

TidyTag_THEAD 

THEAD.

TidyTag_TITLE 

TITLE.

TidyTag_TR 

TR.

TidyTag_TT 

TT.

TidyTag_U 

U.

TidyTag_UL 

UL.

TidyTag_VAR 

VAR.

TidyTag_WBR 

WBR.

TidyTag_XMP 

XMP.

TidyTag_NEXTID 

NEXTID.

TidyTag_ARTICLE 

ARTICLE.

TidyTag_ASIDE 

ASIDE.

TidyTag_AUDIO 

AUDIO.

TidyTag_BDI 

BDI.

TidyTag_CANVAS 

CANVAS.

TidyTag_COMMAND 

COMMAND.

TidyTag_DATA 

DATA.

TidyTag_DATALIST 

DATALIST.

TidyTag_DETAILS 

DETAILS.

TidyTag_DIALOG 

DIALOG.

TidyTag_FIGCAPTION 

FIGCAPTION.

TidyTag_FIGURE 

FIGURE.

TidyTag_FOOTER 

FOOTER.

TidyTag_HEADER 

HEADER.

TidyTag_HGROUP 

HGROUP.

TidyTag_MAIN 

MAIN.

TidyTag_MARK 

MARK.

TidyTag_MENUITEM 

MENUITEM.

TidyTag_METER 

METER.

TidyTag_NAV 

NAV.

TidyTag_OUTPUT 

OUTPUT.

TidyTag_PROGRESS 

PROGRESS.

TidyTag_SECTION 

SECTION.

TidyTag_SOURCE 

SOURCE.

TidyTag_SUMMARY 

SUMMARY.

TidyTag_TEMPLATE 

TEMPLATE.

TidyTag_TIME 

TIME.

TidyTag_TRACK 

TRACK.

TidyTag_VIDEO 

VIDEO.

TidyTag_SLOT 

SLOT.

N_TIDY_TAGS 

Must be last.

◆ TidyTriState

AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM.

Remarks
This enum's starting value is guaranteed to remain stable.
Enumerator
TidyNoState 

maps to 'no'

TidyYesState 

maps to 'yes'

TidyAutoState 

Automatic.

◆ TidyUppercase

Mode controlling capitalization of things, such as attributes.

Remarks
This enum's starting value is guaranteed to remain stable.
Enumerator
TidyUppercaseNo 

Don't uppercase.

TidyUppercaseYes 

Do uppercase.

TidyUppercasePreserve 

Preserve case.

◆ TidyUseCustomTagsState

Values used by ParseUseCustomTags, which describes how Autonomous Custom tags (ACT's) found by Tidy are treated.

Remarks
These enum members all have associated localized strings available for internal LibTidy use, and also have public string keys in the form MEMBER_STRING, e.g., TIDYCUSTOMBLOCKLEVEL_STRING
This enum's starting value is guaranteed to remain stable.
Enumerator
TidyCustomNo 

Do not allow autonomous custom tags.

TidyCustomBlocklevel 

ACT's treated as blocklevel.

TidyCustomEmpty 

ACT's treated as empty tags.

TidyCustomInline 

ACT's treated as inline tags.

TidyCustomPre 

ACT's treated as pre tags.