tidyenum.h Source File

# tidyenum.h

Go to the documentation of this file.

    00001 #ifndef __TIDYENUM_H__
    00002 #define __TIDYENUM_H__
    00003
    00004 /* 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-2002 World Wide Web Consortium
    00010   (Massachusetts Institute of Technology, Institut National de
    00011   Recherche en Informatique et en Automatique, Keio University).
    00012   All Rights Reserved.
    00013
    00014   CVS Info :
    00015
    00016     $Author: creitzel $
    00017     $Date: 2003/02/16 19:33:08 $
    00018     $Revision: 1.2 $
    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 /** @file tidyenum.h - Enumerations defined for use with TidyLib.
    00065 */
    00066
    00067 #ifdef __cplusplus
    00068 extern "C" {
    00069 #endif
    00070
    00071 /* Enumerate configuration options
    00072 */
    00073
    00074 /** Categories of Tidy configuration options
    00075 */
    00076 typedef enum
    00077 {
    00078   TidyMarkup,          /**< Markup options: (X)HTML version, etc */
    00079   TidyDiagnostics,     /**< Diagnostics */
    00080   TidyPrettyPrint,     /**< Output layout */
    00081   TidyEncoding,        /**< Character encodings */
    00082   TidyMiscellaneous    /**< File handling, message format, etc. */
    00083 } TidyConfigCategory;
    00084
    00085
    00086 /** Option IDs Used to get/set option values.
    00087 */
    00088 typedef enum
    00089 {
    00090   TidyUnknownOption,   /**< Unknown option! */
    00091   TidyIndentSpaces,    /**< Indentation n spaces */
    00092   TidyWrapLen,         /**< Wrap margin */
    00093   TidyTabSize,         /**< Expand tabs to n spaces */
    00094
    00095   TidyCharEncoding,    /**< In/out character encoding */
    00096   TidyInCharEncoding,  /**< Input character encoding (if different) */
    00097   TidyOutCharEncoding, /**< Output character encoding (if different) */
    00098   /* TidyNewline,           Output line ending (default to platform) */
    00099
    00100   TidyDoctypeMode,     /**< See doctype property */
    00101   TidyDoctype,         /**< User specified doctype */
    00102
    00103   TidyDuplicateAttrs,  /**< Keep first or last duplicate attribute */
    00104   TidyAltText,         /**< Default text for alt attribute */
    00105   TidySlideStyle,      /**< Style sheet for slides: not used for anything yet */
    00106   TidyErrFile,         /**< File name to write errors to */
    00107   /* TidyOutFile,           File name to write markup to */
    00108   TidyWriteBack,       /**< If true then output tidied markup */
    00109   TidyShowMarkup,      /**< If false, normal output is suppressed */
    00110   TidyShowWarnings,    /**< However errors are always shown */
    00111   TidyQuiet,           /**< No 'Parsing X', guessed DTD or summary */
    00112   TidyIndentContent,   /**< Indent content of appropriate tags */
    00113                        /**< "auto" does text/block level content indentation */
    00114   TidyHideEndTags,     /**< Suppress optional end tags */
    00115   TidyXmlTags,         /**< Treat input as XML */
    00116   TidyXmlOut,          /**< Create output as XML */
    00117   TidyXhtmlOut,        /**< Output extensible HTML */
    00118   TidyHtmlOut,         /**< Output plain HTML, even for XHTML input.
    00119                            Yes means set explicitly. */
    00120   TidyXmlDecl,         /**< Add <?xml?> for XML docs */
    00121   TidyUpperCaseTags,   /**< Output tags in upper not lower case */
    00122   TidyUpperCaseAttrs,  /**< Output attributes in upper not lower case */
    00123   TidyMakeBare,        /**< Make bare HTML: remove Microsoft cruft */
    00124   TidyMakeClean,       /**< Replace presentational clutter by style rules */
    00125   TidyLogicalEmphasis, /**< Replace i by em and b by strong */
    00126   TidyDropPropAttrs,   /**< Discard proprietary attributes */
    00127   TidyDropFontTags,    /**< Discard presentation tags */
    00128   TidyDropEmptyParas,  /**< Discard empty p elements */
    00129   TidyFixComments,     /**< Fix comments with adjacent hyphens */
    00130   TidyBreakBeforeBR,   /**< Output newline before <br> or not? */
    00131   TidyBurstSlides,     /**< Create slides on each h2 element */
    00132   TidyNumEntities,     /**< Use numeric entities */
    00133   TidyQuoteMarks,      /**< Output " marks as &quot; */
    00134   TidyQuoteNbsp,       /**< Output non-breaking space as entity */
    00135   TidyQuoteAmpersand,  /**< Output naked ampersand as &amp; */
    00136   TidyWrapAttVals,     /**< Wrap within attribute values */
    00137   TidyWrapScriptlets,  /**< Wrap within JavaScript string literals */
    00138   TidyWrapSection,     /**< Wrap within <![ ... ]> section tags */
    00139   TidyWrapAsp,         /**< Wrap within ASP pseudo elements */
    00140   TidyWrapJste,        /**< Wrap within JSTE pseudo elements */
    00141   TidyWrapPhp,         /**< Wrap within PHP pseudo elements */
    00142   TidyFixBackslash,    /**< Fix URLs by replacing \ with / */
    00143   TidyIndentAttributes,/**< Newline+indent before each attribute */
    00144   TidyXmlPIs,          /**< If set to yes PIs must end with ?> */
    00145   TidyXmlSpace,        /**< If set to yes adds xml:space attr as needed */
    00146   TidyEncloseBodyText, /**< If yes text at body is wrapped in P's */
    00147   TidyEncloseBlockText,/**< If yes text in blocks is wrapped in P's */
    00148   TidyKeepFileTimes,   /**< If yes last modied time is preserved */
    00149   TidyWord2000,        /**< Draconian cleaning for Word2000 */
    00150   TidyMark,            /**< Add meta element indicating tidied doc */
    00151   TidyEmacs,           /**< If true format error output for GNU Emacs */
    00152   TidyEmacsFile,       /**< Name of current Emacs file */
    00153   TidyLiteralAttribs,  /**< If true attributes may use newlines */
    00154   TidyBodyOnly,        /**< Output BODY content only */
    00155   TidyFixUri,          /**< Applies URI encoding if necessary */
    00156   TidyLowerLiterals,   /**< Folds known attribute values to lower case */
    00157   TidyHideComments,    /**< Hides all (real) comments in output */
    00158   TidyIndentCdata,     /**< Indent <!CDATA[ ... ]]> section */
    00159   TidyForceOutput,     /**< Output document even if errors were found */
    00160   TidyShowErrors,      /**< Number of errors to put out */
    00161   TidyAsciiChars,      /**< Convert quotes and dashes to nearest ASCII char */
    00162   TidyJoinClasses,     /**< Join multiple class attributes */
    00163   TidyJoinStyles,      /**< Join multiple style attributes */
    00164   TidyEscapeCdata,     /**< Replace <![CDATA[]]> sections with escaped text */
    00165
    00166 #if SUPPORT_ASIAN_ENCODINGS
    00167   TidyLanguage,        /**< Language property: not used for anything yet */
    00168   TidyNCR,             /**< Allow numeric character references */
    00169 #endif
    00170 #if SUPPORT_UTF16_ENCODINGS
    00171   TidyOutputBOM,      /**< Output a Byte Order Mark (BOM) for UTF-16 encodings */
    00172                       /**< auto: if input stream has BOM, we output a BOM */
    00173 #endif
    00174
    00175   TidyReplaceColor,    /**< Replace hex color attribute values with names */
    00176   TidyCSSPrefix,       /**< CSS class naming for -clean option */
    00177
    00178   TidyInlineTags,      /**< Declared inline tags */
    00179   TidyBlockTags,       /**< Declared block tags */
    00180   TidyEmptyTags,       /**< Declared empty tags */
    00181   TidyPreTags,         /**< Declared pre tags */
    00182
    00183   TidyAccessibilityCheckLevel, /**< Accessibility check level
    00184                                    0 (old style), or 1, 2, 3 */
    00185
    00186   N_TIDY_OPTIONS       /**< Must be last */
    00187 } TidyOptionId;
    00188
    00189 /** Option data types
    00190 */
    00191 typedef enum
    00192 {
    00193   TidyString,          /**< String */
    00194   TidyInteger,         /**< Integer or enumeration */
    00195   TidyBoolean          /**< Boolean flag */
    00196 } TidyOptionType;
    00197
    00198
    00199 /** AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM
    00200 */
    00201 typedef enum
    00202 {
    00203    TidyNoState,     /**< maps to 'no' */
    00204    TidyYesState,    /**< maps to 'yes' */
    00205    TidyAutoState    /**< Automatic */
    00206 } TidyTriState;
    00207
    00208 /** TidyNewline option values to control output line endings.
    00209 */
    00210 typedef enum
    00211 {
    00212     TidyLF,         /**< Use Unix style: LF */
    00213     TidyCRLF,       /**< Use DOS/Windows style: CR+LF */
    00214     TidyCR          /**< Use Macintosh style: CR */
    00215 } TidyLineEnding;
    00216
    00217
    00218 /** Mode controlling treatment of doctype
    00219 */
    00220 typedef enum
    00221 {
    00222     TidyDoctypeOmit,    /**< Omit DOCTYPE altogether */
    00223     TidyDoctypeAuto,    /**< Keep DOCTYPE in input.  Set version to content */
    00224     TidyDoctypeStrict,  /**< Convert document to HTML 4 strict content model */
    00225     TidyDoctypeLoose,   /**< Convert document to HTML 4 transitional
    00226                              content model */
    00227     TidyDoctypeUser     /**< Set DOCTYPE FPI explicitly */
    00228 } TidyDoctypeModes;
    00229
    00230 /** Mode controlling treatment of duplicate Attributes
    00231 */
    00232 typedef enum
    00233 {
    00234     TidyKeepFirst,
    00235     TidyKeepLast
    00236 } TidyDupAttrModes;
    00237
    00238
    00239 /* I/O and Message handling interface
    00240 **
    00241 ** By default, Tidy will define, create and use
    00242 ** instances of input and output handlers for
    00243 ** standard C buffered I/O (i.e. FILE* stdin,
    00244 ** FILE* stdout and FILE* stderr for content
    00245 ** input, content output and diagnostic output,
    00246 ** respectively.  A FILE* cfgFile input handler
    00247 ** will be used for config files.  Command line
    00248 ** options will just be set directly.
    00249 */
    00250
    00251 /** Message severity level
    00252 */
    00253 typedef enum
    00254 {
    00255   TidyInfo,             /**< Information about markup usage */
    00256   TidyWarning,          /**< Warning message */
    00257   TidyConfig,           /**< Configuration error */
    00258   TidyAccess,           /**< Accessibility message */
    00259   TidyError,            /**< Error message - output suppressed */
    00260   TidyBadDocument,      /**< I/O or file system error */
    00261   TidyFatal             /**< Crash! */
    00262 } TidyReportLevel;
    00263
    00264
    00265 /* Document tree traversal functions
    00266 */
    00267
    00268 /** Node types
    00269 */
    00270 typedef enum
    00271 {
    00272   TidyNode_Root,        /**< Root */
    00273   TidyNode_DocType,     /**< DOCTYPE */
    00274   TidyNode_Comment,     /**< Comment */
    00275   TidyNode_ProcIns,     /**< Processing Instruction */
    00276   TidyNode_Text,        /**< Text */
    00277   TidyNode_Start,       /**< Start Tag */
    00278   TidyNode_End,         /**< End Tag */
    00279   TidyNode_StartEnd,    /**< Start/End (empty) Tag */
    00280   TidyNode_CDATA,       /**< Unparsed Text */
    00281   TidyNode_Section,     /**< XML Section */
    00282   TidyNode_Asp,         /**< ASP Source */
    00283   TidyNode_Jste,        /**< JSTE Source */
    00284   TidyNode_Php,         /**< PHP Source */
    00285   TidyNode_XmlDecl      /**< XML Declaration */
    00286 } TidyNodeType;
    00287
    00288
    00289 /** Known HTML element types
    00290 */
    00291 typedef enum
    00292 {
    00293   TidyTag_UNKNOWN,      /**< Unknown tag! */
    00294   TidyTag_A,            /**< A */
    00295   TidyTag_ABBR,         /**< ABBR */
    00296   TidyTag_ACRONYM,      /**< ACRONYM */
    00297   TidyTag_ADDRESS,      /**< ADDRESS */
    00298   TidyTag_ALIGN,        /**< ALIGN */
    00299   TidyTag_APPLET,       /**< APPLET */
    00300   TidyTag_AREA,         /**< AREA */
    00301   TidyTag_B,            /**< B */
    00302   TidyTag_BASE,         /**< BASE */
    00303   TidyTag_BASEFONT,     /**< BASEFONT */
    00304   TidyTag_BDO,          /**< BDO */
    00305   TidyTag_BGSOUND,      /**< BGSOUND */
    00306   TidyTag_BIG,          /**< BIG */
    00307   TidyTag_BLINK,        /**< BLINK */
    00308   TidyTag_BLOCKQUOTE,   /**< BLOCKQUOTE */
    00309   TidyTag_BODY,         /**< BODY */
    00310   TidyTag_BR,           /**< BR */
    00311   TidyTag_BUTTON,       /**< BUTTON */
    00312   TidyTag_CAPTION,      /**< CAPTION */
    00313   TidyTag_CENTER,       /**< CENTER */
    00314   TidyTag_CITE,         /**< CITE */
    00315   TidyTag_CODE,         /**< CODE */
    00316   TidyTag_COL,          /**< COL */
    00317   TidyTag_COLGROUP,     /**< COLGROUP */
    00318   TidyTag_COMMENT,      /**< COMMENT */
    00319   TidyTag_DD,           /**< DD */
    00320   TidyTag_DEL,          /**< DEL */
    00321   TidyTag_DFN,          /**< DFN */
    00322   TidyTag_DIR,          /**< DIR */
    00323   TidyTag_DIV,          /**< DIF */
    00324   TidyTag_DL,           /**< DL */
    00325   TidyTag_DT,           /**< DT */
    00326   TidyTag_EM,           /**< EM */
    00327   TidyTag_EMBED,        /**< EMBED */
    00328   TidyTag_FIELDSET,     /**< FIELDSET */
    00329   TidyTag_FONT,         /**< FONT */
    00330   TidyTag_FORM,         /**< FORM */
    00331   TidyTag_FRAME,        /**< FRAME */
    00332   TidyTag_FRAMESET,     /**< FRAMESET */
    00333   TidyTag_H1,           /**< H1 */
    00334   TidyTag_H2,           /**< H2 */
    00335   TidyTag_H3,           /**< H3 */
    00336   TidyTag_H4,           /**< H4 */
    00337   TidyTag_H5,           /**< H5 */
    00338   TidyTag_H6,           /**< H6 */
    00339   TidyTag_HEAD,         /**< HEAD */
    00340   TidyTag_HR,           /**< HR */
    00341   TidyTag_HTML,         /**< HTML */
    00342   TidyTag_I,            /**< I */
    00343   TidyTag_IFRAME,       /**< IFRAME */
    00344   TidyTag_ILAYER,       /**< ILAYER */
    00345   TidyTag_IMG,          /**< IMG */
    00346   TidyTag_INPUT,        /**< INPUT */
    00347   TidyTag_INS,          /**< INS */
    00348   TidyTag_ISINDEX,      /**< ISINDEX */
    00349   TidyTag_KBD,          /**< KBD */
    00350   TidyTag_KEYGEN,       /**< KEYGEN */
    00351   TidyTag_LABEL,        /**< LABEL */
    00352   TidyTag_LAYER,        /**< LAYER */
    00353   TidyTag_LEGEND,       /**< LEGEND */
    00354   TidyTag_LI,           /**< LI */
    00355   TidyTag_LINK,         /**< LINK */
    00356   TidyTag_LISTING,      /**< LISTING */
    00357   TidyTag_MAP,          /**< MAP */
    00358   TidyTag_MARQUEE,      /**< MARQUEE */
    00359   TidyTag_MENU,         /**< MENU */
    00360   TidyTag_META,         /**< META */
    00361   TidyTag_MULTICOL,     /**< MULTICOL */
    00362   TidyTag_NOBR,         /**< NOBR */
    00363   TidyTag_NOEMBED,      /**< NOEMBED */
    00364   TidyTag_NOFRAMES,     /**< NOFRAMES */
    00365   TidyTag_NOLAYER,      /**< NOLAYER */
    00366   TidyTag_NOSAVE,       /**< NOSAVE */
    00367   TidyTag_NOSCRIPT,     /**< NOSCRIPT */
    00368   TidyTag_OBJECT,       /**< OBJECT */
    00369   TidyTag_OL,           /**< OL */
    00370   TidyTag_OPTGROUP,     /**< OPTGROUP */
    00371   TidyTag_OPTION,       /**< OPTION */
    00372   TidyTag_P,            /**< P */
    00373   TidyTag_PARAM,        /**< PARAM */
    00374   TidyTag_PLAINTEXT,    /**< PLAINTEXT */
    00375   TidyTag_PRE,          /**< PRE */
    00376   TidyTag_Q,            /**< Q */
    00377   TidyTag_RB,           /**< RB */
    00378   TidyTag_RBC,          /**< RBC */
    00379   TidyTag_RP,           /**< RP */
    00380   TidyTag_RT,           /**< RT */
    00381   TidyTag_RTC,          /**< RTC */
    00382   TidyTag_RUBY,         /**< RUBY */
    00383   TidyTag_S,            /**< S */
    00384   TidyTag_SAMP,         /**< SAMP */
    00385   TidyTag_SCRIPT,       /**< SCRIPT */
    00386   TidyTag_SELECT,       /**< SELECT */
    00387   TidyTag_SERVER,       /**< SERVER */
    00388   TidyTag_SERVLET,      /**< SERVLET */
    00389   TidyTag_SMALL,        /**< SMALL */
    00390   TidyTag_SPACER,       /**< SPACER */
    00391   TidyTag_SPAN,         /**< SPAN */
    00392   TidyTag_STRIKE,       /**< STRIKE */
    00393   TidyTag_STRONG,       /**< STRONG */
    00394   TidyTag_STYLE,        /**< STYLE */
    00395   TidyTag_SUB,          /**< SUB */
    00396   TidyTag_SUP,          /**< SUP */
    00397   TidyTag_TABLE,        /**< TABLE */
    00398   TidyTag_TBODY,        /**< TBODY */
    00399   TidyTag_TD,           /**< TD */
    00400   TidyTag_TEXTAREA,     /**< TEXTAREA */
    00401   TidyTag_TFOOT,        /**< TFOOT */
    00402   TidyTag_TH,           /**< TH */
    00403   TidyTag_THEAD,        /**< THEAD */
    00404   TidyTag_TITLE,        /**< TITLE */
    00405   TidyTag_TR,           /**< TR */
    00406   TidyTag_TT,           /**< TT */
    00407   TidyTag_U,            /**< U */
    00408   TidyTag_UL,           /**< UL */
    00409   TidyTag_VAR,          /**< VAR */
    00410   TidyTag_WBR,          /**< WBR */
    00411   TidyTag_XMP,          /**< XMP */
    00412   N_TIDY_TAGS           /**< Must be last */
    00413 } TidyTagId;
    00414
    00415 /* Attribute interrogation
    00416 */
    00417
    00418 /** Known HTML attributes
    00419 */
    00420 typedef enum
    00421 {
    00422   TidyAttr_UNKNOWN,           /**< UNKNOWN= */
    00423   TidyAttr_ABBR,              /**< ABBR= */
    00424   TidyAttr_ACCEPT,            /**< ACCEPT= */
    00425   TidyAttr_ACCEPT_CHARSET,    /**< ACCEPT_CHARSET= */
    00426   TidyAttr_ACCESSKEY,         /**< ACCESSKEY= */
    00427   TidyAttr_ACTION,            /**< ACTION= */
    00428   TidyAttr_ADD_DATE,          /**< ADD_DATE= */
    00429   TidyAttr_ALIGN,             /**< ALIGN= */
    00430   TidyAttr_ALINK,             /**< ALINK= */
    00431   TidyAttr_ALT,               /**< ALT= */
    00432   TidyAttr_ARCHIVE,           /**< ARCHIVE= */
    00433   TidyAttr_AXIS,              /**< AXIS= */
    00434   TidyAttr_BACKGROUND,        /**< BACKGROUND= */
    00435   TidyAttr_BGCOLOR,           /**< BGCOLOR= */
    00436   TidyAttr_BGPROPERTIES,      /**< BGPROPERTIES= */
    00437   TidyAttr_BORDER,            /**< BORDER= */
    00438   TidyAttr_BORDERCOLOR,       /**< BORDERCOLOR= */
    00439   TidyAttr_BOTTOMMARGIN,      /**< BOTTOMMARGIN= */
    00440   TidyAttr_CELLPADDING,       /**< CELLPADDING= */
    00441   TidyAttr_CELLSPACING,       /**< CELLSPACING= */
    00442   TidyAttr_CHAR,              /**< CHAR= */
    00443   TidyAttr_CHAROFF,           /**< CHAROFF= */
    00444   TidyAttr_CHARSET,           /**< CHARSET= */
    00445   TidyAttr_CHECKED,           /**< CHECKED= */
    00446   TidyAttr_CITE,              /**< CITE= */
    00447   TidyAttr_CLASS,             /**< CLASS= */
    00448   TidyAttr_CLASSID,           /**< CLASSID= */
    00449   TidyAttr_CLEAR,             /**< CLEAR= */
    00450   TidyAttr_CODE,              /**< CODE= */
    00451   TidyAttr_CODEBASE,          /**< CODEBASE= */
    00452   TidyAttr_CODETYPE,          /**< CODETYPE= */
    00453   TidyAttr_COLOR,             /**< COLOR= */
    00454   TidyAttr_COLS,              /**< COLS= */
    00455   TidyAttr_COLSPAN,           /**< COLSPAN= */
    00456   TidyAttr_COMPACT,           /**< COMPACT= */
    00457   TidyAttr_CONTENT,           /**< CONTENT= */
    00458   TidyAttr_COORDS,            /**< COORDS= */
    00459   TidyAttr_DATA,              /**< DATA= */
    00460   TidyAttr_DATAFLD,           /**< DATAFLD= */
    00461   TidyAttr_DATAFORMATAS,      /**< DATAFORMATAS= */
    00462   TidyAttr_DATAPAGESIZE,      /**< DATAPAGESIZE= */
    00463   TidyAttr_DATASRC,           /**< DATASRC= */
    00464   TidyAttr_DATETIME,          /**< DATETIME= */
    00465   TidyAttr_DECLARE,           /**< DECLARE= */
    00466   TidyAttr_DEFER,             /**< DEFER= */
    00467   TidyAttr_DIR,               /**< DIR= */
    00468   TidyAttr_DISABLED,          /**< DISABLED= */
    00469   TidyAttr_ENCODING,          /**< ENCODING= */
    00470   TidyAttr_ENCTYPE,           /**< ENCTYPE= */
    00471   TidyAttr_FACE,              /**< FACE= */
    00472   TidyAttr_FOR,               /**< FOR= */
    00473   TidyAttr_FRAME,             /**< FRAME= */
    00474   TidyAttr_FRAMEBORDER,       /**< FRAMEBORDER= */
    00475   TidyAttr_FRAMESPACING,      /**< FRAMESPACING= */
    00476   TidyAttr_GRIDX,             /**< GRIDX= */
    00477   TidyAttr_GRIDY,             /**< GRIDY= */
    00478   TidyAttr_HEADERS,           /**< HEADERS= */
    00479   TidyAttr_HEIGHT,            /**< HEIGHT= */
    00480   TidyAttr_HREF,              /**< HREF= */
    00481   TidyAttr_HREFLANG,          /**< HREFLANG= */
    00482   TidyAttr_HSPACE,            /**< HSPACE= */
    00483   TidyAttr_HTTP_EQUIV,        /**< HTTP_EQUIV= */
    00484   TidyAttr_ID,                /**< ID= */
    00485   TidyAttr_ISMAP,             /**< ISMAP= */
    00486   TidyAttr_LABEL,             /**< LABEL= */
    00487   TidyAttr_LANG,              /**< LANG= */
    00488   TidyAttr_LANGUAGE,          /**< LANGUAGE= */
    00489   TidyAttr_LAST_MODIFIED,     /**< LAST_MODIFIED= */
    00490   TidyAttr_LAST_VISIT,        /**< LAST_VISIT= */
    00491   TidyAttr_LEFTMARGIN,        /**< LEFTMARGIN= */
    00492   TidyAttr_LINK,              /**< LINK= */
    00493   TidyAttr_LONGDESC,          /**< LONGDESC= */
    00494   TidyAttr_LOWSRC,            /**< LOWSRC= */
    00495   TidyAttr_MARGINHEIGHT,      /**< MARGINHEIGHT= */
    00496   TidyAttr_MARGINWIDTH,       /**< MARGINWIDTH= */
    00497   TidyAttr_MAXLENGTH,         /**< MAXLENGTH= */
    00498   TidyAttr_MEDIA,             /**< MEDIA= */
    00499   TidyAttr_METHOD,            /**< METHOD= */
    00500   TidyAttr_MULTIPLE,          /**< MULTIPLE= */
    00501   TidyAttr_NAME,              /**< NAME= */
    00502   TidyAttr_NOHREF,            /**< NOHREF= */
    00503   TidyAttr_NORESIZE,          /**< NORESIZE= */
    00504   TidyAttr_NOSHADE,           /**< NOSHADE= */
    00505   TidyAttr_NOWRAP,            /**< NOWRAP= */
    00506   TidyAttr_OBJECT,            /**< OBJECT= */
    00507   TidyAttr_OnAFTERUPDATE,     /**< OnAFTERUPDATE= */
    00508   TidyAttr_OnBEFOREUNLOAD,    /**< OnBEFOREUNLOAD= */
    00509   TidyAttr_OnBEFOREUPDATE,    /**< OnBEFOREUPDATE= */
    00510   TidyAttr_OnBLUR,            /**< OnBLUR= */
    00511   TidyAttr_OnCHANGE,          /**< OnCHANGE= */
    00512   TidyAttr_OnCLICK,           /**< OnCLICK= */
    00513   TidyAttr_OnDATAAVAILABLE,   /**< OnDATAAVAILABLE= */
    00514   TidyAttr_OnDATASETCHANGED,  /**< OnDATASETCHANGED= */
    00515   TidyAttr_OnDATASETCOMPLETE, /**< OnDATASETCOMPLETE= */
    00516   TidyAttr_OnDBLCLICK,        /**< OnDBLCLICK= */
    00517   TidyAttr_OnERRORUPDATE,     /**< OnERRORUPDATE= */
    00518   TidyAttr_OnFOCUS,           /**< OnFOCUS= */
    00519   TidyAttr_OnKEYDOWN,         /**< OnKEYDOWN= */
    00520   TidyAttr_OnKEYPRESS,        /**< OnKEYPRESS= */
    00521   TidyAttr_OnKEYUP,           /**< OnKEYUP= */
    00522   TidyAttr_OnLOAD,            /**< OnLOAD= */
    00523   TidyAttr_OnMOUSEDOWN,       /**< OnMOUSEDOWN= */
    00524   TidyAttr_OnMOUSEMOVE,       /**< OnMOUSEMOVE= */
    00525   TidyAttr_OnMOUSEOUT,        /**< OnMOUSEOUT= */
    00526   TidyAttr_OnMOUSEOVER,       /**< OnMOUSEOVER= */
    00527   TidyAttr_OnMOUSEUP,         /**< OnMOUSEUP= */
    00528   TidyAttr_OnRESET,           /**< OnRESET= */
    00529   TidyAttr_OnROWENTER,        /**< OnROWENTER= */
    00530   TidyAttr_OnROWEXIT,         /**< OnROWEXIT= */
    00531   TidyAttr_OnSELECT,          /**< OnSELECT= */
    00532   TidyAttr_OnSUBMIT,          /**< OnSUBMIT= */
    00533   TidyAttr_OnUNLOAD,          /**< OnUNLOAD= */
    00534   TidyAttr_PROFILE,           /**< PROFILE= */
    00535   TidyAttr_PROMPT,            /**< PROMPT= */
    00536   TidyAttr_RBSPAN,            /**< RBSPAN= */
    00537   TidyAttr_READONLY,          /**< READONLY= */
    00538   TidyAttr_REL,               /**< REL= */
    00539   TidyAttr_REV,               /**< REV= */
    00540   TidyAttr_RIGHTMARGIN,       /**< RIGHTMARGIN= */
    00541   TidyAttr_ROWS,              /**< ROWS= */
    00542   TidyAttr_ROWSPAN,           /**< ROWSPAN= */
    00543   TidyAttr_RULES,             /**< RULES= */
    00544   TidyAttr_SCHEME,            /**< SCHEME= */
    00545   TidyAttr_SCOPE,             /**< SCOPE= */
    00546   TidyAttr_SCROLLING,         /**< SCROLLING= */
    00547   TidyAttr_SELECTED,          /**< SELECTED= */
    00548   TidyAttr_SHAPE,             /**< SHAPE= */
    00549   TidyAttr_SHOWGRID,          /**< SHOWGRID= */
    00550   TidyAttr_SHOWGRIDX,         /**< SHOWGRIDX= */
    00551   TidyAttr_SHOWGRIDY,         /**< SHOWGRIDY= */
    00552   TidyAttr_SIZE,              /**< SIZE= */
    00553   TidyAttr_SPAN,              /**< SPAN= */
    00554   TidyAttr_SRC,               /**< SRC= */
    00555   TidyAttr_STANDBY,           /**< STANDBY= */
    00556   TidyAttr_START,             /**< START= */
    00557   TidyAttr_STYLE,             /**< STYLE= */
    00558   TidyAttr_SUMMARY,           /**< SUMMARY= */
    00559   TidyAttr_TABINDEX,          /**< TABINDEX= */
    00560   TidyAttr_TARGET,            /**< TARGET= */
    00561   TidyAttr_TEXT,              /**< TEXT= */
    00562   TidyAttr_TITLE,             /**< TITLE= */
    00563   TidyAttr_TOPMARGIN,         /**< TOPMARGIN= */
    00564   TidyAttr_TYPE,              /**< TYPE= */
    00565   TidyAttr_USEMAP,            /**< USEMAP= */
    00566   TidyAttr_VALIGN,            /**< VALIGN= */
    00567   TidyAttr_VALUE,             /**< VALUE= */
    00568   TidyAttr_VALUETYPE,         /**< VALUETYPE= */
    00569   TidyAttr_VERSION,           /**< VERSION= */
    00570   TidyAttr_VLINK,             /**< VLINK= */
    00571   TidyAttr_VSPACE,            /**< VSPACE= */
    00572   TidyAttr_WIDTH,             /**< WIDTH= */
    00573   TidyAttr_WRAP,              /**< WRAP= */
    00574   TidyAttr_XML_LANG,          /**< XML_LANG= */
    00575   TidyAttr_XML_SPACE,         /**< XML_SPACE= */
    00576   TidyAttr_XMLNS,             /**< XMLNS= */
    00577   N_TIDY_ATTRIBS              /**< Must be last */
    00578 } TidyAttrId;
    00579
    00580 #ifdef __cplusplus
    00581 }  /* extern "C" */
    00582 #endif
    00583 #endif /* __TIDYENUM_H__ */