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