Click here to Skip to main content
15,893,588 members
Articles / Programming Languages / Visual Basic

EfTidy: The Tidy Library Wrapper

Rate me:
Please Sign up or sign in to vote.
4.91/5 (36 votes)
6 Sep 2013GPL310 min read 186.2K   5K   88  
A free component for HTML parsing and cleaning

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 7.00.0555 */
/* at Wed Dec 28 17:20:25 2011
 */
/* Compiler settings for EfTidy.idl:
    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 
    protocol : dce , ms_ext, c_ext, robust
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING(  ) */

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __EfTidy_h__
#define __EfTidy_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __ItidyCom_FWD_DEFINED__
#define __ItidyCom_FWD_DEFINED__
typedef interface ItidyCom ItidyCom;
#endif 	/* __ItidyCom_FWD_DEFINED__ */


#ifndef __ItidyOption_FWD_DEFINED__
#define __ItidyOption_FWD_DEFINED__
typedef interface ItidyOption ItidyOption;
#endif 	/* __ItidyOption_FWD_DEFINED__ */


#ifndef __IEfTidyNode_FWD_DEFINED__
#define __IEfTidyNode_FWD_DEFINED__
typedef interface IEfTidyNode IEfTidyNode;
#endif 	/* __IEfTidyNode_FWD_DEFINED__ */


#ifndef __IEfTidyAttr_FWD_DEFINED__
#define __IEfTidyAttr_FWD_DEFINED__
typedef interface IEfTidyAttr IEfTidyAttr;
#endif 	/* __IEfTidyAttr_FWD_DEFINED__ */


#ifndef __tidyCom_FWD_DEFINED__
#define __tidyCom_FWD_DEFINED__

#ifdef __cplusplus
typedef class tidyCom tidyCom;
#else
typedef struct tidyCom tidyCom;
#endif /* __cplusplus */

#endif 	/* __tidyCom_FWD_DEFINED__ */


#ifndef __tidyOption_FWD_DEFINED__
#define __tidyOption_FWD_DEFINED__

#ifdef __cplusplus
typedef class tidyOption tidyOption;
#else
typedef struct tidyOption tidyOption;
#endif /* __cplusplus */

#endif 	/* __tidyOption_FWD_DEFINED__ */


#ifndef __EfTidyNode_FWD_DEFINED__
#define __EfTidyNode_FWD_DEFINED__

#ifdef __cplusplus
typedef class EfTidyNode EfTidyNode;
#else
typedef struct EfTidyNode EfTidyNode;
#endif /* __cplusplus */

#endif 	/* __EfTidyNode_FWD_DEFINED__ */


#ifndef __EfTidyAttr_FWD_DEFINED__
#define __EfTidyAttr_FWD_DEFINED__

#ifdef __cplusplus
typedef class EfTidyAttr EfTidyAttr;
#else
typedef struct EfTidyAttr EfTidyAttr;
#endif /* __cplusplus */

#endif 	/* __EfTidyAttr_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


/* interface __MIDL_itf_EfTidy_0000_0000 */
/* [local] */ 

typedef /* [public] */ 
enum tagCharEncodingType
    {	ASCII	= 0,
	LATIN1	= ( ASCII + 1 ) ,
	RAW	= ( LATIN1 + 1 ) ,
	UTF8	= ( RAW + 1 ) ,
	ISO2022	= ( UTF8 + 1 ) ,
	MAC	= ( ISO2022 + 1 ) ,
	WIN1252	= ( MAC + 1 ) ,
	UTF16LE	= ( WIN1252 + 1 ) ,
	UTF16BE	= ( UTF16LE + 1 ) ,
	UTF16	= ( UTF16BE + 1 ) ,
	BIG5	= ( UTF16 + 1 ) ,
	SHIFTJIS	= ( BIG5 + 1 ) 
    } 	CharEncodingType;

typedef /* [public] */ 
enum tagOutputType
    {	XmlOut	= 0,
	XhtmlOut	= ( XmlOut + 1 ) ,
	HtmlOut	= ( XhtmlOut + 1 ) 
    } 	OutputType;

typedef /* [public] */ 
enum IndentScheme
    {	NOINDENT	= 0,
	INDENTBLOCKS	= ( NOINDENT + 1 ) ,
	AUTOINDENT	= ( INDENTBLOCKS + 1 ) 
    } 	IndentScheme;

typedef /* [public][public][public][public] */ 
enum __MIDL___MIDL_itf_EfTidy_0000_0000_0001
    {	DoctypeOmit	= 0,
	DoctypeAuto	= ( DoctypeOmit + 1 ) ,
	DoctypeStrict	= ( DoctypeAuto + 1 ) ,
	DoctypeLoose	= ( DoctypeStrict + 1 ) ,
	DoctypeUser	= ( DoctypeLoose + 1 ) 
    } 	DoctypeModes;

typedef /* [public][public][public] */ 
enum __MIDL___MIDL_itf_EfTidy_0000_0000_0002
    {	TIDY_ROOT	= 0,
	TIDY_HTML	= ( TIDY_ROOT + 1 ) ,
	TIDY_HEAD	= ( TIDY_HTML + 1 ) ,
	TIDY_BODY	= ( TIDY_HEAD + 1 ) 
    } 	EfTidyMainNode;






