git-svn-id: svn://10.65.10.50/branches/R_10_00@23289 c028cbd2-c16b-5b4b-a496-9718f37d4682
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/html/m_style.cpp
|
|
// Purpose: wxHtml module for parsing <style> tag
|
|
// Author: Vaclav Slavik
|
|
// RCS-ID: $Id: m_style.cpp 38788 2006-04-18 08:11:26Z ABX $
|
|
// Copyright: (c) 2002 Vaclav Slavik
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#if wxUSE_HTML && wxUSE_STREAMS
|
|
|
|
#ifndef WXPRECOMP
|
|
#endif
|
|
|
|
#include "wx/html/forcelnk.h"
|
|
#include "wx/html/m_templ.h"
|
|
|
|
FORCE_LINK_ME(m_style)
|
|
|
|
|
|
TAG_HANDLER_BEGIN(STYLE, "STYLE")
|
|
TAG_HANDLER_CONSTR(STYLE) { }
|
|
|
|
TAG_HANDLER_PROC(WXUNUSED(tag))
|
|
{
|
|
// VS: Ignore styles for now. We must have this handler present,
|
|
// because CSS style text would be rendered verbatim otherwise
|
|
return true;
|
|
}
|
|
|
|
TAG_HANDLER_END(STYLE)
|
|
|
|
|
|
TAGS_MODULE_BEGIN(StyleTag)
|
|
|
|
TAGS_MODULE_ADD(STYLE)
|
|
|
|
TAGS_MODULE_END(StyleTag)
|
|
|
|
#endif
|