HTML Tidy  4.9.15
The HTACG Tidy HTML Project
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_MATHML, /**< MATH (HTML5) [i_a]2 MathML embedded in [X]HTML */
388  TidyTag_MARQUEE, /**< MARQUEE */
389  TidyTag_MENU, /**< MENU */
390  TidyTag_META, /**< META */
391  TidyTag_MULTICOL, /**< MULTICOL */
392  TidyTag_NOBR, /**< NOBR */
393  TidyTag_NOEMBED, /**< NOEMBED */
394  TidyTag_NOFRAMES, /**< NOFRAMES */
395  TidyTag_NOLAYER, /**< NOLAYER */
396  TidyTag_NOSAVE, /**< NOSAVE */
397  TidyTag_NOSCRIPT, /**< NOSCRIPT */
398  TidyTag_OBJECT, /**< OBJECT */
399  TidyTag_OL, /**< OL */
400  TidyTag_OPTGROUP, /**< OPTGROUP */
401  TidyTag_OPTION, /**< OPTION */
402  TidyTag_P, /**< P */
403  TidyTag_PARAM, /**< PARAM */
404  TidyTag_PICTURE, /**< PICTURE (HTML5) */
405  TidyTag_PLAINTEXT,/**< PLAINTEXT */
406  TidyTag_PRE, /**< PRE */
407  TidyTag_Q, /**< Q */
408  TidyTag_RB, /**< RB */
409  TidyTag_RBC, /**< RBC */
410  TidyTag_RP, /**< RP */
411  TidyTag_RT, /**< RT */
412  TidyTag_RTC, /**< RTC */
413  TidyTag_RUBY, /**< RUBY */
414  TidyTag_S, /**< S */
415  TidyTag_SAMP, /**< SAMP */
416  TidyTag_SCRIPT, /**< SCRIPT */
417  TidyTag_SELECT, /**< SELECT */
418  TidyTag_SERVER, /**< SERVER */
419  TidyTag_SERVLET, /**< SERVLET */
420  TidyTag_SMALL, /**< SMALL */
421  TidyTag_SPACER, /**< SPACER */
422  TidyTag_SPAN, /**< SPAN */
423  TidyTag_STRIKE, /**< STRIKE */
424  TidyTag_STRONG, /**< STRONG */
425  TidyTag_STYLE, /**< STYLE */
426  TidyTag_SUB, /**< SUB */
427  TidyTag_SUP, /**< SUP */
428  TidyTag_SVG, /**< SVG (HTML5) */
429  TidyTag_TABLE, /**< TABLE */
430  TidyTag_TBODY, /**< TBODY */
431  TidyTag_TD, /**< TD */
432  TidyTag_TEXTAREA, /**< TEXTAREA */
433  TidyTag_TFOOT, /**< TFOOT */
434  TidyTag_TH, /**< TH */
435  TidyTag_THEAD, /**< THEAD */
436  TidyTag_TITLE, /**< TITLE */
437  TidyTag_TR, /**< TR */
438  TidyTag_TT, /**< TT */
439  TidyTag_U, /**< U */
440  TidyTag_UL, /**< UL */
441  TidyTag_VAR, /**< VAR */
442  TidyTag_WBR, /**< WBR */
443  TidyTag_XMP, /**< XMP */
444  TidyTag_NEXTID, /**< NEXTID */
445 
446  TidyTag_ARTICLE,
447  TidyTag_ASIDE,
448  TidyTag_AUDIO,
449  TidyTag_BDI,
450  TidyTag_CANVAS,
451  TidyTag_COMMAND,
452  TidyTag_DATALIST,
453  TidyTag_DETAILS,
454  TidyTag_DIALOG,
455  TidyTag_FIGCAPTION,
456  TidyTag_FIGURE,
457  TidyTag_FOOTER,
458  TidyTag_HEADER,
459  TidyTag_HGROUP,
460  TidyTag_MAIN,
461  TidyTag_MARK,
462  TidyTag_MENUITEM,
463  TidyTag_METER,
464  TidyTag_NAV,
465  TidyTag_OUTPUT,
466  TidyTag_PROGRESS,
467  TidyTag_SECTION,
468  TidyTag_SOURCE,
469  TidyTag_SUMMARY,
470  TidyTag_TIME,
471  TidyTag_TRACK,
472  TidyTag_VIDEO,
473 
474  N_TIDY_TAGS /**< Must be last */
475 } TidyTagId;
476 
477 /* Attribute interrogation
478 */
479 
480 /** Known HTML attributes
481 */
482 typedef enum
483 {
484  TidyAttr_UNKNOWN, /**< UNKNOWN= */
485  TidyAttr_ABBR, /**< ABBR= */
486  TidyAttr_ACCEPT, /**< ACCEPT= */
487  TidyAttr_ACCEPT_CHARSET, /**< ACCEPT_CHARSET= */
488  TidyAttr_ACCESSKEY, /**< ACCESSKEY= */
489  TidyAttr_ACTION, /**< ACTION= */
490  TidyAttr_ADD_DATE, /**< ADD_DATE= */
491  TidyAttr_ALIGN, /**< ALIGN= */
492  TidyAttr_ALINK, /**< ALINK= */
493  TidyAttr_ALT, /**< ALT= */
494  TidyAttr_ARCHIVE, /**< ARCHIVE= */
495  TidyAttr_AXIS, /**< AXIS= */
496  TidyAttr_BACKGROUND, /**< BACKGROUND= */
497  TidyAttr_BGCOLOR, /**< BGCOLOR= */
498  TidyAttr_BGPROPERTIES, /**< BGPROPERTIES= */
499  TidyAttr_BORDER, /**< BORDER= */
500  TidyAttr_BORDERCOLOR, /**< BORDERCOLOR= */
501  TidyAttr_BOTTOMMARGIN, /**< BOTTOMMARGIN= */
502  TidyAttr_CELLPADDING, /**< CELLPADDING= */
503  TidyAttr_CELLSPACING, /**< CELLSPACING= */
504  TidyAttr_CHAR, /**< CHAR= */
505  TidyAttr_CHAROFF, /**< CHAROFF= */
506  TidyAttr_CHARSET, /**< CHARSET= */
507  TidyAttr_CHECKED, /**< CHECKED= */
508  TidyAttr_CITE, /**< CITE= */
509  TidyAttr_CLASS, /**< CLASS= */
510  TidyAttr_CLASSID, /**< CLASSID= */
511  TidyAttr_CLEAR, /**< CLEAR= */
512  TidyAttr_CODE, /**< CODE= */
513  TidyAttr_CODEBASE, /**< CODEBASE= */
514  TidyAttr_CODETYPE, /**< CODETYPE= */
515  TidyAttr_COLOR, /**< COLOR= */
516  TidyAttr_COLS, /**< COLS= */
517  TidyAttr_COLSPAN, /**< COLSPAN= */
518  TidyAttr_COMPACT, /**< COMPACT= */
519  TidyAttr_CONTENT, /**< CONTENT= */
520  TidyAttr_COORDS, /**< COORDS= */
521  TidyAttr_DATA, /**< DATA= */
522  TidyAttr_DATAFLD, /**< DATAFLD= */
523  TidyAttr_DATAFORMATAS, /**< DATAFORMATAS= */
524  TidyAttr_DATAPAGESIZE, /**< DATAPAGESIZE= */
525  TidyAttr_DATASRC, /**< DATASRC= */
526  TidyAttr_DATETIME, /**< DATETIME= */
527  TidyAttr_DECLARE, /**< DECLARE= */
528  TidyAttr_DEFER, /**< DEFER= */
529  TidyAttr_DIR, /**< DIR= */
530  TidyAttr_DISABLED, /**< DISABLED= */
531  TidyAttr_ENCODING, /**< ENCODING= */
532  TidyAttr_ENCTYPE, /**< ENCTYPE= */
533  TidyAttr_FACE, /**< FACE= */
534  TidyAttr_FOR, /**< FOR= */
535  TidyAttr_FRAME, /**< FRAME= */
536  TidyAttr_FRAMEBORDER, /**< FRAMEBORDER= */
537  TidyAttr_FRAMESPACING, /**< FRAMESPACING= */
538  TidyAttr_GRIDX, /**< GRIDX= */
539  TidyAttr_GRIDY, /**< GRIDY= */
540  TidyAttr_HEADERS, /**< HEADERS= */
541  TidyAttr_HEIGHT, /**< HEIGHT= */
542  TidyAttr_HREF, /**< HREF= */
543  TidyAttr_HREFLANG, /**< HREFLANG= */
544  TidyAttr_HSPACE, /**< HSPACE= */
545  TidyAttr_HTTP_EQUIV, /**< HTTP_EQUIV= */
546  TidyAttr_ID, /**< ID= */
547  TidyAttr_ISMAP, /**< ISMAP= */
548  TidyAttr_ITEMID, /**< ITEMID= */
549  TidyAttr_ITEMPROP, /**< ITEMPROP= */
550  TidyAttr_ITEMREF, /**< ITEMREF= */
551  TidyAttr_ITEMSCOPE, /**< ITEMSCOPE= */
552  TidyAttr_ITEMTYPE, /**< ITEMTYPE= */
553  TidyAttr_LABEL, /**< LABEL= */
554  TidyAttr_LANG, /**< LANG= */
555  TidyAttr_LANGUAGE, /**< LANGUAGE= */
556  TidyAttr_LAST_MODIFIED, /**< LAST_MODIFIED= */
557  TidyAttr_LAST_VISIT, /**< LAST_VISIT= */
558  TidyAttr_LEFTMARGIN, /**< LEFTMARGIN= */
559  TidyAttr_LINK, /**< LINK= */
560  TidyAttr_LONGDESC, /**< LONGDESC= */
561  TidyAttr_LOWSRC, /**< LOWSRC= */
562  TidyAttr_MARGINHEIGHT, /**< MARGINHEIGHT= */
563  TidyAttr_MARGINWIDTH, /**< MARGINWIDTH= */
564  TidyAttr_MAXLENGTH, /**< MAXLENGTH= */
565  TidyAttr_MEDIA, /**< MEDIA= */
566  TidyAttr_METHOD, /**< METHOD= */
567  TidyAttr_MULTIPLE, /**< MULTIPLE= */
568  TidyAttr_NAME, /**< NAME= */
569  TidyAttr_NOHREF, /**< NOHREF= */
570  TidyAttr_NORESIZE, /**< NORESIZE= */
571  TidyAttr_NOSHADE, /**< NOSHADE= */
572  TidyAttr_NOWRAP, /**< NOWRAP= */
573  TidyAttr_OBJECT, /**< OBJECT= */
574  TidyAttr_OnAFTERUPDATE, /**< OnAFTERUPDATE= */
575  TidyAttr_OnBEFOREUNLOAD, /**< OnBEFOREUNLOAD= */
576  TidyAttr_OnBEFOREUPDATE, /**< OnBEFOREUPDATE= */
577  TidyAttr_OnBLUR, /**< OnBLUR= */
578  TidyAttr_OnCHANGE, /**< OnCHANGE= */
579  TidyAttr_OnCLICK, /**< OnCLICK= */
580  TidyAttr_OnDATAAVAILABLE, /**< OnDATAAVAILABLE= */
581  TidyAttr_OnDATASETCHANGED, /**< OnDATASETCHANGED= */
582  TidyAttr_OnDATASETCOMPLETE, /**< OnDATASETCOMPLETE= */
583  TidyAttr_OnDBLCLICK, /**< OnDBLCLICK= */
584  TidyAttr_OnERRORUPDATE, /**< OnERRORUPDATE= */
585  TidyAttr_OnFOCUS, /**< OnFOCUS= */
586  TidyAttr_OnKEYDOWN, /**< OnKEYDOWN= */
587  TidyAttr_OnKEYPRESS, /**< OnKEYPRESS= */
588  TidyAttr_OnKEYUP, /**< OnKEYUP= */
589  TidyAttr_OnLOAD, /**< OnLOAD= */
590  TidyAttr_OnMOUSEDOWN, /**< OnMOUSEDOWN= */
591  TidyAttr_OnMOUSEMOVE, /**< OnMOUSEMOVE= */
592  TidyAttr_OnMOUSEOUT, /**< OnMOUSEOUT= */
593  TidyAttr_OnMOUSEOVER, /**< OnMOUSEOVER= */
594  TidyAttr_OnMOUSEUP, /**< OnMOUSEUP= */
595  TidyAttr_OnRESET, /**< OnRESET= */
596  TidyAttr_OnROWENTER, /**< OnROWENTER= */
597  TidyAttr_OnROWEXIT, /**< OnROWEXIT= */
598  TidyAttr_OnSELECT, /**< OnSELECT= */
599  TidyAttr_OnSUBMIT, /**< OnSUBMIT= */
600  TidyAttr_OnUNLOAD, /**< OnUNLOAD= */
601  TidyAttr_PROFILE, /**< PROFILE= */
602  TidyAttr_PROMPT, /**< PROMPT= */
603  TidyAttr_RBSPAN, /**< RBSPAN= */
604  TidyAttr_READONLY, /**< READONLY= */
605  TidyAttr_REL, /**< REL= */
606  TidyAttr_REV, /**< REV= */
607  TidyAttr_RIGHTMARGIN, /**< RIGHTMARGIN= */
608  TidyAttr_ROLE, /**< ROLE= */
609  TidyAttr_ROWS, /**< ROWS= */
610  TidyAttr_ROWSPAN, /**< ROWSPAN= */
611  TidyAttr_RULES, /**< RULES= */
612  TidyAttr_SCHEME, /**< SCHEME= */
613  TidyAttr_SCOPE, /**< SCOPE= */
614  TidyAttr_SCROLLING, /**< SCROLLING= */
615  TidyAttr_SELECTED, /**< SELECTED= */
616  TidyAttr_SHAPE, /**< SHAPE= */
617  TidyAttr_SHOWGRID, /**< SHOWGRID= */
618  TidyAttr_SHOWGRIDX, /**< SHOWGRIDX= */
619  TidyAttr_SHOWGRIDY, /**< SHOWGRIDY= */
620  TidyAttr_SIZE, /**< SIZE= */
621  TidyAttr_SPAN, /**< SPAN= */
622  TidyAttr_SRC, /**< SRC= */
623  TidyAttr_SRCSET, /**< SRCSET= (HTML5) */
624  TidyAttr_STANDBY, /**< STANDBY= */
625  TidyAttr_START, /**< START= */
626  TidyAttr_STYLE, /**< STYLE= */
627  TidyAttr_SUMMARY, /**< SUMMARY= */
628  TidyAttr_TABINDEX, /**< TABINDEX= */
629  TidyAttr_TARGET, /**< TARGET= */
630  TidyAttr_TEXT, /**< TEXT= */
631  TidyAttr_TITLE, /**< TITLE= */
632  TidyAttr_TOPMARGIN, /**< TOPMARGIN= */
633  TidyAttr_TYPE, /**< TYPE= */
634  TidyAttr_USEMAP, /**< USEMAP= */
635  TidyAttr_VALIGN, /**< VALIGN= */
636  TidyAttr_VALUE, /**< VALUE= */
637  TidyAttr_VALUETYPE, /**< VALUETYPE= */
638  TidyAttr_VERSION, /**< VERSION= */
639  TidyAttr_VLINK, /**< VLINK= */
640  TidyAttr_VSPACE, /**< VSPACE= */
641  TidyAttr_WIDTH, /**< WIDTH= */
642  TidyAttr_WRAP, /**< WRAP= */
643  TidyAttr_XML_LANG, /**< XML_LANG= */
644  TidyAttr_XML_SPACE, /**< XML_SPACE= */
645  TidyAttr_XMLNS, /**< XMLNS= */
646 
647  TidyAttr_EVENT, /**< EVENT= */
648  TidyAttr_METHODS, /**< METHODS= */
649  TidyAttr_N, /**< N= */
650  TidyAttr_SDAFORM, /**< SDAFORM= */
651  TidyAttr_SDAPREF, /**< SDAPREF= */
652  TidyAttr_SDASUFF, /**< SDASUFF= */
653  TidyAttr_URN, /**< URN= */
654 
655  TidyAttr_ASYNC,
656  TidyAttr_AUTOCOMPLETE,
657  TidyAttr_AUTOFOCUS,
658  TidyAttr_AUTOPLAY,
659  TidyAttr_CHALLENGE,
660  TidyAttr_CONTENTEDITABLE,
661  TidyAttr_CONTEXTMENU,
662  TidyAttr_CONTROLS,
663  TidyAttr_DEFAULT,
664  TidyAttr_DIRNAME,
665  TidyAttr_DRAGGABLE,
666  TidyAttr_DROPZONE,
667  TidyAttr_FORM,
668  TidyAttr_FORMACTION,
669  TidyAttr_FORMENCTYPE,
670  TidyAttr_FORMMETHOD,
671  TidyAttr_FORMNOVALIDATE,
672  TidyAttr_FORMTARGET,
673  TidyAttr_HIDDEN,
674  TidyAttr_HIGH,
675  TidyAttr_ICON,
676  TidyAttr_KEYTYPE,
677  TidyAttr_KIND,
678  TidyAttr_LIST,
679  TidyAttr_LOOP,
680  TidyAttr_LOW,
681  TidyAttr_MANIFEST,
682  TidyAttr_MAX,
683  TidyAttr_MEDIAGROUP,
684  TidyAttr_MIN,
685  TidyAttr_NOVALIDATE,
686  TidyAttr_OPEN,
687  TidyAttr_OPTIMUM,
688  TidyAttr_OnABORT,
689  TidyAttr_OnAFTERPRINT,
690  TidyAttr_OnBEFOREPRINT,
691  TidyAttr_OnCANPLAY,
692  TidyAttr_OnCANPLAYTHROUGH,
693  TidyAttr_OnCONTEXTMENU,
694  TidyAttr_OnCUECHANGE,
695  TidyAttr_OnDRAG,
696  TidyAttr_OnDRAGEND,
697  TidyAttr_OnDRAGENTER,
698  TidyAttr_OnDRAGLEAVE,
699  TidyAttr_OnDRAGOVER,
700  TidyAttr_OnDRAGSTART,
701  TidyAttr_OnDROP,
702  TidyAttr_OnDURATIONCHANGE,
703  TidyAttr_OnEMPTIED,
704  TidyAttr_OnENDED,
705  TidyAttr_OnERROR,
706  TidyAttr_OnHASHCHANGE,
707  TidyAttr_OnINPUT,
708  TidyAttr_OnINVALID,
709  TidyAttr_OnLOADEDDATA,
710  TidyAttr_OnLOADEDMETADATA,
711  TidyAttr_OnLOADSTART,
712  TidyAttr_OnMESSAGE,
713  TidyAttr_OnMOUSEWHEEL,
714  TidyAttr_OnOFFLINE,
715  TidyAttr_OnONLINE,
716  TidyAttr_OnPAGEHIDE,
717  TidyAttr_OnPAGESHOW,
718  TidyAttr_OnPAUSE,
719  TidyAttr_OnPLAY,
720  TidyAttr_OnPLAYING,
721  TidyAttr_OnPOPSTATE,
722  TidyAttr_OnPROGRESS,
723  TidyAttr_OnRATECHANGE,
724  TidyAttr_OnREADYSTATECHANGE,
725  TidyAttr_OnREDO,
726  TidyAttr_OnRESIZE,
727  TidyAttr_OnSCROLL,
728  TidyAttr_OnSEEKED,
729  TidyAttr_OnSEEKING,
730  TidyAttr_OnSHOW,
731  TidyAttr_OnSTALLED,
732  TidyAttr_OnSTORAGE,
733  TidyAttr_OnSUSPEND,
734  TidyAttr_OnTIMEUPDATE,
735  TidyAttr_OnUNDO,
736  TidyAttr_OnVOLUMECHANGE,
737  TidyAttr_OnWAITING,
738  TidyAttr_PATTERN,
739  TidyAttr_PLACEHOLDER,
740  TidyAttr_POSTER,
741  TidyAttr_PRELOAD,
742  TidyAttr_PUBDATE,
743  TidyAttr_RADIOGROUP,
744  TidyAttr_REQUIRED,
745  TidyAttr_REVERSED,
746  TidyAttr_SANDBOX,
747  TidyAttr_SCOPED,
748  TidyAttr_SEAMLESS,
749  TidyAttr_SIZES,
750  TidyAttr_SPELLCHECK,
751  TidyAttr_SRCDOC,
752  TidyAttr_SRCLANG,
753  TidyAttr_STEP,
754  TidyAttr_ARIA_ACTIVEDESCENDANT,
755  TidyAttr_ARIA_ATOMIC,
756  TidyAttr_ARIA_AUTOCOMPLETE,
757  TidyAttr_ARIA_BUSY,
758  TidyAttr_ARIA_CHECKED,
759  TidyAttr_ARIA_CONTROLS,
760  TidyAttr_ARIA_DESCRIBEDBY,
761  TidyAttr_ARIA_DISABLED,
762  TidyAttr_ARIA_DROPEFFECT,
763  TidyAttr_ARIA_EXPANDED,
764  TidyAttr_ARIA_FLOWTO,
765  TidyAttr_ARIA_GRABBED,
766  TidyAttr_ARIA_HASPOPUP,
767  TidyAttr_ARIA_HIDDEN,
768  TidyAttr_ARIA_INVALID,
769  TidyAttr_ARIA_LABEL,
770  TidyAttr_ARIA_LABELLEDBY,
771  TidyAttr_ARIA_LEVEL,
772  TidyAttr_ARIA_LIVE,
773  TidyAttr_ARIA_MULTILINE,
774  TidyAttr_ARIA_MULTISELECTABLE,
775  TidyAttr_ARIA_ORIENTATION,
776  TidyAttr_ARIA_OWNS,
777  TidyAttr_ARIA_POSINSET,
778  TidyAttr_ARIA_PRESSED,
779  TidyAttr_ARIA_READONLY,
780  TidyAttr_ARIA_RELEVANT,
781  TidyAttr_ARIA_REQUIRED,
782  TidyAttr_ARIA_SELECTED,
783  TidyAttr_ARIA_SETSIZE,
784  TidyAttr_ARIA_SORT,
785  TidyAttr_ARIA_VALUEMAX,
786  TidyAttr_ARIA_VALUEMIN,
787  TidyAttr_ARIA_VALUENOW,
788  TidyAttr_ARIA_VALUETEXT,
789 
790  /* SVG attributes (SVG 1.1) */
791  TidyAttr_X, /**< X= */
792  TidyAttr_Y, /**< Y= */
793  TidyAttr_VIEWBOX, /**< VIEWBOX= */
794  TidyAttr_PRESERVEASPECTRATIO, /**< PRESERVEASPECTRATIO= */
795  TidyAttr_ZOOMANDPAN, /**< ZOOMANDPAN= */
796  TidyAttr_BASEPROFILE, /**< BASEPROFILE= */
797  TidyAttr_CONTENTSCRIPTTYPE, /**< CONTENTSCRIPTTYPE= */
798  TidyAttr_CONTENTSTYLETYPE, /**< CONTENTSTYLETYPE= */
799 
800  N_TIDY_ATTRIBS /**< Must be last */
801 } TidyAttrId;
802 
803 #ifdef __cplusplus
804 } /* extern "C" */
805 #endif
806 #endif /* __TIDYENUM_H__ */
807