extern RPC_IF_HANDLE __MIDL_itf_EfTidy_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_EfTidy_0000_0000_v0_0_s_ifspec;

#ifndef __ItidyCom_INTERFACE_DEFINED__
#define __ItidyCom_INTERFACE_DEFINED__

/* interface ItidyCom */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_ItidyCom;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("BD053321-ADA9-4795-ABE6-55EEFBCC5D60")
    ItidyCom : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TidyFiletoMem( 
            /* [in] */ BSTR sourceFile,
            /* [retval][out] */ BSTR *result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TidyFileToFile( 
            /* [in] */ BSTR sourceFile,
            /* [in] */ BSTR destFile) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TidyMemToMem( 
            /* [in] */ BSTR sourceStr,
            /* [retval][out] */ BSTR *result) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TidyMemtoFile( 
            /* [in] */ BSTR buffer,
            /* [in] */ BSTR destFile) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalWarnings( 
            /* [retval][out] */ long *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TotalErrors( 
            /* [retval][out] */ long *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ErrorWarning( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Option( 
            /* [retval][out] */ ItidyOption **pVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EfTidyNode( 
            /* [in] */ EfTidyMainNode Type,
            /* [retval][out] */ IEfTidyNode **ppNewEfTidyNode) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ItidyComVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ItidyCom * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ItidyCom * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ItidyCom * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ItidyCom * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ItidyCom * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ItidyCom * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ItidyCom * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TidyFiletoMem )( 
            ItidyCom * This,
            /* [in] */ BSTR sourceFile,
            /* [retval][out] */ BSTR *result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TidyFileToFile )( 
            ItidyCom * This,
            /* [in] */ BSTR sourceFile,
            /* [in] */ BSTR destFile);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TidyMemToMem )( 
            ItidyCom * This,
            /* [in] */ BSTR sourceStr,
            /* [retval][out] */ BSTR *result);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TidyMemtoFile )( 
            ItidyCom * This,
            /* [in] */ BSTR buffer,
            /* [in] */ BSTR destFile);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalWarnings )( 
            ItidyCom * This,
            /* [retval][out] */ long *pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TotalErrors )( 
            ItidyCom * This,
            /* [retval][out] */ long *pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ErrorWarning )( 
            ItidyCom * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Option )( 
            ItidyCom * This,
            /* [retval][out] */ ItidyOption **pVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EfTidyNode )( 
            ItidyCom * This,
            /* [in] */ EfTidyMainNode Type,
            /* [retval][out] */ IEfTidyNode **ppNewEfTidyNode);
        
        END_INTERFACE
    } ItidyComVtbl;

    interface ItidyCom
    {
        CONST_VTBL struct ItidyComVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define ItidyCom_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define ItidyCom_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define ItidyCom_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define ItidyCom_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define ItidyCom_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define ItidyCom_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define ItidyCom_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define ItidyCom_TidyFiletoMem(This,sourceFile,result)	\
    ( (This)->lpVtbl -> TidyFiletoMem(This,sourceFile,result) ) 

#define ItidyCom_TidyFileToFile(This,sourceFile,destFile)	\
    ( (This)->lpVtbl -> TidyFileToFile(This,sourceFile,destFile) ) 

#define ItidyCom_TidyMemToMem(This,sourceStr,result)	\
    ( (This)->lpVtbl -> TidyMemToMem(This,sourceStr,result) ) 

#define ItidyCom_TidyMemtoFile(This,buffer,destFile)	\
    ( (This)->lpVtbl -> TidyMemtoFile(This,buffer,destFile) ) 

#define ItidyCom_get_TotalWarnings(This,pVal)	\
    ( (This)->lpVtbl -> get_TotalWarnings(This,pVal) ) 

#define ItidyCom_get_TotalErrors(This,pVal)	\
    ( (This)->lpVtbl -> get_TotalErrors(This,pVal) ) 

#define ItidyCom_get_ErrorWarning(This,pVal)	\
    ( (This)->lpVtbl -> get_ErrorWarning(This,pVal) ) 

#define ItidyCom_get_Option(This,pVal)	\
    ( (This)->lpVtbl -> get_Option(This,pVal) ) 

#define ItidyCom_EfTidyNode(This,Type,ppNewEfTidyNode)	\
    ( (This)->lpVtbl -> EfTidyNode(This,Type,ppNewEfTidyNode) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __ItidyCom_INTERFACE_DEFINED__ */


#ifndef __ItidyOption_INTERFACE_DEFINED__
#define __ItidyOption_INTERFACE_DEFINED__

/* interface ItidyOption */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_ItidyOption;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("F3651919-EF0D-4685-8A67-BE1F280288AD")
    ItidyOption : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadConfigFile( 
            /* [in] */ BSTR ConfigFile) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResetToDefaultValue( void) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Doctype( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Doctype( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TidyMark( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TidyMark( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HideEndTag( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HideEndTag( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EncloseText( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EncloseText( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EncloseBlockText( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EncloseBlockText( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LogicalEmphasis( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LogicalEmphasis( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DefaultAltText( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DefaultAltText( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Clean( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Clean( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DropFontTags( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DropFontTags( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DropEmptyParas( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DropEmptyParas( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Word2000( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Word2000( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FixBadComment( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FixBadComment( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FixBackslash( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FixBackslash( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NewEmptyTags( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NewEmptyTags( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NewInlineTags( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NewInlineTags( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NewBlockLevelTags( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NewBlockLevelTags( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NewPreTags( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NewPreTags( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Bare( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Bare( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DropPropAttr( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DropPropAttr( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutputType( 
            /* [retval][out] */ OutputType *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutputType( 
            /* [in] */ OutputType newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InputAsXML( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InputAsXML( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ADDXmlDecl( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ADDXmlDecl( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddXmlSpace( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AddXmlSpace( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AssumeXmlProcins( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AssumeXmlProcins( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CharEncoding( 
            /* [retval][out] */ CharEncodingType *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CharEncoding( 
            /* [in] */ CharEncodingType newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumericsEntities( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NumericsEntities( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuoteMarks( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_QuoteMarks( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuoteNBSP( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_QuoteNBSP( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuoteAmpersand( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_QuoteAmpersand( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InCharEncoding( 
            /* [retval][out] */ CharEncodingType *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InCharEncoding( 
            /* [in] */ CharEncodingType newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutCharEncoding( 
            /* [retval][out] */ CharEncodingType *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutCharEncoding( 
            /* [in] */ CharEncodingType newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutputTagInUpperCase( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutputTagInUpperCase( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutputAttrInUpperCase( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutputAttrInUpperCase( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WrapScriptlets( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WrapScriptlets( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WrapAttVals( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WrapAttVals( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WrapSection( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WrapSection( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WrapAsp( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WrapAsp( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WrapJste( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WrapJste( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WrapPhp( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WrapPhp( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Indent( 
            /* [retval][out] */ IndentScheme *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Indent( 
            /* [in] */ IndentScheme newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IndentSpace( 
            /* [retval][out] */ long *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_IndentSpace( 
            /* [in] */ long newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WrapLen( 
            /* [retval][out] */ long *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WrapLen( 
            /* [in] */ long newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TabSize( 
            /* [retval][out] */ long *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TabSize( 
            /* [in] */ long newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IndentAttributes( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_IndentAttributes( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BreakBeforeBR( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BreakBeforeBR( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LiteralAttribs( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LiteralAttribs( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MarkUp( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MarkUp( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ShowWarnings( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ShowWarnings( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Quiet( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Quiet( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_KeepTime( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_KeepTime( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ErrorFile( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ErrorFile( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GnuEmacs( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_GnuEmacs( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FixUrl( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FixUrl( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BodyOnly( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BodyOnly( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HideComments( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HideComments( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DoctypeMode( 
            /* [retval][out] */ DoctypeModes *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DoctypeMode( 
            /* [in] */ DoctypeModes newVal) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ItidyOptionVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ItidyOption * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ItidyOption * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ItidyOption * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ItidyOption * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ItidyOption * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ItidyOption * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ItidyOption * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadConfigFile )( 
            ItidyOption * This,
            /* [in] */ BSTR ConfigFile);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResetToDefaultValue )( 
            ItidyOption * This);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Doctype )( 
            ItidyOption * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Doctype )( 
            ItidyOption * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TidyMark )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TidyMark )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HideEndTag )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HideEndTag )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EncloseText )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EncloseText )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EncloseBlockText )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EncloseBlockText )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LogicalEmphasis )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LogicalEmphasis )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DefaultAltText )( 
            ItidyOption * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DefaultAltText )( 
            ItidyOption * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Clean )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Clean )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DropFontTags )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DropFontTags )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DropEmptyParas )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DropEmptyParas )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Word2000 )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Word2000 )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FixBadComment )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FixBadComment )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FixBackslash )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FixBackslash )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NewEmptyTags )( 
            ItidyOption * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NewEmptyTags )( 
            ItidyOption * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NewInlineTags )( 
            ItidyOption * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NewInlineTags )( 
            ItidyOption * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NewBlockLevelTags )( 
            ItidyOption * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NewBlockLevelTags )( 
            ItidyOption * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NewPreTags )( 
            ItidyOption * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NewPreTags )( 
            ItidyOption * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Bare )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Bare )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DropPropAttr )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DropPropAttr )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutputType )( 
            ItidyOption * This,
            /* [retval][out] */ OutputType *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutputType )( 
            ItidyOption * This,
            /* [in] */ OutputType newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InputAsXML )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InputAsXML )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ADDXmlDecl )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ADDXmlDecl )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddXmlSpace )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AddXmlSpace )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AssumeXmlProcins )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AssumeXmlProcins )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CharEncoding )( 
            ItidyOption * This,
            /* [retval][out] */ CharEncodingType *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CharEncoding )( 
            ItidyOption * This,
            /* [in] */ CharEncodingType newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumericsEntities )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NumericsEntities )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuoteMarks )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuoteMarks )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuoteNBSP )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuoteNBSP )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuoteAmpersand )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuoteAmpersand )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InCharEncoding )( 
            ItidyOption * This,
            /* [retval][out] */ CharEncodingType *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InCharEncoding )( 
            ItidyOption * This,
            /* [in] */ CharEncodingType newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutCharEncoding )( 
            ItidyOption * This,
            /* [retval][out] */ CharEncodingType *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutCharEncoding )( 
            ItidyOption * This,
            /* [in] */ CharEncodingType newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutputTagInUpperCase )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutputTagInUpperCase )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutputAttrInUpperCase )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutputAttrInUpperCase )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WrapScriptlets )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WrapScriptlets )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WrapAttVals )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WrapAttVals )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WrapSection )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WrapSection )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WrapAsp )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WrapAsp )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WrapJste )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WrapJste )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WrapPhp )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WrapPhp )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Indent )( 
            ItidyOption * This,
            /* [retval][out] */ IndentScheme *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Indent )( 
            ItidyOption * This,
            /* [in] */ IndentScheme newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IndentSpace )( 
            ItidyOption * This,
            /* [retval][out] */ long *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_IndentSpace )( 
            ItidyOption * This,
            /* [in] */ long newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WrapLen )( 
            ItidyOption * This,
            /* [retval][out] */ long *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WrapLen )( 
            ItidyOption * This,
            /* [in] */ long newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TabSize )( 
            ItidyOption * This,
            /* [retval][out] */ long *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TabSize )( 
            ItidyOption * This,
            /* [in] */ long newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IndentAttributes )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_IndentAttributes )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BreakBeforeBR )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BreakBeforeBR )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LiteralAttribs )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LiteralAttribs )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MarkUp )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MarkUp )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ShowWarnings )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ShowWarnings )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Quiet )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Quiet )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_KeepTime )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_KeepTime )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ErrorFile )( 
            ItidyOption * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ErrorFile )( 
            ItidyOption * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GnuEmacs )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_GnuEmacs )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FixUrl )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FixUrl )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BodyOnly )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BodyOnly )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HideComments )( 
            ItidyOption * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HideComments )( 
            ItidyOption * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DoctypeMode )( 
            ItidyOption * This,
            /* [retval][out] */ DoctypeModes *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DoctypeMode )( 
            ItidyOption * This,
            /* [in] */ DoctypeModes newVal);
        
        END_INTERFACE
    } ItidyOptionVtbl;

    interface ItidyOption
    {
        CONST_VTBL struct ItidyOptionVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define ItidyOption_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define ItidyOption_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define ItidyOption_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define ItidyOption_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define ItidyOption_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define ItidyOption_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define ItidyOption_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define ItidyOption_LoadConfigFile(This,ConfigFile)	\
    ( (This)->lpVtbl -> LoadConfigFile(This,ConfigFile) ) 

#define ItidyOption_ResetToDefaultValue(This)	\
    ( (This)->lpVtbl -> ResetToDefaultValue(This) ) 

#define ItidyOption_get_Doctype(This,pVal)	\
    ( (This)->lpVtbl -> get_Doctype(This,pVal) ) 

#define ItidyOption_put_Doctype(This,newVal)	\
    ( (This)->lpVtbl -> put_Doctype(This,newVal) ) 

#define ItidyOption_get_TidyMark(This,pVal)	\
    ( (This)->lpVtbl -> get_TidyMark(This,pVal) ) 

#define ItidyOption_put_TidyMark(This,newVal)	\
    ( (This)->lpVtbl -> put_TidyMark(This,newVal) ) 

#define ItidyOption_get_HideEndTag(This,pVal)	\
    ( (This)->lpVtbl -> get_HideEndTag(This,pVal) ) 

#define ItidyOption_put_HideEndTag(This,newVal)	\
    ( (This)->lpVtbl -> put_HideEndTag(This,newVal) ) 

#define ItidyOption_get_EncloseText(This,pVal)	\
    ( (This)->lpVtbl -> get_EncloseText(This,pVal) ) 

#define ItidyOption_put_EncloseText(This,newVal)	\
    ( (This)->lpVtbl -> put_EncloseText(This,newVal) ) 

#define ItidyOption_get_EncloseBlockText(This,pVal)	\
    ( (This)->lpVtbl -> get_EncloseBlockText(This,pVal) ) 

#define ItidyOption_put_EncloseBlockText(This,newVal)	\
    ( (This)->lpVtbl -> put_EncloseBlockText(This,newVal) ) 

#define ItidyOption_get_LogicalEmphasis(This,pVal)	\
    ( (This)->lpVtbl -> get_LogicalEmphasis(This,pVal) ) 

#define ItidyOption_put_LogicalEmphasis(This,newVal)	\
    ( (This)->lpVtbl -> put_LogicalEmphasis(This,newVal) ) 

#define ItidyOption_get_DefaultAltText(This,pVal)	\
    ( (This)->lpVtbl -> get_DefaultAltText(This,pVal) ) 

#define ItidyOption_put_DefaultAltText(This,newVal)	\
    ( (This)->lpVtbl -> put_DefaultAltText(This,newVal) ) 

#define ItidyOption_get_Clean(This,pVal)	\
    ( (This)->lpVtbl -> get_Clean(This,pVal) ) 

#define ItidyOption_put_Clean(This,newVal)	\
    ( (This)->lpVtbl -> put_Clean(This,newVal) ) 

#define ItidyOption_get_DropFontTags(This,pVal)	\
    ( (This)->lpVtbl -> get_DropFontTags(This,pVal) ) 

#define ItidyOption_put_DropFontTags(This,newVal)	\
    ( (This)->lpVtbl -> put_DropFontTags(This,newVal) ) 

#define ItidyOption_get_DropEmptyParas(This,pVal)	\
    ( (This)->lpVtbl -> get_DropEmptyParas(This,pVal) ) 

#define ItidyOption_put_DropEmptyParas(This,newVal)	\
    ( (This)->lpVtbl -> put_DropEmptyParas(This,newVal) ) 

#define ItidyOption_get_Word2000(This,pVal)	\
    ( (This)->lpVtbl -> get_Word2000(This,pVal) ) 

#define ItidyOption_put_Word2000(This,newVal)	\
    ( (This)->lpVtbl -> put_Word2000(This,newVal) ) 

#define ItidyOption_get_FixBadComment(This,pVal)	\
    ( (This)->lpVtbl -> get_FixBadComment(This,pVal) ) 

#define ItidyOption_put_FixBadComment(This,newVal)	\
    ( (This)->lpVtbl -> put_FixBadComment(This,newVal) ) 

#define ItidyOption_get_FixBackslash(This,pVal)	\
    ( (This)->lpVtbl -> get_FixBackslash(This,pVal) ) 

#define ItidyOption_put_FixBackslash(This,newVal)	\
    ( (This)->lpVtbl -> put_FixBackslash(This,newVal) ) 

#define ItidyOption_get_NewEmptyTags(This,pVal)	\
    ( (This)->lpVtbl -> get_NewEmptyTags(This,pVal) ) 

#define ItidyOption_put_NewEmptyTags(This,newVal)	\
    ( (This)->lpVtbl -> put_NewEmptyTags(This,newVal) ) 

#define ItidyOption_get_NewInlineTags(This,pVal)	\
    ( (This)->lpVtbl -> get_NewInlineTags(This,pVal) ) 

#define ItidyOption_put_NewInlineTags(This,newVal)	\
    ( (This)->lpVtbl -> put_NewInlineTags(This,newVal) ) 

#define ItidyOption_get_NewBlockLevelTags(This,pVal)	\
    ( (This)->lpVtbl -> get_NewBlockLevelTags(This,pVal) ) 

#define ItidyOption_put_NewBlockLevelTags(This,newVal)	\
    ( (This)->lpVtbl -> put_NewBlockLevelTags(This,newVal) ) 

#define ItidyOption_get_NewPreTags(This,pVal)	\
    ( (This)->lpVtbl -> get_NewPreTags(This,pVal) ) 

#define ItidyOption_put_NewPreTags(This,newVal)	\
    ( (This)->lpVtbl -> put_NewPreTags(This,newVal) ) 

#define ItidyOption_get_Bare(This,pVal)	\
    ( (This)->lpVtbl -> get_Bare(This,pVal) ) 

#define ItidyOption_put_Bare(This,newVal)	\
    ( (This)->lpVtbl -> put_Bare(This,newVal) ) 

#define ItidyOption_get_DropPropAttr(This,pVal)	\
    ( (This)->lpVtbl -> get_DropPropAttr(This,pVal) ) 

#define ItidyOption_put_DropPropAttr(This,newVal)	\
    ( (This)->lpVtbl -> put_DropPropAttr(This,newVal) ) 

#define ItidyOption_get_OutputType(This,pVal)	\
    ( (This)->lpVtbl -> get_OutputType(This,pVal) ) 

#define ItidyOption_put_OutputType(This,newVal)	\
    ( (This)->lpVtbl -> put_OutputType(This,newVal) ) 

#define ItidyOption_get_InputAsXML(This,pVal)	\
    ( (This)->lpVtbl -> get_InputAsXML(This,pVal) ) 

#define ItidyOption_put_InputAsXML(This,newVal)	\
    ( (This)->lpVtbl -> put_InputAsXML(This,newVal) ) 

#define ItidyOption_get_ADDXmlDecl(This,pVal)	\
    ( (This)->lpVtbl -> get_ADDXmlDecl(This,pVal) ) 

#define ItidyOption_put_ADDXmlDecl(This,newVal)	\
    ( (This)->lpVtbl -> put_ADDXmlDecl(This,newVal) ) 

#define ItidyOption_get_AddXmlSpace(This,pVal)	\
    ( (This)->lpVtbl -> get_AddXmlSpace(This,pVal) ) 

#define ItidyOption_put_AddXmlSpace(This,newVal)	\
    ( (This)->lpVtbl -> put_AddXmlSpace(This,newVal) ) 

#define ItidyOption_get_AssumeXmlProcins(This,pVal)	\
    ( (This)->lpVtbl -> get_AssumeXmlProcins(This,pVal) ) 

#define ItidyOption_put_AssumeXmlProcins(This,newVal)	\
    ( (This)->lpVtbl -> put_AssumeXmlProcins(This,newVal) ) 

#define ItidyOption_get_CharEncoding(This,pVal)	\
    ( (This)->lpVtbl -> get_CharEncoding(This,pVal) ) 

#define ItidyOption_put_CharEncoding(This,newVal)	\
    ( (This)->lpVtbl -> put_CharEncoding(This,newVal) ) 

#define ItidyOption_get_NumericsEntities(This,pVal)	\
    ( (This)->lpVtbl -> get_NumericsEntities(This,pVal) ) 

#define ItidyOption_put_NumericsEntities(This,newVal)	\
    ( (This)->lpVtbl -> put_NumericsEntities(This,newVal) ) 

#define ItidyOption_get_QuoteMarks(This,pVal)	\
    ( (This)->lpVtbl -> get_QuoteMarks(This,pVal) ) 

#define ItidyOption_put_QuoteMarks(This,newVal)	\
    ( (This)->lpVtbl -> put_QuoteMarks(This,newVal) ) 

#define ItidyOption_get_QuoteNBSP(This,pVal)	\
    ( (This)->lpVtbl -> get_QuoteNBSP(This,pVal) ) 

#define ItidyOption_put_QuoteNBSP(This,newVal)	\
    ( (This)->lpVtbl -> put_QuoteNBSP(This,newVal) ) 

#define ItidyOption_get_QuoteAmpersand(This,pVal)	\
    ( (This)->lpVtbl -> get_QuoteAmpersand(This,pVal) ) 

#define ItidyOption_put_QuoteAmpersand(This,newVal)	\
    ( (This)->lpVtbl -> put_QuoteAmpersand(This,newVal) ) 

#define ItidyOption_get_InCharEncoding(This,pVal)	\
    ( (This)->lpVtbl -> get_InCharEncoding(This,pVal) ) 

#define ItidyOption_put_InCharEncoding(This,newVal)	\
    ( (This)->lpVtbl -> put_InCharEncoding(This,newVal) ) 

#define ItidyOption_get_OutCharEncoding(This,pVal)	\
    ( (This)->lpVtbl -> get_OutCharEncoding(This,pVal) ) 

#define ItidyOption_put_OutCharEncoding(This,newVal)	\
    ( (This)->lpVtbl -> put_OutCharEncoding(This,newVal) ) 

#define ItidyOption_get_OutputTagInUpperCase(This,pVal)	\
    ( (This)->lpVtbl -> get_OutputTagInUpperCase(This,pVal) ) 

#define ItidyOption_put_OutputTagInUpperCase(This,newVal)	\
    ( (This)->lpVtbl -> put_OutputTagInUpperCase(This,newVal) ) 

#define ItidyOption_get_OutputAttrInUpperCase(This,pVal)	\
    ( (This)->lpVtbl -> get_OutputAttrInUpperCase(This,pVal) ) 

#define ItidyOption_put_OutputAttrInUpperCase(This,newVal)	\
    ( (This)->lpVtbl -> put_OutputAttrInUpperCase(This,newVal) ) 

#define ItidyOption_get_WrapScriptlets(This,pVal)	\
    ( (This)->lpVtbl -> get_WrapScriptlets(This,pVal) ) 

#define ItidyOption_put_WrapScriptlets(This,newVal)	\
    ( (This)->lpVtbl -> put_WrapScriptlets(This,newVal) ) 

#define ItidyOption_get_WrapAttVals(This,pVal)	\
    ( (This)->lpVtbl -> get_WrapAttVals(This,pVal) ) 

#define ItidyOption_put_WrapAttVals(This,newVal)	\
    ( (This)->lpVtbl -> put_WrapAttVals(This,newVal) ) 

#define ItidyOption_get_WrapSection(This,pVal)	\
    ( (This)->lpVtbl -> get_WrapSection(This,pVal) ) 

#define ItidyOption_put_WrapSection(This,newVal)	\
    ( (This)->lpVtbl -> put_WrapSection(This,newVal) ) 

#define ItidyOption_get_WrapAsp(This,pVal)	\
    ( (This)->lpVtbl -> get_WrapAsp(This,pVal) ) 

#define ItidyOption_put_WrapAsp(This,newVal)	\
    ( (This)->lpVtbl -> put_WrapAsp(This,newVal) ) 

#define ItidyOption_get_WrapJste(This,pVal)	\
    ( (This)->lpVtbl -> get_WrapJste(This,pVal) ) 

#define ItidyOption_put_WrapJste(This,newVal)	\
    ( (This)->lpVtbl -> put_WrapJste(This,newVal) ) 

#define ItidyOption_get_WrapPhp(This,pVal)	\
    ( (This)->lpVtbl -> get_WrapPhp(This,pVal) ) 

#define ItidyOption_put_WrapPhp(This,newVal)	\
    ( (This)->lpVtbl -> put_WrapPhp(This,newVal) ) 

#define ItidyOption_get_Indent(This,pVal)	\
    ( (This)->lpVtbl -> get_Indent(This,pVal) ) 

#define ItidyOption_put_Indent(This,newVal)	\
    ( (This)->lpVtbl -> put_Indent(This,newVal) ) 

#define ItidyOption_get_IndentSpace(This,pVal)	\
    ( (This)->lpVtbl -> get_IndentSpace(This,pVal) ) 

#define ItidyOption_put_IndentSpace(This,newVal)	\
    ( (This)->lpVtbl -> put_IndentSpace(This,newVal) ) 

#define ItidyOption_get_WrapLen(This,pVal)	\
    ( (This)->lpVtbl -> get_WrapLen(This,pVal) ) 

#define ItidyOption_put_WrapLen(This,newVal)	\
    ( (This)->lpVtbl -> put_WrapLen(This,newVal) ) 

#define ItidyOption_get_TabSize(This,pVal)	\
    ( (This)->lpVtbl -> get_TabSize(This,pVal) ) 

#define ItidyOption_put_TabSize(This,newVal)	\
    ( (This)->lpVtbl -> put_TabSize(This,newVal) ) 

#define ItidyOption_get_IndentAttributes(This,pVal)	\
    ( (This)->lpVtbl -> get_IndentAttributes(This,pVal) ) 

#define ItidyOption_put_IndentAttributes(This,newVal)	\
    ( (This)->lpVtbl -> put_IndentAttributes(This,newVal) ) 

#define ItidyOption_get_BreakBeforeBR(This,pVal)	\
    ( (This)->lpVtbl -> get_BreakBeforeBR(This,pVal) ) 

#define ItidyOption_put_BreakBeforeBR(This,newVal)	\
    ( (This)->lpVtbl -> put_BreakBeforeBR(This,newVal) ) 

#define ItidyOption_get_LiteralAttribs(This,pVal)	\
    ( (This)->lpVtbl -> get_LiteralAttribs(This,pVal) ) 

#define ItidyOption_put_LiteralAttribs(This,newVal)	\
    ( (This)->lpVtbl -> put_LiteralAttribs(This,newVal) ) 

#define ItidyOption_get_MarkUp(This,pVal)	\
    ( (This)->lpVtbl -> get_MarkUp(This,pVal) ) 

#define ItidyOption_put_MarkUp(This,newVal)	\
    ( (This)->lpVtbl -> put_MarkUp(This,newVal) ) 

#define ItidyOption_get_ShowWarnings(This,pVal)	\
    ( (This)->lpVtbl -> get_ShowWarnings(This,pVal) ) 

#define ItidyOption_put_ShowWarnings(This,newVal)	\
    ( (This)->lpVtbl -> put_ShowWarnings(This,newVal) ) 

#define ItidyOption_get_Quiet(This,pVal)	\
    ( (This)->lpVtbl -> get_Quiet(This,pVal) ) 

#define ItidyOption_put_Quiet(This,newVal)	\
    ( (This)->lpVtbl -> put_Quiet(This,newVal) ) 

#define ItidyOption_get_KeepTime(This,pVal)	\
    ( (This)->lpVtbl -> get_KeepTime(This,pVal) ) 

#define ItidyOption_put_KeepTime(This,newVal)	\
    ( (This)->lpVtbl -> put_KeepTime(This,newVal) ) 

#define ItidyOption_get_ErrorFile(This,pVal)	\
    ( (This)->lpVtbl -> get_ErrorFile(This,pVal) ) 

#define ItidyOption_put_ErrorFile(This,newVal)	\
    ( (This)->lpVtbl -> put_ErrorFile(This,newVal) ) 

#define ItidyOption_get_GnuEmacs(This,pVal)	\
    ( (This)->lpVtbl -> get_GnuEmacs(This,pVal) ) 

#define ItidyOption_put_GnuEmacs(This,newVal)	\
    ( (This)->lpVtbl -> put_GnuEmacs(This,newVal) ) 

#define ItidyOption_get_FixUrl(This,pVal)	\
    ( (This)->lpVtbl -> get_FixUrl(This,pVal) ) 

#define ItidyOption_put_FixUrl(This,newVal)	\
    ( (This)->lpVtbl -> put_FixUrl(This,newVal) ) 

#define ItidyOption_get_BodyOnly(This,pVal)	\
    ( (This)->lpVtbl -> get_BodyOnly(This,pVal) ) 

#define ItidyOption_put_BodyOnly(This,newVal)	\
    ( (This)->lpVtbl -> put_BodyOnly(This,newVal) ) 

#define ItidyOption_get_HideComments(This,pVal)	\
    ( (This)->lpVtbl -> get_HideComments(This,pVal) ) 

#define ItidyOption_put_HideComments(This,newVal)	\
    ( (This)->lpVtbl -> put_HideComments(This,newVal) ) 

#define ItidyOption_get_DoctypeMode(This,pVal)	\
    ( (This)->lpVtbl -> get_DoctypeMode(This,pVal) ) 

#define ItidyOption_put_DoctypeMode(This,newVal)	\
    ( (This)->lpVtbl -> put_DoctypeMode(This,newVal) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __ItidyOption_INTERFACE_DEFINED__ */


#ifndef __IEfTidyNode_INTERFACE_DEFINED__
#define __IEfTidyNode_INTERFACE_DEFINED__

/* interface IEfTidyNode */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IEfTidyNode;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("AD02C5B4-4F57-48CE-8EBF-FDFCC91C6827")
    IEfTidyNode : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFirstChildNode( 
            /* [retval][out] */ IEfTidyNode **ppNewNode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNextChildNode( 
            /* [retval][out] */ IEfTidyNode **ppNewNode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFirstAttribute( 
            /* [retval][out] */ IEfTidyAttr **ppNewAttr) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNextAttribute( 
            /* [retval][out] */ IEfTidyAttr **ppNewAttr) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IEfTidyNodeVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IEfTidyNode * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IEfTidyNode * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IEfTidyNode * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IEfTidyNode * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IEfTidyNode * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IEfTidyNode * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IEfTidyNode * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
            IEfTidyNode * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFirstChildNode )( 
            IEfTidyNode * This,
            /* [retval][out] */ IEfTidyNode **ppNewNode);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetNextChildNode )( 
            IEfTidyNode * This,
            /* [retval][out] */ IEfTidyNode **ppNewNode);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFirstAttribute )( 
            IEfTidyNode * This,
            /* [retval][out] */ IEfTidyAttr **ppNewAttr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetNextAttribute )( 
            IEfTidyNode * This,
            /* [retval][out] */ IEfTidyAttr **ppNewAttr);
        
        END_INTERFACE
    } IEfTidyNodeVtbl;

    interface IEfTidyNode
    {
        CONST_VTBL struct IEfTidyNodeVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IEfTidyNode_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IEfTidyNode_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IEfTidyNode_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IEfTidyNode_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define IEfTidyNode_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define IEfTidyNode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define IEfTidyNode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define IEfTidyNode_get_Name(This,pVal)	\
    ( (This)->lpVtbl -> get_Name(This,pVal) ) 

#define IEfTidyNode_GetFirstChildNode(This,ppNewNode)	\
    ( (This)->lpVtbl -> GetFirstChildNode(This,ppNewNode) ) 

#define IEfTidyNode_GetNextChildNode(This,ppNewNode)	\
    ( (This)->lpVtbl -> GetNextChildNode(This,ppNewNode) ) 

#define IEfTidyNode_GetFirstAttribute(This,ppNewAttr)	\
    ( (This)->lpVtbl -> GetFirstAttribute(This,ppNewAttr) ) 

#define IEfTidyNode_GetNextAttribute(This,ppNewAttr)	\
    ( (This)->lpVtbl -> GetNextAttribute(This,ppNewAttr) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IEfTidyNode_INTERFACE_DEFINED__ */


#ifndef __IEfTidyAttr_INTERFACE_DEFINED__
#define __IEfTidyAttr_INTERFACE_DEFINED__

/* interface IEfTidyAttr */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IEfTidyAttr;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("FCDBA5A8-E9E6-49B2-A7F7-BE7204A6D8E7")
    IEfTidyAttr : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IEfTidyAttrVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IEfTidyAttr * This,
            /* [in] */ REFIID riid,
            /* [annotation][iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IEfTidyAttr * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IEfTidyAttr * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IEfTidyAttr * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IEfTidyAttr * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IEfTidyAttr * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IEfTidyAttr * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
            IEfTidyAttr * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
            IEfTidyAttr * This,
            /* [retval][out] */ BSTR *pVal);
        
        END_INTERFACE
    } IEfTidyAttrVtbl;

    interface IEfTidyAttr
    {
        CONST_VTBL struct IEfTidyAttrVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IEfTidyAttr_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IEfTidyAttr_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IEfTidyAttr_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IEfTidyAttr_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define IEfTidyAttr_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define IEfTidyAttr_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define IEfTidyAttr_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define IEfTidyAttr_get_Name(This,pVal)	\
    ( (This)->lpVtbl -> get_Name(This,pVal) ) 

#define IEfTidyAttr_get_Value(This,pVal)	\
    ( (This)->lpVtbl -> get_Value(This,pVal) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IEfTidyAttr_INTERFACE_DEFINED__ */



#ifndef __EFTIDYLib_LIBRARY_DEFINED__
#define __EFTIDYLib_LIBRARY_DEFINED__

/* library EFTIDYLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_EFTIDYLib;

EXTERN_C const CLSID CLSID_tidyCom;

#ifdef __cplusplus

class DECLSPEC_UUID("C7CB7E40-B6ED-4400-B1BD-4F84CB6D3CB0")
tidyCom;
#endif

EXTERN_C const CLSID CLSID_tidyOption;

#ifdef __cplusplus

class DECLSPEC_UUID("27185B44-3FBD-40BE-B6E9-BECD53FF19B9")
tidyOption;
#endif

EXTERN_C const CLSID CLSID_EfTidyNode;

#ifdef __cplusplus

class DECLSPEC_UUID("CF1F556D-8C33-421B-A6CA-D01207655A6D")
EfTidyNode;
#endif

EXTERN_C const CLSID CLSID_EfTidyAttr;

#ifdef __cplusplus

class DECLSPEC_UUID("329BE6B4-8E18-41E5-A565-CBA306071361")
EfTidyAttr;
#endif
#endif /* __EFTIDYLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior)
India India
He used to have biography here Smile | :) , but now he will hire someone (for free offcourse Big Grin | :-D ), Who writes his biography on his behalf Smile | :)

He is Great Fan of Mr. Johan Rosengren (his idol),Lim Bio Liong, Nishant S and DavidCrow and Believes that, he will EXCEL in his life by following there steps!!!

He started with Visual C++ then moved to C# then he become language agnostic, you give him task,tell him the language or platform, he we start immediately, if he knows the language otherwise he quickly learn it and start contributing productively

Last but not the least, For good 8 years he was Visual CPP MSMVP!

Comments and Discussions