527 TidyIterator* iter );
567 #define EndOfStream (~0u)
TidyAttrId TIDY_CALL tidyAttrGetId(TidyAttr tattr)
int TIDY_CALL tidyParseSource(TidyDoc tdoc, TidyInputSource *source)
Parse markup in given generic input source.
TidyIterator TIDY_CALL tidyOptGetDeclTagList(TidyDoc tdoc)
Iterate over user declared tags.
TidyNode TIDY_CALL tidyGetHtml(TidyDoc tdoc)
Bool TIDY_CALL tidyAttrIsID(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsDT(TidyNode tnod)
Bool TIDY_CALL tidyOptResetToDefault(TidyDoc tdoc, TidyOptionId opt)
Reset option to default value by ID.
TidyAttr TIDY_CALL tidyAttrGetTEXT(TidyNode tnod)
uint TIDY_CALL tidyAccessWarningCount(TidyDoc tdoc)
Number of Tidy accessibility warnings encountered.
Bool TIDY_CALL tidyNodeIsCAPTION(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetOnKEYDOWN(TidyNode tnod)
Bool(TIDY_CALL * TidyReportFilter2)(TidyDoc tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr mssg, va_list args)
TidyAttr TIDY_CALL tidyAttrGetHEIGHT(TidyNode tnod)
TidyOptionType TIDY_CALL tidyOptGetType(TidyOption opt)
Get datatype of given Option.
Bool TIDY_CALL tidyAttrIsABBR(TidyAttr tattr)
int TIDY_CALL tidyRunDiagnostics(TidyDoc tdoc)
Run configured diagnostics on parsed and repaired markup.
Bool TIDY_CALL tidyNodeIsH2(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetOnMOUSEOUT(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsDIV(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsHeader(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsS(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetSTYLE(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsSCRIPT(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsHTTP_EQUIV(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetABBR(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsIFRAME(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsBLOCKQUOTE(TidyNode tnod)
void TIDY_CALL tidyUngetByte(TidyInputSource *source, uint byteValue)
Helper: unget byte back to input source.
Bool TIDY_CALL tidyAttrIsSRC(TidyAttr tattr)
TidyReportLevel
Message severity level These TidyReportLevel are used throughout libtidy, but don't have associated l...
Bool TIDY_CALL tidyNodeIsCOL(TidyNode tnod)
int TIDY_CALL tidyDetectedHtmlVersion(TidyDoc tdoc)
Detected HTML version: 0, 2, 3 or 4.
Bool TIDY_CALL tidyAttrIsTITLE(TidyAttr tattr)
ctmbstr TIDY_CALL tidyOptGetDefault(TidyOption opt)
Get default value of given Option as a string.
void * sinkData
Output context.
TidyAttrId
Known HTML attributes.
TidyNode TIDY_CALL tidyGetBody(TidyDoc tdoc)
TidyNode TIDY_CALL tidyGetNext(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsVLINK(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsBIG(TidyNode tnod)
Bool(TIDY_CALL * TidyReportFilter)(TidyDoc tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr mssg)
Callback to filter messages by diagnostic level: info, warning, etc.
Bool TIDY_CALL tidyNodeIsSMALL(TidyNode tnod)
int TIDY_CALL tidySaveString(TidyDoc tdoc, tmbstr buffer, uint *buflen)
Save document to application buffer.
TidyAttr TIDY_CALL tidyAttrGetOnMOUSEMOVE(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsAPPLET(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsPRE(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsCONTENT(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsHTML(TidyNode tnod)
void *TIDY_CALL * alloc(TidyAllocator *self, size_t nBytes)
Called to allocate a block of nBytes of memory.
int TIDY_CALL tidySaveSink(TidyDoc tdoc, TidyOutputSink *sink)
Save to given generic output sink.
Bool TIDY_CALL tidyNodeIsH1(TidyNode tnod)
TidyOption TIDY_CALL tidyGetNextOption(TidyDoc tdoc, TidyIterator *pos)
Get next Option.
int TIDY_CALL tidySetErrorSink(TidyDoc tdoc, TidyOutputSink *sink)
Set error sink to given generic sink.
TidyAttr TIDY_CALL tidyAttrGetISMAP(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetBGCOLOR(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsSTYLE(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetSUMMARY(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetCONTENT(TidyNode tnod)
TidyTagId
Known HTML element types.
int TIDY_CALL tidySaveStdout(TidyDoc tdoc)
Save to standard output (FILE*)
Bool TIDY_CALL tidyAttrIsROWSPAN(TidyAttr tattr)
Bool TIDY_CALL tidyDetectedXhtml(TidyDoc tdoc)
Input is XHTML?
Bool TIDY_CALL tidyNodeIsLABEL(TidyNode tnod)
uint TIDY_CALL tidyGetByte(TidyInputSource *source)
Helper: get next byte from input source.
Bool TIDY_CALL tidyAttrIsXMLNS(TidyAttr tattr)
TidyIterator TIDY_CALL tidyOptGetDocLinksList(TidyDoc tdoc, TidyOption opt)
Iterate over a list of related options.
Bool TIDY_CALL tidySetPrettyPrinterCallback(TidyDoc tdoc, TidyPPProgress callback)
TidyAttr TIDY_CALL tidyAttrGetID(TidyNode tnod)
void TIDY_CALL tidySetAppData(TidyDoc tdoc, void *appData)
Let application store a chunk of data w/ each Tidy instance.
Bool TIDY_CALL tidyAttrIsOnCLICK(TidyAttr tattr)
TidyIterator TIDY_CALL tidyOptGetPickList(TidyOption opt)
Iterate over Option "pick list".
Bool TIDY_CALL tidyNodeIsFRAME(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsSUMMARY(TidyAttr tattr)
TidyDoc TIDY_CALL tidyCreateWithAllocator(TidyAllocator *allocator)
Create a Tidoc supplying the TidyAllocator.
Bool TIDY_CALL tidyNodeIsLI(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsUSEMAP(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetSRC(TidyNode tnod)
TidyPutByteFunc putByte
Pointer to "put byte" callback.
Bool TIDY_CALL tidyNodeHasText(TidyDoc tdoc, TidyNode tnod)
Bool TIDY_CALL tidySetReportFilter2(TidyDoc tdoc, TidyReportFilter2 filtCallback)
TidyAttr TIDY_CALL tidyAttrGetDATAFLD(TidyNode tnod)
TidyOutputSink - accepts raw bytes of output.
TidyAttr TIDY_CALL tidyAttrGetLONGDESC(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsLINK(TidyAttr tattr)
Bool TIDY_CALL tidySetReportFilter(TidyDoc tdoc, TidyReportFilter filtCallback)
Give Tidy a filter callback to use.
int TIDY_CALL tidyStatus(TidyDoc tdoc)
Get status of current document.
Bool TIDY_CALL tidyNodeIsINPUT(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsQ(TidyNode tnod)
TidyTagId TIDY_CALL tidyNodeGetId(TidyNode tnod)
Bool TIDY_CALL tidyOptSetBool(TidyDoc tdoc, TidyOptionId optId, Bool val)
Set Option value as a Boolean flag.
TidyOption TIDY_CALL tidyGetOptionByName(TidyDoc tdoc, ctmbstr optnam)
Lookup option by name.
int TIDY_CALL tidySetInCharEncoding(TidyDoc tdoc, ctmbstr encnam)
Set the input encoding for parsing markup.
void(TIDY_CALL *free)(TidyAllocator *self
Called to free a previously allocated block of memory.
Bool TIDY_CALL tidyAttrIsOnKEYPRESS(TidyAttr tattr)
ctmbstr TIDY_CALL tidyOptGetEncName(TidyDoc tdoc, TidyOptionId optId)
Get character encoding name.
Bool TIDY_CALL tidyAttrIsALINK(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetCOLSPAN(TidyNode tnod)
Bool TIDY_CALL tidyOptDiffThanSnapshot(TidyDoc tdoc)
Any settings different than snapshot?
Bool TIDY_CALL tidyNodeIsText(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsMETA(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetLANGUAGE(TidyNode tnod)
Bool TIDY_CALL tidyOptResetToSnapshot(TidyDoc tdoc)
Reset config settings to snapshot (after document processing)
TidyOptionId
Option IDs Used to get/set option values.
Bool TIDY_CALL tidyNodeIsI(TidyNode tnod)
int(TIDY_CALL * TidyGetByteFunc)(void *sourceData)
Input Callback: get next byte of input.
Bool TIDY_CALL tidyNodeIsXMP(TidyNode tnod)
void *TIDY_CALL tidyGetAppData(TidyDoc tdoc)
Get application data set previously.
Bool TIDY_CALL tidyAttrIsHREF(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetFOR(TidyNode tnod)
void *(TIDY_CALL * TidyRealloc)(void *buf, size_t len)
Callback for "realloc" replacement.
TidyAttr TIDY_CALL tidyAttrGetHTTP_EQUIV(TidyNode tnod)
Bool TIDY_CALL tidyInitSource(TidyInputSource *source, void *srcData, TidyGetByteFunc gbFunc, TidyUngetByteFunc ugbFunc, TidyEOFFunc endFunc)
Facilitates user defined source by providing an entry point to marshal pointers-to-functions.
void TIDY_CALL tidyRelease(TidyDoc tdoc)
Free all memory and release the TidyDoc.
TidyAttr TIDY_CALL tidyAttrGetNAME(TidyNode tnod)
void *TIDY_CALL * realloc(TidyAllocator *self, void *block, size_t nBytes)
Called to resize (grow, in general) a block of memory.
Bool TIDY_CALL tidyAttrIsProp(TidyAttr tattr)
int TIDY_CALL tidyParseString(TidyDoc tdoc, ctmbstr content)
Parse markup in given string.
void *(TIDY_CALL * TidyMalloc)(size_t len)
Callback for "malloc" replacement.
Bool TIDY_CALL tidyOptSnapshot(TidyDoc tdoc)
Take a snapshot of current config settings.
TidyOptionId TIDY_CALL tidyOptGetIdForName(ctmbstr optnam)
Get option ID by name.
TidyAttr TIDY_CALL tidyAttrGetOnCLICK(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsNOFRAMES(TidyNode tnod)
Bool TIDY_CALL tidySetReportFilter3(TidyDoc tdoc, TidyReportFilter3 filtCallback)
FILE *TIDY_CALL tidySetErrorFile(TidyDoc tdoc, ctmbstr errfilnam)
Set error sink to named file.
Bool TIDY_CALL tidyAttrIsSELECTED(TidyAttr tattr)
Bool TIDY_CALL tidyOptGetDefaultBool(TidyOption opt)
Get default value of given Option as a Boolean value.
TidyAttr TIDY_CALL tidyAttrGetOnMOUSEOVER(TidyNode tnod)
Bool TIDY_CALL tidySetReallocCall(TidyRealloc frealloc)
Give Tidy a realloc() replacement.
Bool TIDY_CALL tidyFileExists(TidyDoc tdoc, ctmbstr filename)
Bool TIDY_CALL tidyAttrIsSTYLE(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetCHECKED(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsVALUE(TidyAttr tattr)
ctmbstr TIDY_CALL tidyOptGetNextPick(TidyOption opt, TidyIterator *pos)
Get next string value of Option "pick list".
Bool TIDY_CALL tidyAttrIsNAME(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetVALUE(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetOnBLUR(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsREL(TidyAttr tattr)
Bool TIDY_CALL tidyAttrIsTARGET(TidyAttr tattr)
Bool TIDY_CALL tidyDetectedGenericXml(TidyDoc tdoc)
Input is generic XML (not HTML or XHTML)?
TidyAttr TIDY_CALL tidyAttrGetOnFOCUS(TidyNode tnod)
Separated public enumerations header
void TIDY_CALL tidyAttrDiscard(TidyDoc itdoc, TidyNode tnod, TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetById(TidyNode tnod, TidyAttrId attId)
TidyNode TIDY_CALL tidyDiscardElement(TidyDoc tdoc, TidyNode tnod)
Bool TIDY_CALL tidyNodeIsISINDEX(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsU(TidyNode tnod)
int TIDY_CALL tidySetErrorBuffer(TidyDoc tdoc, TidyBuffer *errbuf)
Set error sink to given buffer.
Bool TIDY_CALL tidyNodeIsNOBR(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsDD(TidyNode tnod)
Bool TIDY_CALL tidyOptResetAllToDefault(TidyDoc tdoc)
Reset all options to their default values.
Bool TIDY_CALL tidyNodeIsHEAD(TidyNode tnod)
TidyNode TIDY_CALL tidyGetPrev(TidyNode tnod)
ctmbstr TIDY_CALL tidyOptGetNextDeclTag(TidyDoc tdoc, TidyOptionId optId, TidyIterator *iter)
Get next declared tag of specified type: TidyInlineTags, TidyBlockTags, TidyEmptyTags, TidyPreTags.
Bool TIDY_CALL tidyNodeIsPARAM(TidyNode tnod)
int TIDY_CALL tidyParseBuffer(TidyDoc tdoc, TidyBuffer *buf)
Parse markup in given buffer.
TidyAttr TIDY_CALL tidyAttrGetVLINK(TidyNode tnod)
Bool TIDY_CALL tidyOptGetBool(TidyDoc tdoc, TidyOptionId optId)
Get current Option value as a Boolean flag.
ulong TIDY_CALL tidyOptGetDefaultInt(TidyOption opt)
Get default value of given Option as an unsigned integer.
int TIDY_CALL tidySetOutCharEncoding(TidyDoc tdoc, ctmbstr encnam)
Set the output encoding.
Bool TIDY_CALL tidyNodeIsBASE(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsHEIGHT(TidyAttr tattr)
void * sourceData
Input context.
Bool TIDY_CALL tidyNodeIsH6(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsProp(TidyDoc tdoc, TidyNode tnod)
Bool TIDY_CALL tidyOptIsReadOnly(TidyOption opt)
Is Option read-only?
Bool TIDY_CALL tidyNodeIsEMBED(TidyNode tnod)
uint TIDY_CALL tidyNodeColumn(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetLINK(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsCENTER(TidyNode tnod)
TidyNodeType TIDY_CALL tidyNodeGetType(TidyNode tnod)
ctmbstr TIDY_CALL tidyLibraryVersion(void)
Get version number for the current library.
TidyOption TIDY_CALL tidyOptGetNextDocLinks(TidyDoc tdoc, TidyIterator *pos)
Get next related option.
TidyAttr TIDY_CALL tidyAttrGetTARGET(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsDL(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsCOLSPAN(TidyAttr tattr)
Bool TIDY_CALL tidyNodeGetText(TidyDoc tdoc, TidyNode tnod, TidyBuffer *buf)
int TIDY_CALL tidyLoadConfigEnc(TidyDoc tdoc, ctmbstr configFile, ctmbstr charenc)
Load a Tidy configuration file with the specified character encoding.
Bool TIDY_CALL tidyNodeIsTABLE(TidyNode tnod)
int TIDY_CALL tidyReportDoctype(TidyDoc tdoc)
void(TIDY_CALL * TidyUngetByteFunc)(void *sourceData, byte bt)
Input Callback: unget a byte of input.
Bool TIDY_CALL tidyNodeIsTITLE(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsOnMOUSEDOWN(TidyAttr tattr)
TidyEOFFunc eof
Pointer to "eof" callback.
Bool TIDY_CALL tidyAttrIsOnMOUSEOVER(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetXMLNS(TidyNode tnod)
Bool TIDY_CALL tidyOptDiffThanDefault(TidyDoc tdoc)
Any settings different than default?
Bool TIDY_CALL tidyAttrIsBGCOLOR(TidyAttr tattr)
void(TIDY_CALL * TidyFree)(void *buf)
Callback for "free" replacement.
Bool TIDY_CALL tidyNodeIsIMG(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsFRAMESET(TidyNode tnod)
Bool TIDY_CALL tidyOptSetValue(TidyDoc tdoc, TidyOptionId optId, ctmbstr val)
Set Option value as a string.
ctmbstr TIDY_CALL tidyOptGetName(TidyOption opt)
Get name of given Option.
Bool TIDY_CALL tidyNodeIsTEXTAREA(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsOL(TidyNode tnod)
Bool TIDY_CALL tidySetMallocCall(TidyMalloc fmalloc)
Give Tidy a malloc() replacement.
ctmbstr TIDY_CALL tidyAttrName(TidyAttr tattr)
Bool TIDY_CALL tidyIsEOF(TidyInputSource *source)
Helper: check if input source at end.
Bool TIDY_CALL tidySetOptionCallback(TidyDoc tdoc, TidyOptCallback pOptCallback)
Bool TIDY_CALL tidyAttrIsWIDTH(TidyAttr tattr)
Bool TIDY_CALL tidyAttrIsOnFOCUS(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetLANG(TidyNode tnod)
TidyNode TIDY_CALL tidyGetParent(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsCHECKED(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetOnKEYPRESS(TidyNode tnod)
An allocator's function table.
int TIDY_CALL tidyLoadConfig(TidyDoc tdoc, ctmbstr configFile)
Load an ASCII Tidy configuration file.
Bool TIDY_CALL tidyNodeIsLAYER(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsSTRONG(TidyNode tnod)
Bool(TIDY_CALL * TidyEOFFunc)(void *sourceData)
Input Callback: is end of input?
TidyGetByteFunc getByte
Pointer to "get byte" callback.
Bool TIDY_CALL tidyNodeIsFONT(TidyNode tnod)
TidyConfigCategory
Categories of Tidy configuration options.
Bool TIDY_CALL tidyNodeIsOPTION(TidyNode tnod)
ctmbstr TIDY_CALL tidyNodeGetName(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsOnBLUR(TidyAttr tattr)
int TIDY_CALL tidyOptSaveSink(TidyDoc tdoc, TidyOutputSink *sink)
Save current settings to given output sink.
void(TIDY_CALL * TidyPanic)(ctmbstr mssg)
Callback for "out of memory" panic state.
Bool TIDY_CALL tidyNodeIsCOLGROUP(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsOnMOUSEOUT(TidyAttr tattr)
int TIDY_CALL tidySaveBuffer(TidyDoc tdoc, TidyBuffer *buf)
Save to given TidyBuffer object.
TidyConfigCategory TIDY_CALL tidyOptGetCategory(TidyOption opt)
Get category of given Option.
Bool TIDY_CALL tidyAttrIsTEXT(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsMAP(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsMARQUEE(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsNOSCRIPT(TidyNode tnod)
Bool TIDY_CALL tidySetFreeCall(TidyFree ffree)
Give Tidy a free() replacement.
TidyAttr TIDY_CALL tidyAttrGetREL(TidyNode tnod)
ctmbstr TIDY_CALL tidyOptGetDoc(TidyDoc tdoc, TidyOption opt)
Get option description.
int TIDY_CALL tidyCleanAndRepair(TidyDoc tdoc)
Execute configured cleanup and repair operations on parsed markup.
Bool TIDY_CALL tidyNodeIsTD(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsBODY(TidyNode tnod)
Bool TIDY_CALL tidyOptSetInt(TidyDoc tdoc, TidyOptionId optId, ulong val)
Set Option value as an integer.
int TIDY_CALL tidyParseFile(TidyDoc tdoc, ctmbstr filename)
Parse markup in named file.
Bool TIDY_CALL tidyAttrIsEvent(TidyAttr tattr)
uint TIDY_CALL tidyConfigErrorCount(TidyDoc tdoc)
Number of Tidy configuration errors encountered.
TidyAttr TIDY_CALL tidyAttrGetOnMOUSEUP(TidyNode tnod)
TidyNode TIDY_CALL tidyGetRoot(TidyDoc tdoc)
Bool TIDY_CALL tidyNodeIsBASEFONT(TidyNode tnod)
void(TIDY_CALL * TidyPutByteFunc)(void *sinkData, byte bt)
Output callback: send a byte to output.
Bool(TIDY_CALL * TidyReportFilter3)(TidyDoc tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr code, va_list args)
uint TIDY_CALL tidyErrorCount(TidyDoc tdoc)
Number of Tidy errors encountered.
TidyIterator TIDY_CALL tidyGetOptionList(TidyDoc tdoc)
Get iterator for list of option.
uint TIDY_CALL tidyWarningCount(TidyDoc tdoc)
Number of Tidy warnings encountered.
Bool TIDY_CALL tidyAttrIsOnKEYUP(TidyAttr tattr)
TidyNode TIDY_CALL tidyGetChild(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsOnKEYDOWN(TidyAttr tattr)
const TidyAllocatorVtbl * vtbl
Bool TIDY_CALL tidyNodeIsBR(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetOnKEYUP(TidyNode tnod)
TidyDoc TIDY_CALL tidyCreate(void)
The primary creation of a TidyDoc.
int TIDY_CALL tidyParseStdin(TidyDoc tdoc)
Parse markup from the standard input.
ulong TIDY_CALL tidyOptGetInt(TidyDoc tdoc, TidyOptionId optId)
Get current Option value as an integer.
TidyUngetByteFunc ungetByte
Pointer to "unget" callback.
Bool TIDY_CALL tidyAttrIsLONGDESC(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetHREF(TidyNode tnod)
Bool(TIDY_CALL * TidyOptCallback)(ctmbstr option, ctmbstr value)
Applications using TidyLib may want to augment command-line and configuration file options...
TIDY_STRUCT struct _TidyInputSource TidyInputSource
TidyInputSource - Delivers raw bytes of input.
ctmbstr TIDY_CALL tidyOptGetCurrPick(TidyDoc tdoc, TidyOptionId optId)
Get current pick list value for option by ID.
Bool TIDY_CALL tidyAttrIsOnMOUSEMOVE(TidyAttr tattr)
void TIDY_CALL tidyGeneralInfo(TidyDoc tdoc)
Write more general information about markup to current error sink.
TidyAttr TIDY_CALL tidyAttrGetUSEMAP(TidyNode tnod)
void TIDY_CALL tidyErrorSummary(TidyDoc tdoc)
Write more complete information about errors to current error sink.
Bool TIDY_CALL tidyOptCopyConfig(TidyDoc tdocTo, TidyDoc tdocFrom)
Copy current configuration settings from one document to another.
Bool TIDY_CALL tidyNodeIsH4(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrNext(TidyAttr tattr)
Opaque document datatype.
Bool TIDY_CALL tidyInitSink(TidyOutputSink *sink, void *snkData, TidyPutByteFunc pbFunc)
Facilitates user defined sinks by providing an entry point to marshal pointers-to-functions.
Bool TIDY_CALL tidyNodeIsSELECT(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsDATAFLD(TidyAttr tattr)
TidyAttr TIDY_CALL tidyAttrGetWIDTH(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsHR(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetALT(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsOBJECT(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetTYPE(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrFirst(TidyNode tnod)
uint TIDY_CALL tidyNodeLine(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsA(TidyNode tnod)
ctmbstr TIDY_CALL tidyReleaseDate(void)
Get release date (version) for current library.
Bool TIDY_CALL tidyAttrIsALT(TidyAttr tattr)
Bool TIDY_CALL tidyAttrIsTYPE(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsSPACER(TidyNode tnod)
int TIDY_CALL tidySaveFile(TidyDoc tdoc, ctmbstr filename)
Save to named file.
Bool TIDY_CALL tidySetPanicCall(TidyPanic fpanic)
Give Tidy an "out of memory" handler.
TidyOption TIDY_CALL tidyGetOption(TidyDoc tdoc, TidyOptionId optId)
Lookup option by ID.
Bool TIDY_CALL tidyNodeIsDATALIST(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsADDRESS(TidyNode tnod)
void TIDY_CALL tidyPutByte(TidyOutputSink *sink, uint byteValue)
Helper: send a byte to output.
Bool TIDY_CALL tidyNodeIsLISTING(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetROWSPAN(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsMENU(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetALINK(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsOPTGROUP(TidyNode tnod)
Opaque attribute datatype.
TidyOptionId TIDY_CALL tidyOptGetId(TidyOption opt)
Get ID of given Option.
TidyAttr TIDY_CALL tidyAttrGetOnMOUSEDOWN(TidyNode tnod)
int TIDY_CALL tidySetCharEncoding(TidyDoc tdoc, ctmbstr encnam)
Set the input/output character encoding for parsing markup.
Bool TIDY_CALL tidyNodeGetValue(TidyDoc tdoc, TidyNode tnod, TidyBuffer *buf)
Bool TIDY_CALL tidyNodeIsFORM(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsTR(TidyNode tnod)
TidyBuffer - A chunk of memory.
void(TIDY_CALL * TidyPPProgress)(TidyDoc tdoc, uint line, uint col, uint destLine)
Callback to track the progress of the pretting printing process.
Bool TIDY_CALL tidyOptParseValue(TidyDoc tdoc, ctmbstr optnam, ctmbstr val)
Set named Option value as a string.
TidyAttr TIDY_CALL tidyAttrGetSELECTED(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsB(TidyNode tnod)
TidyAttr TIDY_CALL tidyAttrGetTITLE(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsSPAN(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsUL(TidyNode tnod)
TidyNode TIDY_CALL tidyGetHead(TidyDoc tdoc)
Bool TIDY_CALL tidyAttrIsLANGUAGE(TidyAttr tattr)
int TIDY_CALL tidyOptSaveFile(TidyDoc tdoc, ctmbstr cfgfil)
Save current settings to named file.
Bool TIDY_CALL tidyNodeIsP(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsAREA(TidyNode tnod)
TIDY_STRUCT struct _TidyOutputSink TidyOutputSink
TidyOutputSink - accepts raw bytes of output.
Bool TIDY_CALL tidyNodeIsWBR(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsH3(TidyNode tnod)
ctmbstr TIDY_CALL tidyAttrValue(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsBLINK(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsH5(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsSTRIKE(TidyNode tnod)
Bool TIDY_CALL tidyNodeIsLINK(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsLANG(TidyAttr tattr)
ctmbstr TIDY_CALL tidyOptGetValue(TidyDoc tdoc, TidyOptionId optId)
Get string Option current value.
Bool TIDY_CALL tidyAttrIsFOR(TidyAttr tattr)
Bool TIDY_CALL tidyAttrIsISMAP(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsDIR(TidyNode tnod)
Bool TIDY_CALL tidyAttrIsOnMOUSEUP(TidyAttr tattr)
Bool TIDY_CALL tidyNodeIsTH(TidyNode tnod)
TidyOptionType
Option data types.
Bool TIDY_CALL tidyNodeIsEM(TidyNode tnod)