1#ifndef __TIDYENUM_H__ 2#define __TIDYENUM_H__ 3 4/* @file tidyenum.h -- Split public enums into separate header 5 6 Simplifies enum re-use in various wrappers. e.g. SWIG 7 generated wrappers and COM IDL files. 8 9 Copyright (c) 1998-2006 World Wide Web Consortium 10 (Massachusetts Institute of Technology, European Research 11 Consortium for Informatics and Mathematics, Keio University). 12 All Rights Reserved. 13 14 CVS Info : 15 16 $Author: iccir $ 17 $Date: 2007/02/20 23:59:53 $ 18 $Revision: 1.8 $ 19 20 Contributing Author(s): 21 22 Dave Raggett <dsr@w3.org> 23 24 The contributing author(s) would like to thank all those who 25 helped with testing, bug fixes and suggestions for improvements. 26 This wouldn't have been possible without your help. 27 28 COPYRIGHT NOTICE: 29 30 This software and documentation is provided "as is," and 31 the copyright holders and contributing author(s) make no 32 representations or warranties, express or implied, including 33 but not limited to, warranties of merchantability or fitness 34 for any particular purpose or that the use of the software or 35 documentation will not infringe any third party patents, 36 copyrights, trademarks or other rights. 37 38 The copyright holders and contributing author(s) will not be held 39 liable for any direct, indirect, special or consequential damages 40 arising out of any use of the software or documentation, even if 41 advised of the possibility of such damage. 42 43 Permission is hereby granted to use, copy, modify, and distribute 44 this source code, or portions hereof, documentation and executables, 45 for any purpose, without fee, subject to the following restrictions: 46 47 1. The origin of this source code must not be misrepresented. 48 2. Altered versions must be plainly marked as such and must 49 not be misrepresented as being the original source. 50 3. This Copyright notice may not be removed or altered from any 51 source or altered source distribution. 52 53 The copyright holders and contributing author(s) specifically 54 permit, without fee, and encourage the use of this source code 55 as a component for supporting the Hypertext Markup Language in 56 commercial products. If you use this source code in a product, 57 acknowledgment is not required but would be appreciated. 58 59 60 Created 2001-05-20 by Charles Reitzel 61 Updated 2002-07-01 by Charles Reitzel - 1st Implementation 62 63*/ 64 65#ifdef __cplusplus 66extern "C" { 67#endif 68 69/* Enumerate configuration options 70*/ 71 72/** Categories of Tidy configuration options 73*/ 74typedef enum 75{ 76 TidyMarkup, /**< Markup options: (X)HTML version, etc */ 77 TidyDiagnostics, /**< Diagnostics */ 78 TidyPrettyPrint, /**< Output layout */ 79 TidyEncoding, /**< Character encodings */ 80 TidyMiscellaneous /**< File handling, message format, etc. */ 81} TidyConfigCategory; 82 83 84/** Option IDs Used to get/set option values. 85*/ 86typedef enum 87{ 88 TidyUnknownOption, /**< Unknown option! */ 89 TidyIndentSpaces, /**< Indentation n spaces */ 90 TidyWrapLen, /**< Wrap margin */ 91 TidyTabSize, /**< Expand tabs to n spaces */ 92 93 TidyCharEncoding, /**< In/out character encoding */ 94 TidyInCharEncoding, /**< Input character encoding (if different) */ 95 TidyOutCharEncoding, /**< Output character encoding (if different) */ 96 TidyNewline, /**< Output line ending (default to platform) */ 97 98 TidyDoctypeMode, /**< See doctype property */ 99 TidyDoctype, /**< User specified doctype */ 100 101 TidyDuplicateAttrs, /**< Keep first or last duplicate attribute */ 102 TidyAltText, /**< Default text for alt attribute */ 103 104 /* obsolete */ 105 TidySlideStyle, /**< Style sheet for slides: not used for anything yet */ 106 107 TidyErrFile, /**< File name to write errors to */ 108 TidyOutFile, /**< File name to write markup to */ 109 TidyWriteBack, /**< If true then output tidied markup */ 110 TidyShowMarkup, /**< If false, normal output is suppressed */ 111 TidyShowWarnings, /**< However errors are always shown */ 112 TidyQuiet, /**< No 'Parsing X', guessed DTD or summary */ 113 TidyIndentContent, /**< Indent content of appropriate tags */ 114 /**< "auto" does text/block level content indentation */ 115 TidyHideEndTags, /**< Suppress optional end tags */ 116 TidyXmlTags, /**< Treat input as XML */ 117 TidyXmlOut, /**< Create output as XML */ 118 TidyXhtmlOut, /**< Output extensible HTML */ 119 TidyHtmlOut, /**< Output plain HTML, even for XHTML input. 120 Yes means set explicitly. */ 121 TidyXmlDecl, /**< Add <?xml?> for XML docs */ 122 TidyUpperCaseTags, /**< Output tags in upper not lower case */ 123 TidyUpperCaseAttrs, /**< Output attributes in upper not lower case */ 124 TidyMakeBare, /**< Make bare HTML: remove Microsoft cruft */ 125 TidyMakeClean, /**< Replace presentational clutter by style rules */ 126 TidyLogicalEmphasis, /**< Replace i by em and b by strong */ 127 TidyDropPropAttrs, /**< Discard proprietary attributes */ 128 TidyDropFontTags, /**< Discard presentation tags */ 129 TidyDropEmptyParas, /**< Discard empty p elements */ 130 TidyFixComments, /**< Fix comments with adjacent hyphens */ 131 TidyBreakBeforeBR, /**< Output newline before <br> or not? */ 132 133 /* obsolete */ 134 TidyBurstSlides, /**< Create slides on each h2 element */ 135 136 TidyNumEntities, /**< Use numeric entities */ 137 TidyQuoteMarks, /**< Output " marks as " */ 138 TidyQuoteNbsp, /**< Output non-breaking space as entity */ 139 TidyQuoteAmpersand, /**< Output naked ampersand as & */ 140 TidyWrapAttVals, /**< Wrap within attribute values */ 141 TidyWrapScriptlets, /**< Wrap within JavaScript string literals */ 142 TidyWrapSection, /**< Wrap within <![ ... ]> section tags */ 143 TidyWrapAsp, /**< Wrap within ASP pseudo elements */ 144 TidyWrapJste, /**< Wrap within JSTE pseudo elements */ 145 TidyWrapPhp, /**< Wrap within PHP pseudo elements */ 146 TidyFixBackslash, /**< Fix URLs by replacing \ with / */ 147 TidyIndentAttributes,/**< Newline+indent before each attribute */ 148 TidyXmlPIs, /**< If set to yes PIs must end with ?> */ 149 TidyXmlSpace, /**< If set to yes adds xml:space attr as needed */ 150 TidyEncloseBodyText, /**< If yes text at body is wrapped in P's */ 151 TidyEncloseBlockText,/**< If yes text in blocks is wrapped in P's */ 152 TidyKeepFileTimes, /**< If yes last modied time is preserved */ 153 TidyWord2000, /**< Draconian cleaning for Word2000 */ 154 TidyMark, /**< Add meta element indicating tidied doc */ 155 TidyEmacs, /**< If true format error output for GNU Emacs */ 156 TidyEmacsFile, /**< Name of current Emacs file */ 157 TidyLiteralAttribs, /**< If true attributes may use newlines */ 158 TidyBodyOnly, /**< Output BODY content only */ 159 TidyFixUri, /**< Applies URI encoding if necessary */ 160 TidyLowerLiterals, /**< Folds known attribute values to lower case */ 161 TidyHideComments, /**< Hides all (real) comments in output */ 162 TidyIndentCdata, /**< Indent <!CDATA[ ... ]]> section */ 163 TidyForceOutput, /**< Output document even if errors were found */ 164 TidyShowErrors, /**< Number of errors to put out */ 165 TidyAsciiChars, /**< Convert quotes and dashes to nearest ASCII char */ 166 TidyJoinClasses, /**< Join multiple class attributes */ 167 TidyJoinStyles, /**< Join multiple style attributes */ 168 TidyEscapeCdata, /**< Replace <![CDATA[]]> sections with escaped text */ 169 170#if SUPPORT_ASIAN_ENCODINGS 171 TidyLanguage, /**< Language property: not used for anything yet */ 172 TidyNCR, /**< Allow numeric character references */ 173#else 174 TidyLanguageNotUsed, 175 TidyNCRNotUsed, 176#endif 177#if SUPPORT_UTF16_ENCODINGS 178 TidyOutputBOM, /**< Output a Byte Order Mark (BOM) for UTF-16 encodings */ 179 /**< auto: if input stream has BOM, we output a BOM */ 180#else 181 TidyOutputBOMNotUsed, 182#endif 183 184 TidyReplaceColor, /**< Replace hex color attribute values with names */ 185 TidyCSSPrefix, /**< CSS class naming for -clean option */ 186 187 TidyInlineTags, /**< Declared inline tags */ 188 TidyBlockTags, /**< Declared block tags */ 189 TidyEmptyTags, /**< Declared empty tags */ 190 TidyPreTags, /**< Declared pre tags */ 191 192 TidyAccessibilityCheckLevel, /**< Accessibility check level 193 0 (old style), or 1, 2, 3 */ 194 195 TidyVertSpace, /**< degree to which markup is spread out vertically */ 196#if SUPPORT_ASIAN_ENCODINGS 197 TidyPunctWrap, /**< consider punctuation and breaking spaces for wrapping */ 198#else 199 TidyPunctWrapNotUsed, 200#endif 201 TidyMergeDivs, /**< Merge multiple DIVs */ 202 TidyDecorateInferredUL, /**< Mark inferred UL elements with no indent CSS */ 203#if TIDY_APPLE_CHANGES 204 TidyRelativePathBaseUri, /* Base URI to use when a relative path is encountered ("../foo", "foo/", etc) */ 205 TidyAbsolutePathBaseUri, /* Base URI to use when an absolute path is encountered ("/foo") */ 206 TidyDropClassesWithPrefix, /* Delete 'class' attributes starting with the specified prefix */ 207 TidyDropIdsWithPrefix, /* Delete 'id' attributes starting with the specified prefix */ 208 TidySanitizeAgainstXSS, /* Remove elements and attributes which could assist a cross-site scripting (XSS) attack */ 209#endif 210 N_TIDY_OPTIONS /**< Must be last */ 211} TidyOptionId; 212 213/** Option data types 214*/ 215typedef enum 216{ 217 TidyString, /**< String */ 218 TidyInteger, /**< Integer or enumeration */ 219 TidyBoolean /**< Boolean flag */ 220} TidyOptionType; 221 222 223/** AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM 224*/ 225typedef enum 226{ 227 TidyNoState, /**< maps to 'no' */ 228 TidyYesState, /**< maps to 'yes' */ 229 TidyAutoState /**< Automatic */ 230} TidyTriState; 231 232/** TidyNewline option values to control output line endings. 233*/ 234typedef enum 235{ 236 TidyLF, /**< Use Unix style: LF */ 237 TidyCRLF, /**< Use DOS/Windows style: CR+LF */ 238 TidyCR /**< Use Macintosh style: CR */ 239} TidyLineEnding; 240 241 242/** Mode controlling treatment of doctype 243*/ 244typedef enum 245{ 246 TidyDoctypeOmit, /**< Omit DOCTYPE altogether */ 247 TidyDoctypeAuto, /**< Keep DOCTYPE in input. Set version to content */ 248 TidyDoctypeStrict, /**< Convert document to HTML 4 strict content model */ 249 TidyDoctypeLoose, /**< Convert document to HTML 4 transitional 250 content model */ 251 TidyDoctypeUser /**< Set DOCTYPE FPI explicitly */ 252} TidyDoctypeModes; 253 254/** Mode controlling treatment of duplicate Attributes 255*/ 256typedef enum 257{ 258 TidyKeepFirst, 259 TidyKeepLast 260} TidyDupAttrModes; 261 262 263/* I/O and Message handling interface 264** 265** By default, Tidy will define, create and use 266** instances of input and output handlers for 267** standard C buffered I/O (i.e. FILE* stdin, 268** FILE* stdout and FILE* stderr for content 269** input, content output and diagnostic output, 270** respectively. A FILE* cfgFile input handler 271** will be used for config files. Command line 272** options will just be set directly. 273*/ 274 275/** Message severity level 276*/ 277typedef enum 278{ 279 TidyInfo, /**< Information about markup usage */ 280 TidyWarning, /**< Warning message */ 281 TidyConfig, /**< Configuration error */ 282 TidyAccess, /**< Accessibility message */ 283 TidyError, /**< Error message - output suppressed */ 284 TidyBadDocument, /**< I/O or file system error */ 285 TidyFatal /**< Crash! */ 286} TidyReportLevel; 287 288 289/* Document tree traversal functions 290*/ 291 292/** Node types 293*/ 294typedef enum 295{ 296 TidyNode_Root, /**< Root */ 297 TidyNode_DocType, /**< DOCTYPE */ 298 TidyNode_Comment, /**< Comment */ 299 TidyNode_ProcIns, /**< Processing Instruction */ 300 TidyNode_Text, /**< Text */ 301 TidyNode_Start, /**< Start Tag */ 302 TidyNode_End, /**< End Tag */ 303 TidyNode_StartEnd, /**< Start/End (empty) Tag */ 304 TidyNode_CDATA, /**< Unparsed Text */ 305 TidyNode_Section, /**< XML Section */ 306 TidyNode_Asp, /**< ASP Source */ 307 TidyNode_Jste, /**< JSTE Source */ 308 TidyNode_Php, /**< PHP Source */ 309 TidyNode_XmlDecl /**< XML Declaration */ 310} TidyNodeType; 311 312 313/** Known HTML element types 314*/ 315typedef enum 316{ 317 TidyTag_UNKNOWN, /**< Unknown tag! */ 318 TidyTag_A, /**< A */ 319 TidyTag_ABBR, /**< ABBR */ 320 TidyTag_ACRONYM, /**< ACRONYM */ 321 TidyTag_ADDRESS, /**< ADDRESS */ 322 TidyTag_ALIGN, /**< ALIGN */ 323 TidyTag_APPLET, /**< APPLET */ 324 TidyTag_AREA, /**< AREA */ 325 TidyTag_B, /**< B */ 326 TidyTag_BASE, /**< BASE */ 327 TidyTag_BASEFONT, /**< BASEFONT */ 328 TidyTag_BDO, /**< BDO */ 329 TidyTag_BGSOUND, /**< BGSOUND */ 330 TidyTag_BIG, /**< BIG */ 331 TidyTag_BLINK, /**< BLINK */ 332 TidyTag_BLOCKQUOTE, /**< BLOCKQUOTE */ 333 TidyTag_BODY, /**< BODY */ 334 TidyTag_BR, /**< BR */ 335 TidyTag_BUTTON, /**< BUTTON */ 336 TidyTag_CAPTION, /**< CAPTION */ 337 TidyTag_CENTER, /**< CENTER */ 338 TidyTag_CITE, /**< CITE */ 339 TidyTag_CODE, /**< CODE */ 340 TidyTag_COL, /**< COL */ 341 TidyTag_COLGROUP, /**< COLGROUP */ 342 TidyTag_COMMENT, /**< COMMENT */ 343 TidyTag_DD, /**< DD */ 344 TidyTag_DEL, /**< DEL */ 345 TidyTag_DFN, /**< DFN */ 346 TidyTag_DIR, /**< DIR */ 347 TidyTag_DIV, /**< DIF */ 348 TidyTag_DL, /**< DL */ 349 TidyTag_DT, /**< DT */ 350 TidyTag_EM, /**< EM */ 351 TidyTag_EMBED, /**< EMBED */ 352 TidyTag_FIELDSET, /**< FIELDSET */ 353 TidyTag_FONT, /**< FONT */ 354 TidyTag_FORM, /**< FORM */ 355 TidyTag_FRAME, /**< FRAME */ 356 TidyTag_FRAMESET, /**< FRAMESET */ 357 TidyTag_H1, /**< H1 */ 358 TidyTag_H2, /**< H2 */ 359 TidyTag_H3, /**< H3 */ 360 TidyTag_H4, /**< H4 */ 361 TidyTag_H5, /**< H5 */ 362 TidyTag_H6, /**< H6 */ 363 TidyTag_HEAD, /**< HEAD */ 364 TidyTag_HR, /**< HR */ 365 TidyTag_HTML, /**< HTML */ 366 TidyTag_I, /**< I */ 367 TidyTag_IFRAME, /**< IFRAME */ 368 TidyTag_ILAYER, /**< ILAYER */ 369 TidyTag_IMG, /**< IMG */ 370 TidyTag_INPUT, /**< INPUT */ 371 TidyTag_INS, /**< INS */ 372 TidyTag_ISINDEX, /**< ISINDEX */ 373 TidyTag_KBD, /**< KBD */ 374 TidyTag_KEYGEN, /**< KEYGEN */ 375 TidyTag_LABEL, /**< LABEL */ 376 TidyTag_LAYER, /**< LAYER */ 377 TidyTag_LEGEND, /**< LEGEND */ 378 TidyTag_LI, /**< LI */ 379 TidyTag_LINK, /**< LINK */ 380 TidyTag_LISTING, /**< LISTING */ 381 TidyTag_MAP, /**< MAP */ 382 TidyTag_MARQUEE, /**< MARQUEE */ 383 TidyTag_MENU, /**< MENU */ 384 TidyTag_META, /**< META */ 385 TidyTag_MULTICOL, /**< MULTICOL */ 386 TidyTag_NOBR, /**< NOBR */ 387 TidyTag_NOEMBED, /**< NOEMBED */ 388 TidyTag_NOFRAMES, /**< NOFRAMES */ 389 TidyTag_NOLAYER, /**< NOLAYER */ 390 TidyTag_NOSAVE, /**< NOSAVE */ 391 TidyTag_NOSCRIPT, /**< NOSCRIPT */ 392 TidyTag_OBJECT, /**< OBJECT */ 393 TidyTag_OL, /**< OL */ 394 TidyTag_OPTGROUP, /**< OPTGROUP */ 395 TidyTag_OPTION, /**< OPTION */ 396 TidyTag_P, /**< P */ 397 TidyTag_PARAM, /**< PARAM */ 398 TidyTag_PLAINTEXT,/**< PLAINTEXT */ 399 TidyTag_PRE, /**< PRE */ 400 TidyTag_Q, /**< Q */ 401 TidyTag_RB, /**< RB */ 402 TidyTag_RBC, /**< RBC */ 403 TidyTag_RP, /**< RP */ 404 TidyTag_RT, /**< RT */ 405 TidyTag_RTC, /**< RTC */ 406 TidyTag_RUBY, /**< RUBY */ 407 TidyTag_S, /**< S */ 408 TidyTag_SAMP, /**< SAMP */ 409 TidyTag_SCRIPT, /**< SCRIPT */ 410 TidyTag_SELECT, /**< SELECT */ 411 TidyTag_SERVER, /**< SERVER */ 412 TidyTag_SERVLET, /**< SERVLET */ 413 TidyTag_SMALL, /**< SMALL */ 414 TidyTag_SPACER, /**< SPACER */ 415 TidyTag_SPAN, /**< SPAN */ 416 TidyTag_STRIKE, /**< STRIKE */ 417 TidyTag_STRONG, /**< STRONG */ 418 TidyTag_STYLE, /**< STYLE */ 419 TidyTag_SUB, /**< SUB */ 420 TidyTag_SUP, /**< SUP */ 421 TidyTag_TABLE, /**< TABLE */ 422 TidyTag_TBODY, /**< TBODY */ 423 TidyTag_TD, /**< TD */ 424 TidyTag_TEXTAREA, /**< TEXTAREA */ 425 TidyTag_TFOOT, /**< TFOOT */ 426 TidyTag_TH, /**< TH */ 427 TidyTag_THEAD, /**< THEAD */ 428 TidyTag_TITLE, /**< TITLE */ 429 TidyTag_TR, /**< TR */ 430 TidyTag_TT, /**< TT */ 431 TidyTag_U, /**< U */ 432 TidyTag_UL, /**< UL */ 433 TidyTag_VAR, /**< VAR */ 434 TidyTag_WBR, /**< WBR */ 435 TidyTag_XMP, /**< XMP */ 436 TidyTag_NEXTID, /**< NEXTID */ 437 438 N_TIDY_TAGS /**< Must be last */ 439} TidyTagId; 440 441/* Attribute interrogation 442*/ 443 444/** Known HTML attributes 445*/ 446typedef enum 447{ 448 TidyAttr_UNKNOWN, /**< UNKNOWN= */ 449 TidyAttr_ABBR, /**< ABBR= */ 450 TidyAttr_ACCEPT, /**< ACCEPT= */ 451 TidyAttr_ACCEPT_CHARSET, /**< ACCEPT_CHARSET= */ 452 TidyAttr_ACCESSKEY, /**< ACCESSKEY= */ 453 TidyAttr_ACTION, /**< ACTION= */ 454 TidyAttr_ADD_DATE, /**< ADD_DATE= */ 455 TidyAttr_ALIGN, /**< ALIGN= */ 456 TidyAttr_ALINK, /**< ALINK= */ 457 TidyAttr_ALT, /**< ALT= */ 458 TidyAttr_ARCHIVE, /**< ARCHIVE= */ 459 TidyAttr_AXIS, /**< AXIS= */ 460 TidyAttr_BACKGROUND, /**< BACKGROUND= */ 461 TidyAttr_BGCOLOR, /**< BGCOLOR= */ 462 TidyAttr_BGPROPERTIES, /**< BGPROPERTIES= */ 463 TidyAttr_BORDER, /**< BORDER= */ 464 TidyAttr_BORDERCOLOR, /**< BORDERCOLOR= */ 465 TidyAttr_BOTTOMMARGIN, /**< BOTTOMMARGIN= */ 466 TidyAttr_CELLPADDING, /**< CELLPADDING= */ 467 TidyAttr_CELLSPACING, /**< CELLSPACING= */ 468 TidyAttr_CHAR, /**< CHAR= */ 469 TidyAttr_CHAROFF, /**< CHAROFF= */ 470 TidyAttr_CHARSET, /**< CHARSET= */ 471 TidyAttr_CHECKED, /**< CHECKED= */ 472 TidyAttr_CITE, /**< CITE= */ 473 TidyAttr_CLASS, /**< CLASS= */ 474 TidyAttr_CLASSID, /**< CLASSID= */ 475 TidyAttr_CLEAR, /**< CLEAR= */ 476 TidyAttr_CODE, /**< CODE= */ 477 TidyAttr_CODEBASE, /**< CODEBASE= */ 478 TidyAttr_CODETYPE, /**< CODETYPE= */ 479 TidyAttr_COLOR, /**< COLOR= */ 480 TidyAttr_COLS, /**< COLS= */ 481 TidyAttr_COLSPAN, /**< COLSPAN= */ 482 TidyAttr_COMPACT, /**< COMPACT= */ 483 TidyAttr_CONTENT, /**< CONTENT= */ 484 TidyAttr_COORDS, /**< COORDS= */ 485 TidyAttr_DATA, /**< DATA= */ 486 TidyAttr_DATAFLD, /**< DATAFLD= */ 487 TidyAttr_DATAFORMATAS, /**< DATAFORMATAS= */ 488 TidyAttr_DATAPAGESIZE, /**< DATAPAGESIZE= */ 489 TidyAttr_DATASRC, /**< DATASRC= */ 490 TidyAttr_DATETIME, /**< DATETIME= */ 491 TidyAttr_DECLARE, /**< DECLARE= */ 492 TidyAttr_DEFER, /**< DEFER= */ 493 TidyAttr_DIR, /**< DIR= */ 494 TidyAttr_DISABLED, /**< DISABLED= */ 495 TidyAttr_ENCODING, /**< ENCODING= */ 496 TidyAttr_ENCTYPE, /**< ENCTYPE= */ 497 TidyAttr_FACE, /**< FACE= */ 498 TidyAttr_FOR, /**< FOR= */ 499 TidyAttr_FRAME, /**< FRAME= */ 500 TidyAttr_FRAMEBORDER, /**< FRAMEBORDER= */ 501 TidyAttr_FRAMESPACING, /**< FRAMESPACING= */ 502 TidyAttr_GRIDX, /**< GRIDX= */ 503 TidyAttr_GRIDY, /**< GRIDY= */ 504 TidyAttr_HEADERS, /**< HEADERS= */ 505 TidyAttr_HEIGHT, /**< HEIGHT= */ 506 TidyAttr_HREF, /**< HREF= */ 507 TidyAttr_HREFLANG, /**< HREFLANG= */ 508 TidyAttr_HSPACE, /**< HSPACE= */ 509 TidyAttr_HTTP_EQUIV, /**< HTTP_EQUIV= */ 510 TidyAttr_ID, /**< ID= */ 511 TidyAttr_ISMAP, /**< ISMAP= */ 512 TidyAttr_LABEL, /**< LABEL= */ 513 TidyAttr_LANG, /**< LANG= */ 514 TidyAttr_LANGUAGE, /**< LANGUAGE= */ 515 TidyAttr_LAST_MODIFIED, /**< LAST_MODIFIED= */ 516 TidyAttr_LAST_VISIT, /**< LAST_VISIT= */ 517 TidyAttr_LEFTMARGIN, /**< LEFTMARGIN= */ 518 TidyAttr_LINK, /**< LINK= */ 519 TidyAttr_LONGDESC, /**< LONGDESC= */ 520 TidyAttr_LOWSRC, /**< LOWSRC= */ 521 TidyAttr_MARGINHEIGHT, /**< MARGINHEIGHT= */ 522 TidyAttr_MARGINWIDTH, /**< MARGINWIDTH= */ 523 TidyAttr_MAXLENGTH, /**< MAXLENGTH= */ 524 TidyAttr_MEDIA, /**< MEDIA= */ 525 TidyAttr_METHOD, /**< METHOD= */ 526 TidyAttr_MULTIPLE, /**< MULTIPLE= */ 527 TidyAttr_NAME, /**< NAME= */ 528 TidyAttr_NOHREF, /**< NOHREF= */ 529 TidyAttr_NORESIZE, /**< NORESIZE= */ 530 TidyAttr_NOSHADE, /**< NOSHADE= */ 531 TidyAttr_NOWRAP, /**< NOWRAP= */ 532 TidyAttr_OBJECT, /**< OBJECT= */ 533 TidyAttr_OnAFTERUPDATE, /**< OnAFTERUPDATE= */ 534 TidyAttr_OnBEFOREUNLOAD, /**< OnBEFOREUNLOAD= */ 535 TidyAttr_OnBEFOREUPDATE, /**< OnBEFOREUPDATE= */ 536 TidyAttr_OnBLUR, /**< OnBLUR= */ 537 TidyAttr_OnCHANGE, /**< OnCHANGE= */ 538 TidyAttr_OnCLICK, /**< OnCLICK= */ 539 TidyAttr_OnDATAAVAILABLE, /**< OnDATAAVAILABLE= */ 540 TidyAttr_OnDATASETCHANGED, /**< OnDATASETCHANGED= */ 541 TidyAttr_OnDATASETCOMPLETE, /**< OnDATASETCOMPLETE= */ 542 TidyAttr_OnDBLCLICK, /**< OnDBLCLICK= */ 543 TidyAttr_OnERRORUPDATE, /**< OnERRORUPDATE= */ 544 TidyAttr_OnFOCUS, /**< OnFOCUS= */ 545 TidyAttr_OnKEYDOWN, /**< OnKEYDOWN= */ 546 TidyAttr_OnKEYPRESS, /**< OnKEYPRESS= */ 547 TidyAttr_OnKEYUP, /**< OnKEYUP= */ 548 TidyAttr_OnLOAD, /**< OnLOAD= */ 549 TidyAttr_OnMOUSEDOWN, /**< OnMOUSEDOWN= */ 550 TidyAttr_OnMOUSEMOVE, /**< OnMOUSEMOVE= */ 551 TidyAttr_OnMOUSEOUT, /**< OnMOUSEOUT= */ 552 TidyAttr_OnMOUSEOVER, /**< OnMOUSEOVER= */ 553 TidyAttr_OnMOUSEUP, /**< OnMOUSEUP= */ 554 TidyAttr_OnRESET, /**< OnRESET= */ 555 TidyAttr_OnROWENTER, /**< OnROWENTER= */ 556 TidyAttr_OnROWEXIT, /**< OnROWEXIT= */ 557 TidyAttr_OnSELECT, /**< OnSELECT= */ 558 TidyAttr_OnSUBMIT, /**< OnSUBMIT= */ 559 TidyAttr_OnUNLOAD, /**< OnUNLOAD= */ 560 TidyAttr_PROFILE, /**< PROFILE= */ 561 TidyAttr_PROMPT, /**< PROMPT= */ 562 TidyAttr_RBSPAN, /**< RBSPAN= */ 563 TidyAttr_READONLY, /**< READONLY= */ 564 TidyAttr_REL, /**< REL= */ 565 TidyAttr_REV, /**< REV= */ 566 TidyAttr_RIGHTMARGIN, /**< RIGHTMARGIN= */ 567 TidyAttr_ROWS, /**< ROWS= */ 568 TidyAttr_ROWSPAN, /**< ROWSPAN= */ 569 TidyAttr_RULES, /**< RULES= */ 570 TidyAttr_SCHEME, /**< SCHEME= */ 571 TidyAttr_SCOPE, /**< SCOPE= */ 572 TidyAttr_SCROLLING, /**< SCROLLING= */ 573 TidyAttr_SELECTED, /**< SELECTED= */ 574 TidyAttr_SHAPE, /**< SHAPE= */ 575 TidyAttr_SHOWGRID, /**< SHOWGRID= */ 576 TidyAttr_SHOWGRIDX, /**< SHOWGRIDX= */ 577 TidyAttr_SHOWGRIDY, /**< SHOWGRIDY= */ 578 TidyAttr_SIZE, /**< SIZE= */ 579 TidyAttr_SPAN, /**< SPAN= */ 580 TidyAttr_SRC, /**< SRC= */ 581 TidyAttr_STANDBY, /**< STANDBY= */ 582 TidyAttr_START, /**< START= */ 583 TidyAttr_STYLE, /**< STYLE= */ 584 TidyAttr_SUMMARY, /**< SUMMARY= */ 585 TidyAttr_TABINDEX, /**< TABINDEX= */ 586 TidyAttr_TARGET, /**< TARGET= */ 587 TidyAttr_TEXT, /**< TEXT= */ 588 TidyAttr_TITLE, /**< TITLE= */ 589 TidyAttr_TOPMARGIN, /**< TOPMARGIN= */ 590 TidyAttr_TYPE, /**< TYPE= */ 591 TidyAttr_USEMAP, /**< USEMAP= */ 592 TidyAttr_VALIGN, /**< VALIGN= */ 593 TidyAttr_VALUE, /**< VALUE= */ 594 TidyAttr_VALUETYPE, /**< VALUETYPE= */ 595 TidyAttr_VERSION, /**< VERSION= */ 596 TidyAttr_VLINK, /**< VLINK= */ 597 TidyAttr_VSPACE, /**< VSPACE= */ 598 TidyAttr_WIDTH, /**< WIDTH= */ 599 TidyAttr_WRAP, /**< WRAP= */ 600 TidyAttr_XML_LANG, /**< XML_LANG= */ 601 TidyAttr_XML_SPACE, /**< XML_SPACE= */ 602 TidyAttr_XMLNS, /**< XMLNS= */ 603 604 TidyAttr_EVENT, /**< EVENT= */ 605 TidyAttr_METHODS, /**< METHODS= */ 606 TidyAttr_N, /**< N= */ 607 TidyAttr_SDAFORM, /**< SDAFORM= */ 608 TidyAttr_SDAPREF, /**< SDAPREF= */ 609 TidyAttr_SDASUFF, /**< SDASUFF= */ 610 TidyAttr_URN, /**< URN= */ 611 612 N_TIDY_ATTRIBS /**< Must be last */ 613} TidyAttrId; 614 615#ifdef __cplusplus 616} /* extern "C" */ 617#endif 618#endif /* __TIDYENUM_H__ */ 619