Click here to Skip to main content
13,046,375 members (112,803 online)
Click here to Skip to main content

Stats

138.8K views
87 bookmarked
Posted 5 Dec 2004

EfTidy: The Tidy Library Wrapper

, 6 Sep 2013
A free component for HTML parsing and cleaning
EfTidy.dll
EfTidy.def
EfTidy.dsp
EfTidyAttr.rgs
EfTidyNode.rgs
EfTidyps.def
tidyCom.rgs
tidyOption.rgs
TidyMyLib.dsp
EfTidy.dll
EfTidy
EfTidy.def
EfTidy.vcxproj.filters
EfTidy.vcxproj.user
EfTidyAttr.rgs
EfTidyNode.rgs
EfTidyps.def
tidyCom.rgs
tidyOption.rgs
TidyMyLib
TidyMyLib.vcxproj.filters
TidyMyLib.vcxproj.user
EfTidyCom
EfTidy
EfTidy.def
EfTidy.dsp
EfTidyAttr.rgs
EfTidyNode.rgs
EfTidyps.def
tidyCom.rgs
tidyOption.rgs
EfTidyCom.dsw
TidyLib
Src
Release
TidyLib.dsp
EFTidyCom132-Component
EfTidy.dll
Sample Project
EfTidy.dll
Using IEfTidyNode and iEfTidyAttr
VbTidynode.frm
vbtidynode.vbp
vbtidynode.vbw
Using ITidyCom & ItidyOption
FirstTidy.vbp
FirstTidy.vbw
Form1.frm
Form1.frx
EfTidy.dll
output
EfTidy.dll
TidyMyLib.dsp
EfTidy.def
EfTidy.dsp
EfTidyAttr.rgs
EfTidyNode.rgs
EfTidyps.def
tidyCom.rgs
tidyOption.rgs
EfTidyCom.dsw
EfTidyCom.dsw
~vssc
EfTidy.cpp.ver
EfTidy.h.ver
EfTidyAttr.cpp.ver
EfTidyAttr.h.ver
EfTidyNode.cpp.ver
EfTidyNode.h.ver
resource.h.ver
StdAfx.cpp.ver
StdAfx.h.ver
tidyCom.cpp.ver
tidyCom.h.ver
tidyOption.cpp.ver
tidyOption.h.ver
EfTidy.def
EfTidy.dsp
EfTidyAttr.rgs
EfTidyNode.rgs
EfTidyps.def
tidyCom.rgs
tidyOption.rgs
TidyMyLib.dsp
TidyMyLib.dsp
EfTidy.def
EfTidy.dsp
EfTidyAttr.rgs
EfTidyNode.rgs
EfTidyps.def
tidyCom.rgs
tidyOption.rgs
// EfTidyAttr.cpp : Implementation of CEfTidyAttr
#include "stdafx.h"
#include "EfTidy.h"
#include "EfTidyAttr.h"

/////////////////////////////////////////////////////////////////////////////
// CEfTidyAttr

STDMETHODIMP CEfTidyAttr::InterfaceSupportsErrorInfo(REFIID riid)
{
	if(IID_IEfTidyAttr==riid)
		return S_OK;
	
	return S_FALSE;
}

STDMETHODIMP CEfTidyAttr::get_Name(BSTR *pVal)
{
	ctmbstr tmbValue=tidyAttrName(this->m_TidyAttr);

	*pVal=CComBSTR(tmbValue).Detach();


	return S_OK;
}

STDMETHODIMP CEfTidyAttr::get_Value(BSTR *pVal)
{

	USES_CONVERSION;
	ctmbstr tmbValue=tidyAttrValue(this->m_TidyAttr);
    *pVal=CComBSTR(tmbValue).Detach();

	return S_OK;
}

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)

Share

About the Author

ThatsAlok
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!!!


For good 8 years he was Visual CPP MSMVP!

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 6 Sep 2013
Article Copyright 2004 by ThatsAlok
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid