HTML Tidy  0.1
tidyenum.h
00001 #ifndef __TIDYENUM_H__
00002 #define __TIDYENUM_H__
00003 
00004 /* @file tidyenum.h -- Split public enums into separate header
00005 
00006   Simplifies enum re-use in various wrappers.  e.g. SWIG
00007   generated wrappers and COM IDL files.
00008 
00009   Copyright (c) 1998-2008 World Wide Web Consortium
00010   (Massachusetts Institute of Technology, European Research 
00011   Consortium for Informatics and Mathematics, Keio University).
00012   All Rights Reserved.
00013 
00014   CVS Info :
00015 
00016     $Author: arnaud02 $ 
00017     $Date: 2008/06/18 20:18:54 $ 
00018     $Revision: 1.18 $ 
00019 
00020   Contributing Author(s):
00021 
00022      Dave Raggett <dsr@w3.org>
00023 
00024   The contributing author(s) would like to thank all those who
00025   helped with testing, bug fixes and suggestions for improvements. 
00026   This wouldn't have been possible without your help.
00027 
00028   COPYRIGHT NOTICE:
00029  
00030   This software and documentation is provided "as is," and
00031   the copyright holders and contributing author(s) make no
00032   representations or warranties, express or implied, including
00033   but not limited to, warranties of merchantability or fitness
00034   for any particular purpose or that the use of the software or
00035   documentation will not infringe any third party patents,
00036   copyrights, trademarks or other rights. 
00037 
00038   The copyright holders and contributing author(s) will not be held
00039   liable for any direct, indirect, special or consequential damages
00040   arising out of any use of the software or documentation, even if
00041   advised of the possibility of such damage.
00042 
00043   Permission is hereby granted to use, copy, modify, and distribute
00044   this source code, or portions hereof, documentation and executables,
00045   for any purpose, without fee, subject to the following restrictions:
00046 
00047   1. The origin of this source code must not be misrepresented.
00048   2. Altered versions must be plainly marked as such and must
00049      not be misrepresented as being the original source.
00050   3. This Copyright notice may not be removed or altered from any
00051      source or altered source distribution.
00052  
00053   The copyright holders and contributing author(s) specifically
00054   permit, without fee, and encourage the use of this source code
00055   as a component for supporting the Hypertext Markup Language in
00056   commercial products. If you use this source code in a product,
00057   acknowledgment is not required but would be appreciated.
00058 
00059 
00060   Created 2001-05-20 by Charles Reitzel
00061   Updated 2002-07-01 by Charles Reitzel - 1st Implementation
00062 
00063 */
00064 
00065 #ifdef __cplusplus
00066 extern "C" {
00067 #endif
00068 
00069 /* Enumerate configuration options
00070 */
00071 
00072 /** Categories of Tidy configuration options
00073 */
00074 typedef enum
00075 {
00076   TidyMarkup,          /**< Markup options: (X)HTML version, etc */
00077   TidyDiagnostics,     /**< Diagnostics */
00078   TidyPrettyPrint,     /**< Output layout */
00079   TidyEncoding,        /**< Character encodings */
00080   TidyMiscellaneous    /**< File handling, message format, etc. */
00081 } TidyConfigCategory;
00082 
00083 
00084 /** Option IDs Used to get/set option values.
00085 */
00086 typedef enum
00087 {
00088   TidyUnknownOption,   /**< Unknown option! */
00089   TidyIndentSpaces,    /**< Indentation n spaces */
00090   TidyWrapLen,         /**< Wrap margin */
00091   TidyTabSize,         /**< Expand tabs to n spaces */
00092 
00093   TidyCharEncoding,    /**< In/out character encoding */
00094   TidyInCharEncoding,  /**< Input character encoding (if different) */
00095   TidyOutCharEncoding, /**< Output character encoding (if different) */    
00096   TidyNewline,         /**< Output line ending (default to platform) */
00097 
00098   TidyDoctypeMode,     /**< See doctype property */
00099   TidyDoctype,         /**< User specified doctype */
00100 
00101   TidyDuplicateAttrs,  /**< Keep first or last duplicate attribute */
00102   TidyAltText,         /**< Default text for alt attribute */
00103   
00104   /* obsolete */
00105   TidySlideStyle,      /**< Style sheet for slides: not used for anything yet */
00106 
00107   TidyErrFile,         /**< File name to write errors to */
00108   TidyOutFile,         /**< File name to write markup to */
00109   TidyWriteBack,       /**< If true then output tidied markup */
00110   TidyShowMarkup,      /**< If false, normal output is suppressed */
00111   TidyShowWarnings,    /**< However errors are always shown */
00112   TidyQuiet,           /**< No 'Parsing X', guessed DTD or summary */
00113   TidyIndentContent,   /**< Indent content of appropriate tags */
00114                        /**< "auto" does text/block level content indentation */
00115   TidyHideEndTags,     /**< Suppress optional end tags */
00116   TidyXmlTags,         /**< Treat input as XML */
00117   TidyXmlOut,          /**< Create output as XML */
00118   TidyXhtmlOut,        /**< Output extensible HTML */
00119   TidyHtmlOut,         /**< Output plain HTML, even for XHTML input.
00120                            Yes means set explicitly. */
00121   TidyXmlDecl,         /**< Add <?xml?> for XML docs */
00122   TidyUpperCaseTags,   /**< Output tags in upper not lower case */
00123   TidyUpperCaseAttrs,  /**< Output attributes in upper not lower case */
00124   TidyMakeBare,        /**< Make bare HTML: remove Microsoft cruft */
00125   TidyMakeClean,       /**< Replace presentational clutter by style rules */
00126   TidyLogicalEmphasis, /**< Replace i by em and b by strong */
00127   TidyDropPropAttrs,   /**< Discard proprietary attributes */
00128   TidyDropFontTags,    /**< Discard presentation tags */
00129   TidyDropEmptyParas,  /**< Discard empty p elements */
00130   TidyFixComments,     /**< Fix comments with adjacent hyphens */
00131   TidyBreakBeforeBR,   /**< Output newline before <br> or not? */
00132 
00133   /* obsolete */
00134   TidyBurstSlides,     /**< Create slides on each h2 element */
00135 
00136   TidyNumEntities,     /**< Use numeric entities */
00137   TidyQuoteMarks,      /**< Output " marks as &quot; */
00138   TidyQuoteNbsp,       /**< Output non-breaking space as entity */
00139   TidyQuoteAmpersand,  /**< Output naked ampersand as &amp; */
00140   TidyWrapAttVals,     /**< Wrap within attribute values */
00141   TidyWrapScriptlets,  /**< Wrap within JavaScript string literals */
00142   TidyWrapSection,     /**< Wrap within <![ ... ]> section tags */
00143   TidyWrapAsp,         /**< Wrap within ASP pseudo elements */
00144   TidyWrapJste,        /**< Wrap within JSTE pseudo elements */
00145   TidyWrapPhp,         /**< Wrap within PHP pseudo elements */
00146   TidyFixBackslash,    /**< Fix URLs by replacing \ with / */
00147   TidyIndentAttributes,/**< Newline+indent before each attribute */
00148   TidyXmlPIs,          /**< If set to yes PIs must end with ?> */
00149   TidyXmlSpace,        /**< If set to yes adds xml:space attr as needed */
00150   TidyEncloseBodyText, /**< If yes text at body is wrapped in P's */
00151   TidyEncloseBlockText,/**< If yes text in blocks is wrapped in P's */
00152   TidyKeepFileTimes,   /**< If yes last modied time is preserved */
00153   TidyWord2000,        /**< Draconian cleaning for Word2000 */
00154   TidyMark,            /**< Add meta element indicating tidied doc */
00155   TidyEmacs,           /**< If true format error output for GNU Emacs */
00156   TidyEmacsFile,       /**< Name of current Emacs file */
00157   TidyLiteralAttribs,  /**< If true attributes may use newlines */
00158   TidyBodyOnly,        /**< Output BODY content only */
00159   TidyFixUri,          /**< Applies URI encoding if necessary */
00160   TidyLowerLiterals,   /**< Folds known attribute values to lower case */
00161   TidyHideComments,    /**< Hides all (real) comments in output */
00162   TidyIndentCdata,     /**< Indent <!CDATA[ ... ]]> section */
00163   TidyForceOutput,     /**< Output document even if errors were found */
00164   TidyShowErrors,      /**< Number of errors to put out */
00165   TidyAsciiChars,      /**< Convert quotes and dashes to nearest ASCII char */
00166   TidyJoinClasses,     /**< Join multiple class attributes */
00167   TidyJoinStyles,      /**< Join multiple style attributes */
00168   TidyEscapeCdata,     /**< Replace <![CDATA[]]> sections with escaped text */
00169 
00170 #if SUPPORT_ASIAN_ENCODINGS
00171   TidyLanguage,        /**< Language property: not used for anything yet */
00172   TidyNCR,             /**< Allow numeric character references */
00173 #else
00174   TidyLanguageNotUsed,
00175   TidyNCRNotUsed,
00176 #endif
00177 #if SUPPORT_UTF16_ENCODINGS
00178   TidyOutputBOM,      /**< Output a Byte Order Mark (BOM) for UTF-16 encodings */
00179                       /**< auto: if input stream has BOM, we output a BOM */
00180 #else
00181   TidyOutputBOMNotUsed,
00182 #endif
00183 
00184   TidyReplaceColor,    /**< Replace hex color attribute values with names */
00185   TidyCSSPrefix,       /**< CSS class naming for -clean option */
00186 
00187   TidyInlineTags,      /**< Declared inline tags */
00188   TidyBlockTags,       /**< Declared block tags */
00189   TidyEmptyTags,       /**< Declared empty tags */
00190   TidyPreTags,         /**< Declared pre tags */
00191 
00192   TidyAccessibilityCheckLevel, /**< Accessibility check level 
00193                                    0 (old style), or 1, 2, 3 */
00194 
00195   TidyVertSpace,       /**< degree to which markup is spread out vertically */
00196 #if SUPPORT_ASIAN_ENCODINGS
00197   TidyPunctWrap,       /**< consider punctuation and breaking spaces for wrapping */
00198 #else
00199   TidyPunctWrapNotUsed,
00200 #endif
00201   TidyMergeDivs,       /**< Merge multiple DIVs */
00202   TidyDecorateInferredUL,  /**< Mark inferred UL elements with no indent CSS */
00203   TidyPreserveEntities,    /**< Preserve entities */
00204   TidySortAttributes,      /**< Sort attributes */
00205   TidyMergeSpans,       /**< Merge multiple SPANs */
00206   TidyAnchorAsName,    /**< Define anchors as name attributes */
00207   N_TIDY_OPTIONS       /**< Must be last */
00208 } TidyOptionId;
00209 
00210 /** Option data types
00211 */
00212 typedef enum
00213 {
00214   TidyString,          /**< String */
00215   TidyInteger,         /**< Integer or enumeration */
00216   TidyBoolean          /**< Boolean flag */
00217 } TidyOptionType;
00218 
00219 
00220 /** AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM
00221 */
00222 typedef enum
00223 {
00224    TidyNoState,     /**< maps to 'no' */
00225    TidyYesState,    /**< maps to 'yes' */
00226    TidyAutoState    /**< Automatic */
00227 } TidyTriState;
00228 
00229 /** TidyNewline option values to control output line endings.
00230 */
00231 typedef enum
00232 {
00233     TidyLF,         /**< Use Unix style: LF */
00234     TidyCRLF,       /**< Use DOS/Windows style: CR+LF */
00235     TidyCR          /**< Use Macintosh style: CR */
00236 } TidyLineEnding;
00237 
00238 
00239 /** Mode controlling treatment of doctype
00240 */
00241 typedef enum
00242 {
00243     TidyDoctypeOmit,    /**< Omit DOCTYPE altogether */
00244     TidyDoctypeAuto,    /**< Keep DOCTYPE in input.  Set version to content */
00245     TidyDoctypeStrict,  /**< Convert document to HTML 4 strict content model */
00246     TidyDoctypeLoose,   /**< Convert document to HTML 4 transitional
00247                              content model */
00248     TidyDoctypeUser     /**< Set DOCTYPE FPI explicitly */
00249 } TidyDoctypeModes;
00250 
00251 /** Mode controlling treatment of duplicate Attributes
00252 */
00253 typedef enum
00254 {
00255     TidyKeepFirst,
00256     TidyKeepLast
00257 } TidyDupAttrModes;
00258 
00259 /** Mode controlling treatment of sorting attributes
00260 */
00261 typedef enum
00262 {
00263     TidySortAttrNone,
00264     TidySortAttrAlpha
00265 } TidyAttrSortStrategy;
00266 
00267 /* I/O and Message handling interface
00268 **
00269 ** By default, Tidy will define, create and use 
00270 ** instances of input and output handlers for 
00271 ** standard C buffered I/O (i.e. FILE* stdin,
00272 ** FILE* stdout and FILE* stderr for content
00273 ** input, content output and diagnostic output,
00274 ** respectively.  A FILE* cfgFile input handler
00275 ** will be used for config files.  Command line
00276 ** options will just be set directly.
00277 */
00278 
00279 /** Message severity level
00280 */
00281 typedef enum 
00282 {
00283   TidyInfo,             /**< Information about markup usage */
00284   TidyWarning,          /**< Warning message */
00285   TidyConfig,           /**< Configuration error */
00286   TidyAccess,           /**< Accessibility message */
00287   TidyError,            /**< Error message - output suppressed */
00288   TidyBadDocument,      /**< I/O or file system error */
00289   TidyFatal             /**< Crash! */
00290 } TidyReportLevel;
00291 
00292 
00293 /* Document tree traversal functions
00294 */
00295 
00296 /** Node types
00297 */
00298 typedef enum 
00299 {
00300   TidyNode_Root,        /**< Root */
00301   TidyNode_DocType,     /**< DOCTYPE */
00302   TidyNode_Comment,     /**< Comment */
00303   TidyNode_ProcIns,     /**< Processing Instruction */
00304   TidyNode_Text,        /**< Text */
00305   TidyNode_Start,       /**< Start Tag */
00306   TidyNode_End,         /**< End Tag */
00307   TidyNode_StartEnd,    /**< Start/End (empty) Tag */
00308   TidyNode_CDATA,       /**< Unparsed Text */
00309   TidyNode_Section,     /**< XML Section */
00310   TidyNode_Asp,         /**< ASP Source */
00311   TidyNode_Jste,        /**< JSTE Source */
00312   TidyNode_Php,         /**< PHP Source */
00313   TidyNode_XmlDecl      /**< XML Declaration */
00314 } TidyNodeType;
00315 
00316 
00317 /** Known HTML element types
00318 */
00319 typedef enum
00320 {
00321   TidyTag_UNKNOWN,  /**< Unknown tag! */
00322   TidyTag_A,        /**< A */
00323   TidyTag_ABBR,     /**< ABBR */
00324   TidyTag_ACRONYM,  /**< ACRONYM */
00325   TidyTag_ADDRESS,  /**< ADDRESS */
00326   TidyTag_ALIGN,    /**< ALIGN */
00327   TidyTag_APPLET,   /**< APPLET */
00328   TidyTag_AREA,     /**< AREA */
00329   TidyTag_B,        /**< B */
00330   TidyTag_BASE,     /**< BASE */
00331   TidyTag_BASEFONT, /**< BASEFONT */
00332   TidyTag_BDO,      /**< BDO */
00333   TidyTag_BGSOUND,  /**< BGSOUND */
00334   TidyTag_BIG,      /**< BIG */
00335   TidyTag_BLINK,    /**< BLINK */
00336   TidyTag_BLOCKQUOTE,   /**< BLOCKQUOTE */
00337   TidyTag_BODY,     /**< BODY */
00338   TidyTag_BR,       /**< BR */
00339   TidyTag_BUTTON,   /**< BUTTON */
00340   TidyTag_CAPTION,  /**< CAPTION */
00341   TidyTag_CENTER,   /**< CENTER */
00342   TidyTag_CITE,     /**< CITE */
00343   TidyTag_CODE,     /**< CODE */
00344   TidyTag_COL,      /**< COL */
00345   TidyTag_COLGROUP, /**< COLGROUP */
00346   TidyTag_COMMENT,  /**< COMMENT */
00347   TidyTag_DD,       /**< DD */
00348   TidyTag_DEL,      /**< DEL */
00349   TidyTag_DFN,      /**< DFN */
00350   TidyTag_DIR,      /**< DIR */
00351   TidyTag_DIV,      /**< DIF */
00352   TidyTag_DL,       /**< DL */
00353   TidyTag_DT,       /**< DT */
00354   TidyTag_EM,       /**< EM */
00355   TidyTag_EMBED,    /**< EMBED */
00356   TidyTag_FIELDSET, /**< FIELDSET */
00357   TidyTag_FONT,     /**< FONT */
00358   TidyTag_FORM,     /**< FORM */
00359   TidyTag_FRAME,    /**< FRAME */
00360   TidyTag_FRAMESET, /**< FRAMESET */
00361   TidyTag_H1,       /**< H1 */
00362   TidyTag_H2,       /**< H2 */
00363   TidyTag_H3,       /**< H3 */
00364   TidyTag_H4,       /**< H4 */
00365   TidyTag_H5,       /**< H5 */
00366   TidyTag_H6,       /**< H6 */
00367   TidyTag_HEAD,     /**< HEAD */
00368   TidyTag_HR,       /**< HR */
00369   TidyTag_HTML,     /**< HTML */
00370   TidyTag_I,        /**< I */
00371   TidyTag_IFRAME,   /**< IFRAME */
00372   TidyTag_ILAYER,   /**< ILAYER */
00373   TidyTag_IMG,      /**< IMG */
00374   TidyTag_INPUT,    /**< INPUT */
00375   TidyTag_INS,      /**< INS */
00376   TidyTag_ISINDEX,  /**< ISINDEX */
00377   TidyTag_KBD,      /**< KBD */
00378   TidyTag_KEYGEN,   /**< KEYGEN */
00379   TidyTag_LABEL,    /**< LABEL */
00380   TidyTag_LAYER,    /**< LAYER */
00381   TidyTag_LEGEND,   /**< LEGEND */
00382   TidyTag_LI,       /**< LI */
00383   TidyTag_LINK,     /**< LINK */
00384   TidyTag_LISTING,  /**< LISTING */
00385   TidyTag_MAP,      /**< MAP */
00386   TidyTag_MARQUEE,  /**< MARQUEE */
00387   TidyTag_MENU,     /**< MENU */
00388   TidyTag_META,     /**< META */
00389   TidyTag_MULTICOL, /**< MULTICOL */
00390   TidyTag_NOBR,     /**< NOBR */
00391   TidyTag_NOEMBED,  /**< NOEMBED */
00392   TidyTag_NOFRAMES, /**< NOFRAMES */
00393   TidyTag_NOLAYER,  /**< NOLAYER */
00394   TidyTag_NOSAVE,   /**< NOSAVE */
00395   TidyTag_NOSCRIPT, /**< NOSCRIPT */
00396   TidyTag_OBJECT,   /**< OBJECT */
00397   TidyTag_OL,       /**< OL */
00398   TidyTag_OPTGROUP, /**< OPTGROUP */
00399   TidyTag_OPTION,   /**< OPTION */
00400   TidyTag_P,        /**< P */
00401   TidyTag_PARAM,    /**< PARAM */
00402   TidyTag_PLAINTEXT,/**< PLAINTEXT */
00403   TidyTag_PRE,      /**< PRE */
00404   TidyTag_Q,        /**< Q */
00405   TidyTag_RB,       /**< RB */
00406   TidyTag_RBC,      /**< RBC */
00407   TidyTag_RP,       /**< RP */
00408   TidyTag_RT,       /**< RT */
00409   TidyTag_RTC,      /**< RTC */
00410   TidyTag_RUBY,     /**< RUBY */
00411   TidyTag_S,        /**< S */
00412   TidyTag_SAMP,     /**< SAMP */
00413   TidyTag_SCRIPT,   /**< SCRIPT */
00414   TidyTag_SELECT,   /**< SELECT */
00415   TidyTag_SERVER,   /**< SERVER */
00416   TidyTag_SERVLET,  /**< SERVLET */
00417   TidyTag_SMALL,    /**< SMALL */
00418   TidyTag_SPACER,   /**< SPACER */
00419   TidyTag_SPAN,     /**< SPAN */
00420   TidyTag_STRIKE,   /**< STRIKE */
00421   TidyTag_STRONG,   /**< STRONG */
00422   TidyTag_STYLE,    /**< STYLE */
00423   TidyTag_SUB,      /**< SUB */
00424   TidyTag_SUP,      /**< SUP */
00425   TidyTag_TABLE,    /**< TABLE */
00426   TidyTag_TBODY,    /**< TBODY */
00427   TidyTag_TD,       /**< TD */
00428   TidyTag_TEXTAREA, /**< TEXTAREA */
00429   TidyTag_TFOOT,    /**< TFOOT */
00430   TidyTag_TH,       /**< TH */
00431   TidyTag_THEAD,    /**< THEAD */
00432   TidyTag_TITLE,    /**< TITLE */
00433   TidyTag_TR,       /**< TR */
00434   TidyTag_TT,       /**< TT */
00435   TidyTag_U,        /**< U */
00436   TidyTag_UL,       /**< UL */
00437   TidyTag_VAR,      /**< VAR */
00438   TidyTag_WBR,      /**< WBR */
00439   TidyTag_XMP,      /**< XMP */
00440   TidyTag_NEXTID,   /**< NEXTID */
00441 
00442   TidyTag_ARTICLE,
00443   TidyTag_ASIDE,
00444   TidyTag_AUDIO,
00445   TidyTag_CANVAS,
00446   TidyTag_COMMAND,
00447   TidyTag_DATALIST,
00448   TidyTag_DETAILS,
00449   TidyTag_FIGCAPTION,
00450   TidyTag_FIGURE,
00451   TidyTag_FOOTER,
00452   TidyTag_HEADER,
00453   TidyTag_HGROUP,
00454   TidyTag_MARK,
00455   TidyTag_METER,
00456   TidyTag_NAV,
00457   TidyTag_OUTPUT,
00458   TidyTag_PROGRESS,
00459   TidyTag_SECTION,
00460   TidyTag_SOURCE,
00461   TidyTag_SUMMARY,
00462   TidyTag_TIME,
00463   TidyTag_TRACK,
00464   TidyTag_VIDEO,
00465 
00466   N_TIDY_TAGS       /**< Must be last */
00467 } TidyTagId;
00468 
00469 /* Attribute interrogation
00470 */
00471 
00472 /** Known HTML attributes
00473 */
00474 typedef enum
00475 {
00476   TidyAttr_UNKNOWN,           /**< UNKNOWN= */
00477   TidyAttr_ABBR,              /**< ABBR= */
00478   TidyAttr_ACCEPT,            /**< ACCEPT= */
00479   TidyAttr_ACCEPT_CHARSET,    /**< ACCEPT_CHARSET= */
00480   TidyAttr_ACCESSKEY,         /**< ACCESSKEY= */
00481   TidyAttr_ACTION,            /**< ACTION= */
00482   TidyAttr_ADD_DATE,          /**< ADD_DATE= */
00483   TidyAttr_ALIGN,             /**< ALIGN= */
00484   TidyAttr_ALINK,             /**< ALINK= */
00485   TidyAttr_ALT,               /**< ALT= */
00486   TidyAttr_ARCHIVE,           /**< ARCHIVE= */
00487   TidyAttr_AXIS,              /**< AXIS= */
00488   TidyAttr_BACKGROUND,        /**< BACKGROUND= */
00489   TidyAttr_BGCOLOR,           /**< BGCOLOR= */
00490   TidyAttr_BGPROPERTIES,      /**< BGPROPERTIES= */
00491   TidyAttr_BORDER,            /**< BORDER= */
00492   TidyAttr_BORDERCOLOR,       /**< BORDERCOLOR= */
00493   TidyAttr_BOTTOMMARGIN,      /**< BOTTOMMARGIN= */
00494   TidyAttr_CELLPADDING,       /**< CELLPADDING= */
00495   TidyAttr_CELLSPACING,       /**< CELLSPACING= */
00496   TidyAttr_CHAR,              /**< CHAR= */
00497   TidyAttr_CHAROFF,           /**< CHAROFF= */
00498   TidyAttr_CHARSET,           /**< CHARSET= */
00499   TidyAttr_CHECKED,           /**< CHECKED= */
00500   TidyAttr_CITE,              /**< CITE= */
00501   TidyAttr_CLASS,             /**< CLASS= */
00502   TidyAttr_CLASSID,           /**< CLASSID= */
00503   TidyAttr_CLEAR,             /**< CLEAR= */
00504   TidyAttr_CODE,              /**< CODE= */
00505   TidyAttr_CODEBASE,          /**< CODEBASE= */
00506   TidyAttr_CODETYPE,          /**< CODETYPE= */
00507   TidyAttr_COLOR,             /**< COLOR= */
00508   TidyAttr_COLS,              /**< COLS= */
00509   TidyAttr_COLSPAN,           /**< COLSPAN= */
00510   TidyAttr_COMPACT,           /**< COMPACT= */
00511   TidyAttr_CONTENT,           /**< CONTENT= */
00512   TidyAttr_COORDS,            /**< COORDS= */
00513   TidyAttr_DATA,              /**< DATA= */
00514   TidyAttr_DATAFLD,           /**< DATAFLD= */
00515   TidyAttr_DATAFORMATAS,      /**< DATAFORMATAS= */
00516   TidyAttr_DATAPAGESIZE,      /**< DATAPAGESIZE= */
00517   TidyAttr_DATASRC,           /**< DATASRC= */
00518   TidyAttr_DATETIME,          /**< DATETIME= */
00519   TidyAttr_DECLARE,           /**< DECLARE= */
00520   TidyAttr_DEFER,             /**< DEFER= */
00521   TidyAttr_DIR,               /**< DIR= */
00522   TidyAttr_DISABLED,          /**< DISABLED= */
00523   TidyAttr_ENCODING,          /**< ENCODING= */
00524   TidyAttr_ENCTYPE,           /**< ENCTYPE= */
00525   TidyAttr_FACE,              /**< FACE= */
00526   TidyAttr_FOR,               /**< FOR= */
00527   TidyAttr_FRAME,             /**< FRAME= */
00528   TidyAttr_FRAMEBORDER,       /**< FRAMEBORDER= */
00529   TidyAttr_FRAMESPACING,      /**< FRAMESPACING= */
00530   TidyAttr_GRIDX,             /**< GRIDX= */
00531   TidyAttr_GRIDY,             /**< GRIDY= */
00532   TidyAttr_HEADERS,           /**< HEADERS= */
00533   TidyAttr_HEIGHT,            /**< HEIGHT= */
00534   TidyAttr_HREF,              /**< HREF= */
00535   TidyAttr_HREFLANG,          /**< HREFLANG= */
00536   TidyAttr_HSPACE,            /**< HSPACE= */
00537   TidyAttr_HTTP_EQUIV,        /**< HTTP_EQUIV= */
00538   TidyAttr_ID,                /**< ID= */
00539   TidyAttr_ISMAP,             /**< ISMAP= */
00540   TidyAttr_ITEMPROP,          /**< ITEMPROP= */
00541   TidyAttr_LABEL,             /**< LABEL= */
00542   TidyAttr_LANG,              /**< LANG= */
00543   TidyAttr_LANGUAGE,          /**< LANGUAGE= */
00544   TidyAttr_LAST_MODIFIED,     /**< LAST_MODIFIED= */
00545   TidyAttr_LAST_VISIT,        /**< LAST_VISIT= */
00546   TidyAttr_LEFTMARGIN,        /**< LEFTMARGIN= */
00547   TidyAttr_LINK,              /**< LINK= */
00548   TidyAttr_LONGDESC,          /**< LONGDESC= */
00549   TidyAttr_LOWSRC,            /**< LOWSRC= */
00550   TidyAttr_MARGINHEIGHT,      /**< MARGINHEIGHT= */
00551   TidyAttr_MARGINWIDTH,       /**< MARGINWIDTH= */
00552   TidyAttr_MAXLENGTH,         /**< MAXLENGTH= */
00553   TidyAttr_MEDIA,             /**< MEDIA= */
00554   TidyAttr_METHOD,            /**< METHOD= */
00555   TidyAttr_MULTIPLE,          /**< MULTIPLE= */
00556   TidyAttr_NAME,              /**< NAME= */
00557   TidyAttr_NOHREF,            /**< NOHREF= */
00558   TidyAttr_NORESIZE,          /**< NORESIZE= */
00559   TidyAttr_NOSHADE,           /**< NOSHADE= */
00560   TidyAttr_NOWRAP,            /**< NOWRAP= */
00561   TidyAttr_OBJECT,            /**< OBJECT= */
00562   TidyAttr_OnAFTERUPDATE,     /**< OnAFTERUPDATE= */
00563   TidyAttr_OnBEFOREUNLOAD,    /**< OnBEFOREUNLOAD= */
00564   TidyAttr_OnBEFOREUPDATE,    /**< OnBEFOREUPDATE= */
00565   TidyAttr_OnBLUR,            /**< OnBLUR= */
00566   TidyAttr_OnCHANGE,          /**< OnCHANGE= */
00567   TidyAttr_OnCLICK,           /**< OnCLICK= */
00568   TidyAttr_OnDATAAVAILABLE,   /**< OnDATAAVAILABLE= */
00569   TidyAttr_OnDATASETCHANGED,  /**< OnDATASETCHANGED= */
00570   TidyAttr_OnDATASETCOMPLETE, /**< OnDATASETCOMPLETE= */
00571   TidyAttr_OnDBLCLICK,        /**< OnDBLCLICK= */
00572   TidyAttr_OnERRORUPDATE,     /**< OnERRORUPDATE= */
00573   TidyAttr_OnFOCUS,           /**< OnFOCUS= */
00574   TidyAttr_OnKEYDOWN,         /**< OnKEYDOWN= */
00575   TidyAttr_OnKEYPRESS,        /**< OnKEYPRESS= */
00576   TidyAttr_OnKEYUP,           /**< OnKEYUP= */
00577   TidyAttr_OnLOAD,            /**< OnLOAD= */
00578   TidyAttr_OnMOUSEDOWN,       /**< OnMOUSEDOWN= */
00579   TidyAttr_OnMOUSEMOVE,       /**< OnMOUSEMOVE= */
00580   TidyAttr_OnMOUSEOUT,        /**< OnMOUSEOUT= */
00581   TidyAttr_OnMOUSEOVER,       /**< OnMOUSEOVER= */
00582   TidyAttr_OnMOUSEUP,         /**< OnMOUSEUP= */
00583   TidyAttr_OnRESET,           /**< OnRESET= */
00584   TidyAttr_OnROWENTER,        /**< OnROWENTER= */
00585   TidyAttr_OnROWEXIT,         /**< OnROWEXIT= */
00586   TidyAttr_OnSELECT,          /**< OnSELECT= */
00587   TidyAttr_OnSUBMIT,          /**< OnSUBMIT= */
00588   TidyAttr_OnUNLOAD,          /**< OnUNLOAD= */
00589   TidyAttr_PROFILE,           /**< PROFILE= */
00590   TidyAttr_PROMPT,            /**< PROMPT= */
00591   TidyAttr_RBSPAN,            /**< RBSPAN= */
00592   TidyAttr_READONLY,          /**< READONLY= */
00593   TidyAttr_REL,               /**< REL= */
00594   TidyAttr_REV,               /**< REV= */
00595   TidyAttr_RIGHTMARGIN,       /**< RIGHTMARGIN= */
00596   TidyAttr_ROWS,              /**< ROWS= */
00597   TidyAttr_ROWSPAN,           /**< ROWSPAN= */
00598   TidyAttr_RULES,             /**< RULES= */
00599   TidyAttr_SCHEME,            /**< SCHEME= */
00600   TidyAttr_SCOPE,             /**< SCOPE= */
00601   TidyAttr_SCROLLING,         /**< SCROLLING= */
00602   TidyAttr_SELECTED,          /**< SELECTED= */
00603   TidyAttr_SHAPE,             /**< SHAPE= */
00604   TidyAttr_SHOWGRID,          /**< SHOWGRID= */
00605   TidyAttr_SHOWGRIDX,         /**< SHOWGRIDX= */
00606   TidyAttr_SHOWGRIDY,         /**< SHOWGRIDY= */
00607   TidyAttr_SIZE,              /**< SIZE= */
00608   TidyAttr_SPAN,              /**< SPAN= */
00609   TidyAttr_SRC,               /**< SRC= */
00610   TidyAttr_STANDBY,           /**< STANDBY= */
00611   TidyAttr_START,             /**< START= */
00612   TidyAttr_STYLE,             /**< STYLE= */
00613   TidyAttr_SUMMARY,           /**< SUMMARY= */
00614   TidyAttr_TABINDEX,          /**< TABINDEX= */
00615   TidyAttr_TARGET,            /**< TARGET= */
00616   TidyAttr_TEXT,              /**< TEXT= */
00617   TidyAttr_TITLE,             /**< TITLE= */
00618   TidyAttr_TOPMARGIN,         /**< TOPMARGIN= */
00619   TidyAttr_TYPE,              /**< TYPE= */
00620   TidyAttr_USEMAP,            /**< USEMAP= */
00621   TidyAttr_VALIGN,            /**< VALIGN= */
00622   TidyAttr_VALUE,             /**< VALUE= */
00623   TidyAttr_VALUETYPE,         /**< VALUETYPE= */
00624   TidyAttr_VERSION,           /**< VERSION= */
00625   TidyAttr_VLINK,             /**< VLINK= */
00626   TidyAttr_VSPACE,            /**< VSPACE= */
00627   TidyAttr_WIDTH,             /**< WIDTH= */
00628   TidyAttr_WRAP,              /**< WRAP= */
00629   TidyAttr_XML_LANG,          /**< XML_LANG= */
00630   TidyAttr_XML_SPACE,         /**< XML_SPACE= */
00631   TidyAttr_XMLNS,             /**< XMLNS= */
00632 
00633   TidyAttr_EVENT,             /**< EVENT= */
00634   TidyAttr_METHODS,           /**< METHODS= */
00635   TidyAttr_N,                 /**< N= */
00636   TidyAttr_SDAFORM,           /**< SDAFORM= */
00637   TidyAttr_SDAPREF,           /**< SDAPREF= */
00638   TidyAttr_SDASUFF,           /**< SDASUFF= */
00639   TidyAttr_URN,               /**< URN= */
00640 
00641   TidyAttr_ASYNC,
00642   TidyAttr_AUTOCOMPLETE,
00643   TidyAttr_AUTOFOCUS,
00644   TidyAttr_AUTOPLAY,
00645   TidyAttr_CHALLENGE,
00646   TidyAttr_CONTENTEDITABLE,
00647   TidyAttr_CONTEXTMENU,
00648   TidyAttr_CONTROLS,
00649   TidyAttr_DEFAULT,
00650   TidyAttr_DIRNAME,
00651   TidyAttr_DRAGGABLE,
00652   TidyAttr_DROPZONE,
00653   TidyAttr_FORM,
00654   TidyAttr_FORMACTION,
00655   TidyAttr_FORMENCTYPE,
00656   TidyAttr_FORMMETHOD,
00657   TidyAttr_FORMNOVALIDATE,
00658   TidyAttr_FORMTARGET,
00659   TidyAttr_HIDDEN,
00660   TidyAttr_HIGH,
00661   TidyAttr_ICON,
00662   TidyAttr_KEYTYPE,
00663   TidyAttr_KIND,
00664   TidyAttr_LIST,
00665   TidyAttr_LOOP,
00666   TidyAttr_LOW,
00667   TidyAttr_MANIFEST,
00668   TidyAttr_MAX,
00669   TidyAttr_MEDIAGROUP,
00670   TidyAttr_MIN,
00671   TidyAttr_NOVALIDATE,
00672   TidyAttr_OPEN,
00673   TidyAttr_OPTIMUM,
00674   TidyAttr_OnABORT,
00675   TidyAttr_OnAFTERPRINT,
00676   TidyAttr_OnBEFOREPRINT,
00677   TidyAttr_OnCANPLAY,
00678   TidyAttr_OnCANPLAYTHROUGH,
00679   TidyAttr_OnCONTEXTMENU,
00680   TidyAttr_OnCUECHANGE,
00681   TidyAttr_OnDRAG,
00682   TidyAttr_OnDRAGEND,
00683   TidyAttr_OnDRAGENTER,
00684   TidyAttr_OnDRAGLEAVE,
00685   TidyAttr_OnDRAGOVER,
00686   TidyAttr_OnDRAGSTART,
00687   TidyAttr_OnDROP,
00688   TidyAttr_OnDURATIONCHANGE,
00689   TidyAttr_OnEMPTIED,
00690   TidyAttr_OnENDED,
00691   TidyAttr_OnERROR,
00692   TidyAttr_OnHASHCHANGE,
00693   TidyAttr_OnINPUT,
00694   TidyAttr_OnINVALID,
00695   TidyAttr_OnLOADEDDATA,
00696   TidyAttr_OnLOADEDMETADATA,
00697   TidyAttr_OnLOADSTART,
00698   TidyAttr_OnMESSAGE,
00699   TidyAttr_OnMOUSEWHEEL,
00700   TidyAttr_OnOFFLINE,
00701   TidyAttr_OnONLINE,
00702   TidyAttr_OnPAGEHIDE,
00703   TidyAttr_OnPAGESHOW,
00704   TidyAttr_OnPAUSE,
00705   TidyAttr_OnPLAY,
00706   TidyAttr_OnPLAYING,
00707   TidyAttr_OnPOPSTATE,
00708   TidyAttr_OnPROGRESS,
00709   TidyAttr_OnRATECHANGE,
00710   TidyAttr_OnREADYSTATECHANGE,
00711   TidyAttr_OnREDO,
00712   TidyAttr_OnRESIZE,
00713   TidyAttr_OnSCROLL,
00714   TidyAttr_OnSEEKED,
00715   TidyAttr_OnSEEKING,
00716   TidyAttr_OnSHOW,
00717   TidyAttr_OnSTALLED,
00718   TidyAttr_OnSTORAGE,
00719   TidyAttr_OnSUSPEND,
00720   TidyAttr_OnTIMEUPDATE,
00721   TidyAttr_OnUNDO,
00722   TidyAttr_OnVOLUMECHANGE,
00723   TidyAttr_OnWAITING,
00724   TidyAttr_PATTERN,
00725   TidyAttr_PLACEHOLDER,
00726   TidyAttr_POSTER,
00727   TidyAttr_PRELOAD,
00728   TidyAttr_PUBDATE,
00729   TidyAttr_RADIOGROUP,
00730   TidyAttr_REQUIRED,
00731   TidyAttr_REVERSED,
00732   TidyAttr_SANDBOX,
00733   TidyAttr_SCOPED,
00734   TidyAttr_SEAMLESS,
00735   TidyAttr_SIZES,
00736   TidyAttr_SPELLCHECK,
00737   TidyAttr_SRCDOC,
00738   TidyAttr_SRCLANG,
00739   TidyAttr_STEP,
00740 
00741 
00742   N_TIDY_ATTRIBS              /**< Must be last */
00743 } TidyAttrId;
00744 
00745 #ifdef __cplusplus
00746 }  /* extern "C" */
00747 #endif
00748 #endif /* __TIDYENUM_H__ */