root/feedmelinks/include/tidy/tidyenum.h

Revision 1362, 23.1 kB (checked in by jm3, 2 years ago)

deps

Line 
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-2004 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: terry_teague $
17     $Date: 2004/12/09 00:52:27 $
18     $Revision: 1.11 $
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
66 extern "C" {
67 #endif
68
69 /* Enumerate configuration options
70 */
71
72 /** Categories of Tidy configuration options
73 */
74 typedef 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 */
86 typedef 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 &quot; */
138   TidyQuoteNbsp,       /**< Output non-breaking space as entity */
139   TidyQuoteAmpersand,  /**< Output naked ampersand as &amp; */
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   N_TIDY_OPTIONS       /**< Must be last */
203 } TidyOptionId;
204
205 /** Option data types
206 */
207 typedef enum
208 {
209   TidyString,          /**< String */
210   TidyInteger,         /**< Integer or enumeration */
211   TidyBoolean          /**< Boolean flag */
212 } TidyOptionType;
213
214
215 /** AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM
216 */
217 typedef enum
218 {
219    TidyNoState,     /**< maps to 'no' */
220    TidyYesState,    /**< maps to 'yes' */
221    TidyAutoState    /**< Automatic */
222 } TidyTriState;
223
224 /** TidyNewline option values to control output line endings.
225 */
226 typedef enum
227 {
228     TidyLF,         /**< Use Unix style: LF */
229     TidyCRLF,       /**< Use DOS/Windows style: CR+LF */
230     TidyCR          /**< Use Macintosh style: CR */
231 } TidyLineEnding;
232
233
234 /** Mode controlling treatment of doctype
235 */
236 typedef enum
237 {
238     TidyDoctypeOmit,    /**< Omit DOCTYPE altogether */
239     TidyDoctypeAuto,    /**< Keep DOCTYPE in input.  Set version to content */
240     TidyDoctypeStrict,  /**< Convert document to HTML 4 strict content model */
241     TidyDoctypeLoose,   /**< Convert document to HTML 4 transitional
242                              content model */
243     TidyDoctypeUser     /**< Set DOCTYPE FPI explicitly */
244 } TidyDoctypeModes;
245
246 /** Mode controlling treatment of duplicate Attributes
247 */
248 typedef enum
249 {
250     TidyKeepFirst,
251     TidyKeepLast
252 } TidyDupAttrModes;
253
254
255 /* I/O and Message handling interface
256 **
257 ** By default, Tidy will define, create and use
258 ** instances of input and output handlers for
259 ** standard C buffered I/O (i.e. FILE* stdin,
260 ** FILE* stdout and FILE* stderr for content
261 ** input, content output and diagnostic output,
262 ** respectively.  A FILE* cfgFile input handler
263 ** will be used for config files.  Command line
264 ** options will just be set directly.
265 */
266
267 /** Message severity level
268 */
269 typedef enum
270 {
271   TidyInfo,             /**< Information about markup usage */
272   TidyWarning,          /**< Warning message */
273   TidyConfig,           /**< Configuration error */
274   TidyAccess,           /**< Accessibility message */
275   TidyError,            /**< Error message - output suppressed */
276   TidyBadDocument,      /**< I/O or file system error */
277   TidyFatal             /**< Crash! */
278 } TidyReportLevel;
279
280
281 /* Document tree traversal functions
282 */
283
284 /** Node types
285 */
286 typedef enum
287 {
288   TidyNode_Root,        /**< Root */
289   TidyNode_DocType,     /**< DOCTYPE */
290   TidyNode_Comment,     /**< Comment */
291   TidyNode_ProcIns,     /**< Processing Instruction */
292   TidyNode_Text,        /**< Text */
293   TidyNode_Start,       /**< Start Tag */
294   TidyNode_End,         /**< End Tag */
295   TidyNode_StartEnd,    /**< Start/End (empty) Tag */
296   TidyNode_CDATA,       /**< Unparsed Text */
297   TidyNode_Section,     /**< XML Section */
298   TidyNode_Asp,         /**< ASP Source */
299   TidyNode_Jste,        /**< JSTE Source */
300   TidyNode_Php,         /**< PHP Source */
301   TidyNode_XmlDecl      /**< XML Declaration */
302 } TidyNodeType;
303
304
305 /** Known HTML element types
306 */
307 typedef enum
308 {
309   TidyTag_UNKNOWN,  /**< Unknown tag! */
310   TidyTag_A,        /**< A */
311   TidyTag_ABBR,     /**< ABBR */
312   TidyTag_ACRONYM,  /**< ACRONYM */
313   TidyTag_ADDRESS,  /**< ADDRESS */
314   TidyTag_ALIGN,    /**< ALIGN */
315   TidyTag_APPLET,   /**< APPLET */
316   TidyTag_AREA,     /**< AREA */
317   TidyTag_B,        /**< B */
318   TidyTag_BASE,     /**< BASE */
319   TidyTag_BASEFONT, /**< BASEFONT */
320   TidyTag_BDO,      /**< BDO */
321   TidyTag_BGSOUND,  /**< BGSOUND */
322   TidyTag_BIG,      /**< BIG */
323   TidyTag_BLINK,    /**< BLINK */
324   TidyTag_BLOCKQUOTE,   /**< BLOCKQUOTE */
325   TidyTag_BODY,     /**< BODY */
326   TidyTag_BR,       /**< BR */
327   TidyTag_BUTTON,   /**< BUTTON */
328   TidyTag_CAPTION,  /**< CAPTION */
329   TidyTag_CENTER,   /**< CENTER */
330   TidyTag_CITE,     /**< CITE */
331   TidyTag_CODE,     /**< CODE */
332   TidyTag_COL,      /**< COL */
333   TidyTag_COLGROUP, /**< COLGROUP */
334   TidyTag_COMMENT,  /**< COMMENT */
335   TidyTag_DD,       /**< DD */
336   TidyTag_DEL,      /**< DEL */
337   TidyTag_DFN,      /**< DFN */
338   TidyTag_DIR,      /**< DIR */
339   TidyTag_DIV,      /**< DIF */
340   TidyTag_DL,       /**< DL */
341   TidyTag_DT,       /**< DT */
342   TidyTag_EM,       /**< EM */
343   TidyTag_EMBED,    /**< EMBED */
344   TidyTag_FIELDSET, /**< FIELDSET */
345   TidyTag_FONT,     /**< FONT */
346   TidyTag_FORM,     /**< FORM */
347   TidyTag_FRAME,    /**< FRAME */
348   TidyTag_FRAMESET, /**< FRAMESET */
349   TidyTag_H1,       /**< H1 */
350   TidyTag_H2,       /**< H2 */
351   TidyTag_H3,       /**< H3 */
352   TidyTag_H4,       /**< H4 */
353   TidyTag_H5,       /**< H5 */
354   TidyTag_H6,       /**< H6 */
355   TidyTag_HEAD,     /**< HEAD */
356   TidyTag_HR,       /**< HR */
357   TidyTag_HTML,     /**< HTML */
358   TidyTag_I,        /**< I */
359   TidyTag_IFRAME,   /**< IFRAME */
360   TidyTag_ILAYER,   /**< ILAYER */
361   TidyTag_IMG,      /**< IMG */
362   TidyTag_INPUT,    /**< INPUT */
363   TidyTag_INS,      /**< INS */
364   TidyTag_ISINDEX,  /**< ISINDEX */
365   TidyTag_KBD,      /**< KBD */
366   TidyTag_KEYGEN,   /**< KEYGEN */
367   TidyTag_LABEL,    /**< LABEL */
368   TidyTag_LAYER,    /**< LAYER */
369   TidyTag_LEGEND,   /**< LEGEND */
370   TidyTag_LI,       /**< LI */
371   TidyTag_LINK,     /**< LINK */
372   TidyTag_LISTING,  /**< LISTING */
373   TidyTag_MAP,      /**< MAP */
374   TidyTag_MARQUEE,  /**< MARQUEE */
375   TidyTag_MENU,     /**< MENU */
376   TidyTag_META,     /**< META */
377   TidyTag_MULTICOL, /**< MULTICOL */
378   TidyTag_NOBR,     /**< NOBR */
379   TidyTag_NOEMBED,  /**< NOEMBED */
380   TidyTag_NOFRAMES, /**< NOFRAMES */
381   TidyTag_NOLAYER,  /**< NOLAYER */
382   TidyTag_NOSAVE,   /**< NOSAVE */
383   TidyTag_NOSCRIPT, /**< NOSCRIPT */
384   TidyTag_OBJECT,   /**< OBJECT */
385   TidyTag_OL,       /**< OL */
386   TidyTag_OPTGROUP, /**< OPTGROUP */
387   TidyTag_OPTION,   /**< OPTION */
388   TidyTag_P,        /**< P */
389   TidyTag_PARAM,    /**< PARAM */
390   TidyTag_PLAINTEXT,/**< PLAINTEXT */
391   TidyTag_PRE,      /**< PRE */
392   TidyTag_Q,        /**< Q */
393   TidyTag_RB,       /**< RB */
394   TidyTag_RBC,      /**< RBC */
395   TidyTag_RP,       /**< RP */
396   TidyTag_RT,       /**< RT */
397   TidyTag_RTC,      /**< RTC */
398   TidyTag_RUBY,     /**< RUBY */
399   TidyTag_S,        /**< S */
400   TidyTag_SAMP,     /**< SAMP */
401   TidyTag_SCRIPT,   /**< SCRIPT */
402   TidyTag_SELECT,   /**< SELECT */
403   TidyTag_SERVER,   /**< SERVER */
404   TidyTag_SERVLET,  /**< SERVLET */
405   TidyTag_SMALL,    /**< SMALL */
406   TidyTag_SPACER,   /**< SPACER */
407   TidyTag_SPAN,     /**< SPAN */
408   TidyTag_STRIKE,   /**< STRIKE */
409   TidyTag_STRONG,   /**< STRONG */
410   TidyTag_STYLE,    /**< STYLE */
411   TidyTag_SUB,      /**< SUB */
412   TidyTag_SUP,      /**< SUP */
413   TidyTag_TABLE,    /**< TABLE */
414   TidyTag_TBODY,    /**< TBODY */
415   TidyTag_TD,       /**< TD */
416   TidyTag_TEXTAREA, /**< TEXTAREA */
417   TidyTag_TFOOT,    /**< TFOOT */
418   TidyTag_TH,       /**< TH */
419   TidyTag_THEAD,    /**< THEAD */
420   TidyTag_TITLE,    /**< TITLE */
421   TidyTag_TR,       /**< TR */
422   TidyTag_TT,       /**< TT */
423   TidyTag_U,        /**< U */
424   TidyTag_UL,       /**< UL */
425   TidyTag_VAR,      /**< VAR */
426   TidyTag_WBR,      /**< WBR */
427   TidyTag_XMP,      /**< XMP */
428   TidyTag_NEXTID,   /**< NEXTID */
429
430   N_TIDY_TAGS       /**< Must be last */
431 } TidyTagId;
432
433 /* Attribute interrogation
434 */
435
436 /** Known HTML attributes
437 */
438 typedef enum
439 {
440   TidyAttr_UNKNOWN,           /**< UNKNOWN= */
441   TidyAttr_ABBR,              /**< ABBR= */
442   TidyAttr_ACCEPT,            /**< ACCEPT= */
443   TidyAttr_ACCEPT_CHARSET,    /**< ACCEPT_CHARSET= */
444   TidyAttr_ACCESSKEY,         /**< ACCESSKEY= */
445   TidyAttr_ACTION,            /**< ACTION= */
446   TidyAttr_ADD_DATE,          /**< ADD_DATE= */
447   TidyAttr_ALIGN,             /**< ALIGN= */
448   TidyAttr_ALINK,             /**< ALINK= */
449   TidyAttr_ALT,               /**< ALT= */
450   TidyAttr_ARCHIVE,           /**< ARCHIVE= */
451   TidyAttr_AXIS,              /**< AXIS= */
452   TidyAttr_BACKGROUND,        /**< BACKGROUND= */
453   TidyAttr_BGCOLOR,           /**< BGCOLOR= */
454   TidyAttr_BGPROPERTIES,      /**< BGPROPERTIES= */
455   TidyAttr_BORDER,            /**< BORDER= */
456   TidyAttr_BORDERCOLOR,       /**< BORDERCOLOR= */
457   TidyAttr_BOTTOMMARGIN,      /**< BOTTOMMARGIN= */
458   TidyAttr_CELLPADDING,       /**< CELLPADDING= */
459   TidyAttr_CELLSPACING,       /**< CELLSPACING= */
460   TidyAttr_CHAR,              /**< CHAR= */
461   TidyAttr_CHAROFF,           /**< CHAROFF= */
462   TidyAttr_CHARSET,           /**< CHARSET= */
463   TidyAttr_CHECKED,           /**< CHECKED= */
464   TidyAttr_CITE,              /**< CITE= */
465   TidyAttr_CLASS,             /**< CLASS= */
466   TidyAttr_CLASSID,           /**< CLASSID= */
467   TidyAttr_CLEAR,             /**< CLEAR= */
468   TidyAttr_CODE,              /**< CODE= */
469   TidyAttr_CODEBASE,          /**< CODEBASE= */
470   TidyAttr_CODETYPE,          /**< CODETYPE= */
471   TidyAttr_COLOR,             /**< COLOR= */
472   TidyAttr_COLS,              /**< COLS= */
473   TidyAttr_COLSPAN,           /**< COLSPAN= */
474   TidyAttr_COMPACT,           /**< COMPACT= */
475   TidyAttr_CONTENT,           /**< CONTENT= */
476   TidyAttr_COORDS,            /**< COORDS= */
477   TidyAttr_DATA,              /**< DATA= */
478   TidyAttr_DATAFLD,           /**< DATAFLD= */
479   TidyAttr_DATAFORMATAS,      /**< DATAFORMATAS= */
480   TidyAttr_DATAPAGESIZE,      /**< DATAPAGESIZE= */
481   TidyAttr_DATASRC,           /**< DATASRC= */
482   TidyAttr_DATETIME,          /**< DATETIME= */
483   TidyAttr_DECLARE,           /**< DECLARE= */
484   TidyAttr_DEFER,             /**< DEFER= */
485   TidyAttr_DIR,               /**< DIR= */
486   TidyAttr_DISABLED,          /**< DISABLED= */
487   TidyAttr_ENCODING,          /**< ENCODING= */
488   TidyAttr_ENCTYPE,           /**< ENCTYPE= */
489   TidyAttr_FACE,              /**< FACE= */
490   TidyAttr_FOR,               /**< FOR= */
491   TidyAttr_FRAME,             /**< FRAME= */
492   TidyAttr_FRAMEBORDER,       /**< FRAMEBORDER= */
493   TidyAttr_FRAMESPACING,      /**< FRAMESPACING= */
494   TidyAttr_GRIDX,             /**< GRIDX= */
495   TidyAttr_GRIDY,             /**< GRIDY= */
496   TidyAttr_HEADERS,           /**< HEADERS= */
497   TidyAttr_HEIGHT,            /**< HEIGHT= */
498   TidyAttr_HREF,              /**< HREF= */
499   TidyAttr_HREFLANG,          /**< HREFLANG= */
500   TidyAttr_HSPACE,            /**< HSPACE= */
501   TidyAttr_HTTP_EQUIV,        /**< HTTP_EQUIV= */
502   TidyAttr_ID,                /**< ID= */
503   TidyAttr_ISMAP,             /**< ISMAP= */
504   TidyAttr_LABEL,             /**< LABEL= */
505   TidyAttr_LANG,              /**< LANG= */
506   TidyAttr_LANGUAGE,          /**< LANGUAGE= */
507   TidyAttr_LAST_MODIFIED,     /**< LAST_MODIFIED= */
508   TidyAttr_LAST_VISIT,        /**< LAST_VISIT= */
509   TidyAttr_LEFTMARGIN,        /**< LEFTMARGIN= */
510   TidyAttr_LINK,              /**< LINK= */
511   TidyAttr_LONGDESC,          /**< LONGDESC= */
512   TidyAttr_LOWSRC,            /**< LOWSRC= */
513   TidyAttr_MARGINHEIGHT,      /**< MARGINHEIGHT= */
514   TidyAttr_MARGINWIDTH,       /**< MARGINWIDTH= */
515   TidyAttr_MAXLENGTH,         /**< MAXLENGTH= */
516   TidyAttr_MEDIA,             /**< MEDIA= */
517   TidyAttr_METHOD,            /**< METHOD= */
518   TidyAttr_MULTIPLE,          /**< MULTIPLE= */
519   TidyAttr_NAME,              /**< NAME= */
520   TidyAttr_NOHREF,            /**< NOHREF= */
521   TidyAttr_NORESIZE,          /**< NORESIZE= */
522   TidyAttr_NOSHADE,           /**< NOSHADE= */
523   TidyAttr_NOWRAP,            /**< NOWRAP= */
524   TidyAttr_OBJECT,            /**< OBJECT= */
525   TidyAttr_OnAFTERUPDATE,     /**< OnAFTERUPDATE= */
526   TidyAttr_OnBEFOREUNLOAD,    /**< OnBEFOREUNLOAD= */
527   TidyAttr_OnBEFOREUPDATE,    /**< OnBEFOREUPDATE= */
528   TidyAttr_OnBLUR,            /**< OnBLUR= */
529   TidyAttr_OnCHANGE,          /**< OnCHANGE= */
530   TidyAttr_OnCLICK,           /**< OnCLICK= */
531   TidyAttr_OnDATAAVAILABLE,   /**< OnDATAAVAILABLE= */
532   TidyAttr_OnDATASETCHANGED,  /**< OnDATASETCHANGED= */
533   TidyAttr_OnDATASETCOMPLETE, /**< OnDATASETCOMPLETE= */
534   TidyAttr_OnDBLCLICK,        /**< OnDBLCLICK= */
535   TidyAttr_OnERRORUPDATE,     /**< OnERRORUPDATE= */
536   TidyAttr_OnFOCUS,           /**< OnFOCUS= */
537   TidyAttr_OnKEYDOWN,         /**< OnKEYDOWN= */
538   TidyAttr_OnKEYPRESS,        /**< OnKEYPRESS= */
539   TidyAttr_OnKEYUP,           /**< OnKEYUP= */
540   TidyAttr_OnLOAD,            /**< OnLOAD= */
541   TidyAttr_OnMOUSEDOWN,       /**< OnMOUSEDOWN= */
542   TidyAttr_OnMOUSEMOVE,       /**< OnMOUSEMOVE= */
543   TidyAttr_OnMOUSEOUT,        /**< OnMOUSEOUT= */
544   TidyAttr_OnMOUSEOVER,       /**< OnMOUSEOVER= */
545   TidyAttr_OnMOUSEUP,         /**< OnMOUSEUP= */
546   TidyAttr_OnRESET,           /**< OnRESET= */
547   TidyAttr_OnROWENTER,        /**< OnROWENTER= */
548   TidyAttr_OnROWEXIT,         /**< OnROWEXIT= */
549   TidyAttr_OnSELECT,          /**< OnSELECT= */
550   TidyAttr_OnSUBMIT,          /**< OnSUBMIT= */
551   TidyAttr_OnUNLOAD,          /**< OnUNLOAD= */
552   TidyAttr_PROFILE,           /**< PROFILE= */
553   TidyAttr_PROMPT,            /**< PROMPT= */
554   TidyAttr_RBSPAN,            /**< RBSPAN= */
555   TidyAttr_READONLY,          /**< READONLY= */
556   TidyAttr_REL,               /**< REL= */
557   TidyAttr_REV,               /**< REV= */
558   TidyAttr_RIGHTMARGIN,       /**< RIGHTMARGIN= */
559   TidyAttr_ROWS,              /**< ROWS= */
560   TidyAttr_ROWSPAN,           /**< ROWSPAN= */
561   TidyAttr_RULES,             /**< RULES= */
562   TidyAttr_SCHEME,            /**< SCHEME= */
563   TidyAttr_SCOPE,             /**< SCOPE= */
564   TidyAttr_SCROLLING,         /**< SCROLLING= */
565   TidyAttr_SELECTED,          /**< SELECTED= */
566   TidyAttr_SHAPE,             /**< SHAPE= */
567   TidyAttr_SHOWGRID,          /**< SHOWGRID= */
568   TidyAttr_SHOWGRIDX,         /**< SHOWGRIDX= */
569   TidyAttr_SHOWGRIDY,         /**< SHOWGRIDY= */
570   TidyAttr_SIZE,              /**< SIZE= */
571   TidyAttr_SPAN,              /**< SPAN= */
572   TidyAttr_SRC,               /**< SRC= */
573   TidyAttr_STANDBY,           /**< STANDBY= */
574   TidyAttr_START,             /**< START= */
575   TidyAttr_STYLE,             /**< STYLE= */
576   TidyAttr_SUMMARY,           /**< SUMMARY= */
577   TidyAttr_TABINDEX,          /**< TABINDEX= */
578   TidyAttr_TARGET,            /**< TARGET= */
579   TidyAttr_TEXT,              /**< TEXT= */
580   TidyAttr_TITLE,             /**< TITLE= */
581   TidyAttr_TOPMARGIN,         /**< TOPMARGIN= */
582   TidyAttr_TYPE,              /**< TYPE= */
583   TidyAttr_USEMAP,            /**< USEMAP= */
584   TidyAttr_VALIGN,            /**< VALIGN= */
585   TidyAttr_VALUE,             /**< VALUE= */
586   TidyAttr_VALUETYPE,         /**< VALUETYPE= */
587   TidyAttr_VERSION,           /**< VERSION= */
588   TidyAttr_VLINK,             /**< VLINK= */
589   TidyAttr_VSPACE,            /**< VSPACE= */
590   TidyAttr_WIDTH,             /**< WIDTH= */
591   TidyAttr_WRAP,              /**< WRAP= */
592   TidyAttr_XML_LANG,          /**< XML_LANG= */
593   TidyAttr_XML_SPACE,         /**< XML_SPACE= */
594   TidyAttr_XMLNS,             /**< XMLNS= */
595
596   TidyAttr_EVENT,             /**< EVENT= */
597   TidyAttr_METHODS,           /**< METHODS= */
598   TidyAttr_N,                 /**< N= */
599   TidyAttr_SDAFORM,           /**< SDAFORM= */
600   TidyAttr_SDAPREF,           /**< SDAPREF= */
601   TidyAttr_SDASUFF,           /**< SDASUFF= */
602   TidyAttr_URN,               /**< URN= */
603
604   N_TIDY_ATTRIBS              /**< Must be last */
605 } TidyAttrId;
606
607 #ifdef __cplusplus
608 }  /* extern "C" */
609 #endif
610 #endif /* __TIDYENUM_H__ */
Note: See TracBrowser for help on using the browser.