14 typedef void (
AttrCheck)(TidyDocImpl* doc, Node *node, AttVal *attval);
58 typedef struct _priorityAttribs {
80 #define XHTML_NAMESPACE "http://www.w3.org/1999/xhtml" 85 const Attribute*
TY_(CheckAttribute)( TidyDocImpl* doc, Node *node, AttVal *attval );
87 const Attribute*
TY_(FindAttribute)( TidyDocImpl* doc, AttVal *attval );
91 void TY_(DropAttrByName)( TidyDocImpl* doc, Node *node,
ctmbstr name );
93 AttVal*
TY_(AddAttribute)( TidyDocImpl* doc,
102 TidyIterator
TY_(getPriorityAttrList)( TidyDocImpl* doc );
105 ctmbstr TY_(getNextPriorityAttr)( TidyDocImpl* doc, TidyIterator* iter );
114 Bool TY_(IsAnchorElement)( TidyDocImpl* doc, Node* node );
136 void TY_(RemoveAnchorByNode)( TidyDocImpl* doc,
ctmbstr name, Node *node );
139 void TY_(FreeAnchors)( TidyDocImpl* doc );
143 void TY_(InitAttrs)( TidyDocImpl* doc );
144 void TY_(FreeAttrTable)( TidyDocImpl* doc );
146 void TY_(FreeAttrPriorityList)( TidyDocImpl* doc );
148 void TY_(AppendToClassAttr)( TidyDocImpl* doc, AttVal *classattr,
ctmbstr classname );
153 void TY_(RepairDuplicateAttributes)( TidyDocImpl* doc, Node* node,
Bool isXml );
156 Bool TY_(IsBoolAttribute)( AttVal* attval );
157 Bool TY_(attrIsEvent)( AttVal* attval );
163 Bool TY_(AttributeIsProprietary)(Node* node, AttVal* attval);
164 Bool TY_(AttributeIsMismatched)(Node* node, AttVal* attval, TidyDocImpl* doc);
168 #define AttrId(av) ((av) && (av)->dict ? (av)->dict->id : TidyAttr_UNKNOWN) 169 #define AttrIsId(av, atid) ((av) && (av)->dict && ((av)->dict->id == atid)) 171 #define AttrHasValue(attr) ((attr) && (attr)->value) 172 #define AttrValueIs(attr, val) (AttrHasValue(attr) && \ 173 TY_(tmbstrcasecmp)((attr)->value, val) == 0) 174 #define AttrContains(attr, val) (AttrHasValue(attr) && \ 175 TY_(tmbsubstr)((attr)->value, val) != NULL) 176 #define AttrVersions(attr) ((attr) && (attr)->dict ? (attr)->dict->versions : VERS_PROPRIETARY) 178 #define AttrsHaveSameId(a, b) (a && b && a->dict && b->dict && a->dict->id && \ 179 b->dict->id && a->dict->id == b->dict->id) 181 #define attrIsABBR(av) AttrIsId( av, TidyAttr_ABBR ) 182 #define attrIsACCEPT(av) AttrIsId( av, TidyAttr_ACCEPT ) 183 #define attrIsACCEPT_CHARSET(av) AttrIsId( av, TidyAttr_ACCEPT_CHARSET ) 184 #define attrIsACCESSKEY(av) AttrIsId( av, TidyAttr_ACCESSKEY ) 185 #define attrIsACTION(av) AttrIsId( av, TidyAttr_ACTION ) 186 #define attrIsADD_DATE(av) AttrIsId( av, TidyAttr_ADD_DATE ) 187 #define attrIsALIGN(av) AttrIsId( av, TidyAttr_ALIGN ) 188 #define attrIsALINK(av) AttrIsId( av, TidyAttr_ALINK ) 189 #define attrIsALT(av) AttrIsId( av, TidyAttr_ALT ) 190 #define attrIsARCHIVE(av) AttrIsId( av, TidyAttr_ARCHIVE ) 191 #define attrIsAXIS(av) AttrIsId( av, TidyAttr_AXIS ) 192 #define attrIsBACKGROUND(av) AttrIsId( av, TidyAttr_BACKGROUND ) 193 #define attrIsBGCOLOR(av) AttrIsId( av, TidyAttr_BGCOLOR ) 194 #define attrIsBGPROPERTIES(av) AttrIsId( av, TidyAttr_BGPROPERTIES ) 195 #define attrIsBORDER(av) AttrIsId( av, TidyAttr_BORDER ) 196 #define attrIsBORDERCOLOR(av) AttrIsId( av, TidyAttr_BORDERCOLOR ) 197 #define attrIsBOTTOMMARGIN(av) AttrIsId( av, TidyAttr_BOTTOMMARGIN ) 198 #define attrIsCELLPADDING(av) AttrIsId( av, TidyAttr_CELLPADDING ) 199 #define attrIsCELLSPACING(av) AttrIsId( av, TidyAttr_CELLSPACING ) 200 #define attrIsCHARSET(av) AttrIsId( av, TidyAttr_CHARSET ) 201 #define attrIsCHAR(av) AttrIsId( av, TidyAttr_CHAR ) 202 #define attrIsCHAROFF(av) AttrIsId( av, TidyAttr_CHAROFF ) 203 #define attrIsCHARSET(av) AttrIsId( av, TidyAttr_CHARSET ) 204 #define attrIsCHECKED(av) AttrIsId( av, TidyAttr_CHECKED ) 205 #define attrIsCITE(av) AttrIsId( av, TidyAttr_CITE ) 206 #define attrIsCLASS(av) AttrIsId( av, TidyAttr_CLASS ) 207 #define attrIsCLASSID(av) AttrIsId( av, TidyAttr_CLASSID ) 208 #define attrIsCLEAR(av) AttrIsId( av, TidyAttr_CLEAR ) 209 #define attrIsCODE(av) AttrIsId( av, TidyAttr_CODE ) 210 #define attrIsCODEBASE(av) AttrIsId( av, TidyAttr_CODEBASE ) 211 #define attrIsCODETYPE(av) AttrIsId( av, TidyAttr_CODETYPE ) 212 #define attrIsCOLOR(av) AttrIsId( av, TidyAttr_COLOR ) 213 #define attrIsCOLS(av) AttrIsId( av, TidyAttr_COLS ) 214 #define attrIsCOLSPAN(av) AttrIsId( av, TidyAttr_COLSPAN ) 215 #define attrIsCOMPACT(av) AttrIsId( av, TidyAttr_COMPACT ) 216 #define attrIsCONTENT(av) AttrIsId( av, TidyAttr_CONTENT ) 217 #define attrIsCOORDS(av) AttrIsId( av, TidyAttr_COORDS ) 218 #define attrIsDATA(av) AttrIsId( av, TidyAttr_DATA ) 219 #define attrIsDATAFLD(av) AttrIsId( av, TidyAttr_DATAFLD ) 220 #define attrIsDATAFORMATAS(av) AttrIsId( av, TidyAttr_DATAFORMATAS ) 221 #define attrIsDATAPAGESIZE(av) AttrIsId( av, TidyAttr_DATAPAGESIZE ) 222 #define attrIsDATASRC(av) AttrIsId( av, TidyAttr_DATASRC ) 223 #define attrIsDATETIME(av) AttrIsId( av, TidyAttr_DATETIME ) 224 #define attrIsDECLARE(av) AttrIsId( av, TidyAttr_DECLARE ) 225 #define attrIsDEFER(av) AttrIsId( av, TidyAttr_DEFER ) 226 #define attrIsDIR(av) AttrIsId( av, TidyAttr_DIR ) 227 #define attrIsDISABLED(av) AttrIsId( av, TidyAttr_DISABLED ) 228 #define attrIsENCODING(av) AttrIsId( av, TidyAttr_ENCODING ) 229 #define attrIsENCTYPE(av) AttrIsId( av, TidyAttr_ENCTYPE ) 230 #define attrIsFACE(av) AttrIsId( av, TidyAttr_FACE ) 231 #define attrIsFOR(av) AttrIsId( av, TidyAttr_FOR ) 232 #define attrIsFRAME(av) AttrIsId( av, TidyAttr_FRAME ) 233 #define attrIsFRAMEBORDER(av) AttrIsId( av, TidyAttr_FRAMEBORDER ) 234 #define attrIsFRAMESPACING(av) AttrIsId( av, TidyAttr_FRAMESPACING ) 235 #define attrIsGRIDX(av) AttrIsId( av, TidyAttr_GRIDX ) 236 #define attrIsGRIDY(av) AttrIsId( av, TidyAttr_GRIDY ) 237 #define attrIsHEADERS(av) AttrIsId( av, TidyAttr_HEADERS ) 238 #define attrIsHEIGHT(av) AttrIsId( av, TidyAttr_HEIGHT ) 239 #define attrIsHREF(av) AttrIsId( av, TidyAttr_HREF ) 240 #define attrIsHREFLANG(av) AttrIsId( av, TidyAttr_HREFLANG ) 241 #define attrIsHSPACE(av) AttrIsId( av, TidyAttr_HSPACE ) 242 #define attrIsHTTP_EQUIV(av) AttrIsId( av, TidyAttr_HTTP_EQUIV ) 243 #define attrIsID(av) AttrIsId( av, TidyAttr_ID ) 244 #define attrIsISMAP(av) AttrIsId( av, TidyAttr_ISMAP ) 245 #define attrIsITEMID(av) AttrIsId( av, TidyAttr_ITEMID ) 246 #define attrIsITEMPROP(av) AttrIsId( av, TidyAttr_ITEMPROP ) 247 #define attrIsITEMREF(av) AttrIsId( av, TidyAttr_ITEMREF ) 248 #define attrIsITEMSCOPE(av) AttrIsId( av, TidyAttr_ITEMSCOPE ) 249 #define attrIsITEMTYPE(av) AttrIsId( av, TidyAttr_ITEMTYPE ) 250 #define attrIsLABEL(av) AttrIsId( av, TidyAttr_LABEL ) 251 #define attrIsLANG(av) AttrIsId( av, TidyAttr_LANG ) 252 #define attrIsLANGUAGE(av) AttrIsId( av, TidyAttr_LANGUAGE ) 253 #define attrIsLAST_MODIFIED(av) AttrIsId( av, TidyAttr_LAST_MODIFIED ) 254 #define attrIsLAST_VISIT(av) AttrIsId( av, TidyAttr_LAST_VISIT ) 255 #define attrIsLEFTMARGIN(av) AttrIsId( av, TidyAttr_LEFTMARGIN ) 256 #define attrIsLINK(av) AttrIsId( av, TidyAttr_LINK ) 257 #define attrIsLONGDESC(av) AttrIsId( av, TidyAttr_LONGDESC ) 258 #define attrIsLOWSRC(av) AttrIsId( av, TidyAttr_LOWSRC ) 259 #define attrIsMARGINHEIGHT(av) AttrIsId( av, TidyAttr_MARGINHEIGHT ) 260 #define attrIsMARGINWIDTH(av) AttrIsId( av, TidyAttr_MARGINWIDTH ) 261 #define attrIsMAXLENGTH(av) AttrIsId( av, TidyAttr_MAXLENGTH ) 262 #define attrIsMEDIA(av) AttrIsId( av, TidyAttr_MEDIA ) 263 #define attrIsMETHOD(av) AttrIsId( av, TidyAttr_METHOD ) 264 #define attrIsMULTIPLE(av) AttrIsId( av, TidyAttr_MULTIPLE ) 265 #define attrIsNAME(av) AttrIsId( av, TidyAttr_NAME ) 266 #define attrIsNOHREF(av) AttrIsId( av, TidyAttr_NOHREF ) 267 #define attrIsNORESIZE(av) AttrIsId( av, TidyAttr_NORESIZE ) 268 #define attrIsNOSHADE(av) AttrIsId( av, TidyAttr_NOSHADE ) 269 #define attrIsNOWRAP(av) AttrIsId( av, TidyAttr_NOWRAP ) 270 #define attrIsOBJECT(av) AttrIsId( av, TidyAttr_OBJECT ) 271 #define attrIsOnAFTERUPDATE(av) AttrIsId( av, TidyAttr_OnAFTERUPDATE ) 272 #define attrIsOnBEFOREUNLOAD(av) AttrIsId( av, TidyAttr_OnBEFOREUNLOAD ) 273 #define attrIsOnBEFOREUPDATE(av) AttrIsId( av, TidyAttr_OnBEFOREUPDATE ) 274 #define attrIsOnBLUR(av) AttrIsId( av, TidyAttr_OnBLUR ) 275 #define attrIsOnCHANGE(av) AttrIsId( av, TidyAttr_OnCHANGE ) 276 #define attrIsOnCLICK(av) AttrIsId( av, TidyAttr_OnCLICK ) 277 #define attrIsOnDATAAVAILABLE(av) AttrIsId( av, TidyAttr_OnDATAAVAILABLE ) 278 #define attrIsOnDATASETCHANGED(av) AttrIsId( av, TidyAttr_OnDATASETCHANGED ) 279 #define attrIsOnDATASETCOMPLETE(av) AttrIsId( av, TidyAttr_OnDATASETCOMPLETE ) 280 #define attrIsOnDBLCLICK(av) AttrIsId( av, TidyAttr_OnDBLCLICK ) 281 #define attrIsOnERRORUPDATE(av) AttrIsId( av, TidyAttr_OnERRORUPDATE ) 282 #define attrIsOnFOCUS(av) AttrIsId( av, TidyAttr_OnFOCUS ) 283 #define attrIsOnKEYDOWN(av) AttrIsId( av, TidyAttr_OnKEYDOWN ) 284 #define attrIsOnKEYPRESS(av) AttrIsId( av, TidyAttr_OnKEYPRESS ) 285 #define attrIsOnKEYUP(av) AttrIsId( av, TidyAttr_OnKEYUP ) 286 #define attrIsOnLOAD(av) AttrIsId( av, TidyAttr_OnLOAD ) 287 #define attrIsOnMOUSEDOWN(av) AttrIsId( av, TidyAttr_OnMOUSEDOWN ) 288 #define attrIsOnMOUSEMOVE(av) AttrIsId( av, TidyAttr_OnMOUSEMOVE ) 289 #define attrIsOnMOUSEOUT(av) AttrIsId( av, TidyAttr_OnMOUSEOUT ) 290 #define attrIsOnMOUSEOVER(av) AttrIsId( av, TidyAttr_OnMOUSEOVER ) 291 #define attrIsOnMOUSEUP(av) AttrIsId( av, TidyAttr_OnMOUSEUP ) 292 #define attrIsOnRESET(av) AttrIsId( av, TidyAttr_OnRESET ) 293 #define attrIsOnROWENTER(av) AttrIsId( av, TidyAttr_OnROWENTER ) 294 #define attrIsOnROWEXIT(av) AttrIsId( av, TidyAttr_OnROWEXIT ) 295 #define attrIsOnSELECT(av) AttrIsId( av, TidyAttr_OnSELECT ) 296 #define attrIsOnSUBMIT(av) AttrIsId( av, TidyAttr_OnSUBMIT ) 297 #define attrIsOnUNLOAD(av) AttrIsId( av, TidyAttr_OnUNLOAD ) 298 #define attrIsPROFILE(av) AttrIsId( av, TidyAttr_PROFILE ) 299 #define attrIsPROMPT(av) AttrIsId( av, TidyAttr_PROMPT ) 300 #define attrIsRBSPAN(av) AttrIsId( av, TidyAttr_RBSPAN ) 301 #define attrIsREADONLY(av) AttrIsId( av, TidyAttr_READONLY ) 302 #define attrIsREL(av) AttrIsId( av, TidyAttr_REL ) 303 #define attrIsREV(av) AttrIsId( av, TidyAttr_REV ) 304 #define attrIsRIGHTMARGIN(av) AttrIsId( av, TidyAttr_RIGHTMARGIN ) 305 #define attrIsROLE(av) AttrIsId( av, TidyAttr_ROLE ) 306 #define attrIsROWS(av) AttrIsId( av, TidyAttr_ROWS ) 307 #define attrIsROWSPAN(av) AttrIsId( av, TidyAttr_ROWSPAN ) 308 #define attrIsRULES(av) AttrIsId( av, TidyAttr_RULES ) 309 #define attrIsSCHEME(av) AttrIsId( av, TidyAttr_SCHEME ) 310 #define attrIsSCOPE(av) AttrIsId( av, TidyAttr_SCOPE ) 311 #define attrIsSCROLLING(av) AttrIsId( av, TidyAttr_SCROLLING ) 312 #define attrIsSELECTED(av) AttrIsId( av, TidyAttr_SELECTED ) 313 #define attrIsSHAPE(av) AttrIsId( av, TidyAttr_SHAPE ) 314 #define attrIsSHOWGRID(av) AttrIsId( av, TidyAttr_SHOWGRID ) 315 #define attrIsSHOWGRIDX(av) AttrIsId( av, TidyAttr_SHOWGRIDX ) 316 #define attrIsSHOWGRIDY(av) AttrIsId( av, TidyAttr_SHOWGRIDY ) 317 #define attrIsSIZE(av) AttrIsId( av, TidyAttr_SIZE ) 318 #define attrIsSPAN(av) AttrIsId( av, TidyAttr_SPAN ) 319 #define attrIsSRC(av) AttrIsId( av, TidyAttr_SRC ) 320 #define attrIsSTANDBY(av) AttrIsId( av, TidyAttr_STANDBY ) 321 #define attrIsSTART(av) AttrIsId( av, TidyAttr_START ) 322 #define attrIsSTYLE(av) AttrIsId( av, TidyAttr_STYLE ) 323 #define attrIsSUMMARY(av) AttrIsId( av, TidyAttr_SUMMARY ) 324 #define attrIsTABINDEX(av) AttrIsId( av, TidyAttr_TABINDEX ) 325 #define attrIsTARGET(av) AttrIsId( av, TidyAttr_TARGET ) 326 #define attrIsTEXT(av) AttrIsId( av, TidyAttr_TEXT ) 327 #define attrIsTITLE(av) AttrIsId( av, TidyAttr_TITLE ) 328 #define attrIsTOPMARGIN(av) AttrIsId( av, TidyAttr_TOPMARGIN ) 329 #define attrIsTYPE(av) AttrIsId( av, TidyAttr_TYPE ) 330 #define attrIsUSEMAP(av) AttrIsId( av, TidyAttr_USEMAP ) 331 #define attrIsVALIGN(av) AttrIsId( av, TidyAttr_VALIGN ) 332 #define attrIsVALUE(av) AttrIsId( av, TidyAttr_VALUE ) 333 #define attrIsVALUETYPE(av) AttrIsId( av, TidyAttr_VALUETYPE ) 334 #define attrIsVERSION(av) AttrIsId( av, TidyAttr_VERSION ) 335 #define attrIsVLINK(av) AttrIsId( av, TidyAttr_VLINK ) 336 #define attrIsVSPACE(av) AttrIsId( av, TidyAttr_VSPACE ) 337 #define attrIsWIDTH(av) AttrIsId( av, TidyAttr_WIDTH ) 338 #define attrIsWRAP(av) AttrIsId( av, TidyAttr_WRAP ) 339 #define attrIsXMLNS(av) AttrIsId( av, TidyAttr_XMLNS ) 340 #define attrIsXML_LANG(av) AttrIsId( av, TidyAttr_XML_LANG ) 341 #define attrIsXML_SPACE(av) AttrIsId( av, TidyAttr_XML_SPACE ) 342 #define attrIsARIA_ACTIVEDESCENDANT(av) AttrIsId( av, TidyAttr_ARIA_ACTIVEDESCENDANT ) 343 #define attrIsARIA_ATOMIC(av) AttrIsId( av, TidyAttr_ARIA_ATOMIC ) 344 #define attrIsARIA_AUTOCOMPLETE(av) AttrIsId( av, TidyAttr_ARIA_AUTOCOMPLETE ) 345 #define attrIsARIA_BUSY(av) AttrIsId( av, TidyAttr_ARIA_BUSY ) 346 #define attrIsARIA_CHECKED(av) AttrIsId( av, TidyAttr_ARIA_CHECKED ) 347 #define attrIsARIA_CONTROLS(av) AttrIsId( av, TidyAttr_ARIA_CONTROLS ) 348 #define attrIsARIA_DESCRIBEDBY(av) AttrIsId( av, TidyAttr_ARIA_DESCRIBEDBY ) 349 #define attrIsARIA_DISABLED(av) AttrIsId( av, TidyAttr_ARIA_DISABLED ) 350 #define attrIsARIA_DROPEFFECT(av) AttrIsId( av, TidyAttr_ARIA_DROPEFFECT ) 351 #define attrIsARIA_EXPANDED(av) AttrIsId( av, TidyAttr_ARIA_EXPANDED ) 352 #define attrIsARIA_FLOWTO(av) AttrIsId( av, TidyAttr_ARIA_FLOWTO ) 353 #define attrIsARIA_GRABBED(av) AttrIsId( av, TidyAttr_ARIA_GRABBED ) 354 #define attrIsARIA_HASPOPUP(av) AttrIsId( av, TidyAttr_ARIA_HASPOPUP ) 355 #define attrIsARIA_HIDDEN(av) AttrIsId( av, TidyAttr_ARIA_HIDDEN ) 356 #define attrIsARIA_INVALID(av) AttrIsId( av, TidyAttr_ARIA_INVALID ) 357 #define attrIsARIA_LABEL(av) AttrIsId( av, TidyAttr_ARIA_LABEL ) 358 #define attrIsARIA_LABELLEDBY(av) AttrIsId( av, TidyAttr_ARIA_LABELLEDBY ) 359 #define attrIsARIA_LEVEL(av) AttrIsId( av, TidyAttr_ARIA_LEVEL ) 360 #define attrIsARIA_LIVE(av) AttrIsId( av, TidyAttr_ARIA_LIVE ) 361 #define attrIsARIA_MULTILINE(av) AttrIsId( av, TidyAttr_ARIA_MULTILINE ) 362 #define attrIsARIA_MULTISELECTABLE(av) AttrIsId( av, TidyAttr_ARIA_MULTISELECTABLE ) 363 #define attrIsARIA_ORIENTATION(av) AttrIsId( av, TidyAttr_ARIA_ORIENTATION ) 364 #define attrIsARIA_OWNS(av) AttrIsId( av, TidyAttr_ARIA_OWNS ) 365 #define attrIsARIA_POSINSET(av) AttrIsId( av, TidyAttr_ARIA_POSINSET ) 366 #define attrIsARIA_PRESSED(av) AttrIsId( av, TidyAttr_ARIA_PRESSED ) 367 #define attrIsARIA_READONLY(av) AttrIsId( av, TidyAttr_ARIA_READONLY ) 368 #define attrIsARIA_RELEVANT(av) AttrIsId( av, TidyAttr_ARIA_RELEVANT ) 369 #define attrIsARIA_REQUIRED(av) AttrIsId( av, TidyAttr_ARIA_REQUIRED ) 370 #define attrIsARIA_SELECTED(av) AttrIsId( av, TidyAttr_ARIA_SELECTED ) 371 #define attrIsARIA_SETSIZE(av) AttrIsId( av, TidyAttr_ARIA_SETSIZE ) 372 #define attrIsARIA_SORT(av) AttrIsId( av, TidyAttr_ARIA_SORT ) 373 #define attrIsARIA_VALUEMAX(av) AttrIsId( av, TidyAttr_ARIA_VALUEMAX ) 374 #define attrIsARIA_VALUEMIN(av) AttrIsId( av, TidyAttr_ARIA_VALUEMIN ) 375 #define attrIsARIA_VALUENOW(av) AttrIsId( av, TidyAttr_ARIA_VALUENOW ) 376 #define attrIsARIA_VALUETEXT(av) AttrIsId( av, TidyAttr_ARIA_VALUETEXT ) 382 #define attrGetHREF( nod ) TY_(AttrGetById)( nod, TidyAttr_HREF ) 383 #define attrGetSRC( nod ) TY_(AttrGetById)( nod, TidyAttr_SRC ) 384 #define attrGetID( nod ) TY_(AttrGetById)( nod, TidyAttr_ID ) 385 #define attrGetNAME( nod ) TY_(AttrGetById)( nod, TidyAttr_NAME ) 386 #define attrGetSUMMARY( nod ) TY_(AttrGetById)( nod, TidyAttr_SUMMARY ) 387 #define attrGetALT( nod ) TY_(AttrGetById)( nod, TidyAttr_ALT ) 388 #define attrGetLONGDESC( nod ) TY_(AttrGetById)( nod, TidyAttr_LONGDESC ) 389 #define attrGetUSEMAP( nod ) TY_(AttrGetById)( nod, TidyAttr_USEMAP ) 390 #define attrGetISMAP( nod ) TY_(AttrGetById)( nod, TidyAttr_ISMAP ) 391 #define attrGetLANGUAGE( nod ) TY_(AttrGetById)( nod, TidyAttr_LANGUAGE ) 392 #define attrGetTYPE( nod ) TY_(AttrGetById)( nod, TidyAttr_TYPE ) 393 #define attrGetVALUE( nod ) TY_(AttrGetById)( nod, TidyAttr_VALUE ) 394 #define attrGetCONTENT( nod ) TY_(AttrGetById)( nod, TidyAttr_CONTENT ) 395 #define attrGetTITLE( nod ) TY_(AttrGetById)( nod, TidyAttr_TITLE ) 396 #define attrGetXMLNS( nod ) TY_(AttrGetById)( nod, TidyAttr_XMLNS ) 397 #define attrGetDATAFLD( nod ) TY_(AttrGetById)( nod, TidyAttr_DATAFLD ) 398 #define attrGetWIDTH( nod ) TY_(AttrGetById)( nod, TidyAttr_WIDTH ) 399 #define attrGetHEIGHT( nod ) TY_(AttrGetById)( nod, TidyAttr_HEIGHT ) 400 #define attrGetFOR( nod ) TY_(AttrGetById)( nod, TidyAttr_FOR ) 401 #define attrGetSELECTED( nod ) TY_(AttrGetById)( nod, TidyAttr_SELECTED ) 402 #define attrGetCHARSET( nod ) TY_(AttrGetById)( nod, TidyAttr_CHARSET ) 403 #define attrGetCHECKED( nod ) TY_(AttrGetById)( nod, TidyAttr_CHECKED ) 404 #define attrGetLANG( nod ) TY_(AttrGetById)( nod, TidyAttr_LANG ) 405 #define attrGetTARGET( nod ) TY_(AttrGetById)( nod, TidyAttr_TARGET ) 406 #define attrGetHTTP_EQUIV( nod ) TY_(AttrGetById)( nod, TidyAttr_HTTP_EQUIV ) 407 #define attrGetREL( nod ) TY_(AttrGetById)( nod, TidyAttr_REL ) 409 #define attrGetOnMOUSEMOVE( nod ) TY_(AttrGetById)( nod, TidyAttr_OnMOUSEMOVE ) 410 #define attrGetOnMOUSEDOWN( nod ) TY_(AttrGetById)( nod, TidyAttr_OnMOUSEDOWN ) 411 #define attrGetOnMOUSEUP( nod ) TY_(AttrGetById)( nod, TidyAttr_OnMOUSEUP ) 412 #define attrGetOnCLICK( nod ) TY_(AttrGetById)( nod, TidyAttr_OnCLICK ) 413 #define attrGetOnMOUSEOVER( nod ) TY_(AttrGetById)( nod, TidyAttr_OnMOUSEOVER ) 414 #define attrGetOnMOUSEOUT( nod ) TY_(AttrGetById)( nod, TidyAttr_OnMOUSEOUT ) 415 #define attrGetOnKEYDOWN( nod ) TY_(AttrGetById)( nod, TidyAttr_OnKEYDOWN ) 416 #define attrGetOnKEYUP( nod ) TY_(AttrGetById)( nod, TidyAttr_OnKEYUP ) 417 #define attrGetOnKEYPRESS( nod ) TY_(AttrGetById)( nod, TidyAttr_OnKEYPRESS ) 418 #define attrGetOnFOCUS( nod ) TY_(AttrGetById)( nod, TidyAttr_OnFOCUS ) 419 #define attrGetOnBLUR( nod ) TY_(AttrGetById)( nod, TidyAttr_OnBLUR ) 421 #define attrGetBGCOLOR( nod ) TY_(AttrGetById)( nod, TidyAttr_BGCOLOR ) 423 #define attrGetLINK( nod ) TY_(AttrGetById)( nod, TidyAttr_LINK ) 424 #define attrGetALINK( nod ) TY_(AttrGetById)( nod, TidyAttr_ALINK ) 425 #define attrGetVLINK( nod ) TY_(AttrGetById)( nod, TidyAttr_VLINK ) 427 #define attrGetTEXT( nod ) TY_(AttrGetById)( nod, TidyAttr_TEXT ) 428 #define attrGetSTYLE( nod ) TY_(AttrGetById)( nod, TidyAttr_STYLE ) 429 #define attrGetABBR( nod ) TY_(AttrGetById)( nod, TidyAttr_ABBR ) 430 #define attrGetCOLSPAN( nod ) TY_(AttrGetById)( nod, TidyAttr_COLSPAN ) 431 #define attrGetFONT( nod ) TY_(AttrGetById)( nod, TidyAttr_FONT ) 432 #define attrGetBASEFONT( nod ) TY_(AttrGetById)( nod, TidyAttr_BASEFONT ) 433 #define attrGetROWSPAN( nod ) TY_(AttrGetById)( nod, TidyAttr_ROWSPAN ) 435 #define attrGetROLE( nod ) TY_(AttrGetById)( nod, TidyAttr_ROLE ) 437 #define attrGetARIA_ACTIVEDESCENDANT( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_ACTIVEDESCENDANT ) 438 #define attrGetARIA_ATOMIC( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_ATOMIC ) 439 #define attrGetARIA_AUTOCOMPLETE( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_AUTOCOMPLETE ) 440 #define attrGetARIA_BUSY( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_BUSY ) 441 #define attrGetARIA_CHECKED( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_CHECKED ) 442 #define attrGetARIA_CONTROLS( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_CONTROLS ) 443 #define attrGetARIA_DESCRIBEDBY( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_DESCRIBEDBY ) 444 #define attrGetARIA_DISABLED( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_DISABLED ) 445 #define attrGetARIA_DROPEFFECT( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_DROPEFFECT ) 446 #define attrGetARIA_EXPANDED( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_EXPANDED ) 447 #define attrGetARIA_FLOWTO( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_FLOWTO ) 448 #define attrGetARIA_GRABBED( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_GRABBED ) 449 #define attrGetARIA_HASPOPUP( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_HASPOPUP ) 450 #define attrGetARIA_HIDDEN( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_HIDDEN ) 451 #define attrGetARIA_INVALID( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_INVALID ) 452 #define attrGetARIA_LABEL( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_LABEL ) 453 #define attrGetARIA_LABELLEDBY( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_LABELLEDBY ) 454 #define attrGetARIA_LEVEL( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_LEVEL ) 455 #define attrGetARIA_LIVE( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_LIVE ) 456 #define attrGetARIA_MULTILINE( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_MULTILINE ) 457 #define attrGetARIA_MULTISELECTABLE( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_MULTISELECTABLE ) 458 #define attrGetARIA_ORIENTATION( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_ORIENTATION ) 459 #define attrGetARIA_OWNS( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_OWNS ) 460 #define attrGetARIA_POSINSET( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_POSINSET ) 461 #define attrGetARIA_PRESSED( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_PRESSED ) 462 #define attrGetARIA_READONLY( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_READONLY ) 463 #define attrGetARIA_RELEVANT( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_RELEVANT ) 464 #define attrGetARIA_REQUIRED( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_REQUIRED ) 465 #define attrGetARIA_SELECTED( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_SELECTED ) 466 #define attrGetARIA_SETSIZE( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_SETSIZE ) 467 #define attrGetARIA_SORT( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_SORT ) 468 #define attrGetARIA_VALUEMAX( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_VALUEMAX ) 469 #define attrGetARIA_VALUEMIN( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_VALUEMIN ) 470 #define attrGetARIA_VALUENOW( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_VALUENOW ) 471 #define attrGetARIA_VALUETEXT( nod ) TY_(AttrGetById)( nod, TidyAttr_ARIA_VALUETEXT )
AttrCheck * attrchk
Definition: attrs.h:20
char * name
Definition: attrs.h:34
struct _Attribute * next
Definition: attrs.h:22
Attribute const * attr
Definition: attrs.h:46
uint capacity
Definition: attrs.h:61
Node * node
Definition: attrs.h:33
TidyAttrId
Known HTML attributes.
Definition: tidyenum.h:1013
PriorityAttribs priorityAttribs
Definition: attrs.h:73
TidyAttrSortStrategy
Mode controlling treatment of sorting attributes.
Definition: tidyenum.h:807
tmbstr name
Definition: attrs.h:19
struct _Anchor * next
Definition: attrs.h:32
void( AttrCheck)(TidyDocImpl *doc, Node *node, AttVal *attval)
Definition: attrs.h:14
tmbstr * list
Definition: attrs.h:59
TidyAttrId id
Definition: attrs.h:18
uint count
Definition: attrs.h:60
#define TY_(str)
Definition: forward.h:23
Attribute * declared_attr_list
Definition: attrs.h:70
struct _AttrHash * next
Definition: attrs.h:47