]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: src/html/m_style.cpp | |
3 | // Purpose: wxHtml module for parsing <style> tag | |
4 | // Author: Vaclav Slavik | |
5 | // Copyright: (c) 2002 Vaclav Slavik | |
6 | // Licence: wxWindows licence | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | #include "wx/wxprec.h" | |
10 | ||
11 | #ifdef __BORLANDC__ | |
12 | #pragma hdrstop | |
13 | #endif | |
14 | ||
15 | #if wxUSE_HTML && wxUSE_STREAMS | |
16 | ||
17 | #ifndef WX_PRECOMP | |
18 | #endif | |
19 | ||
20 | #include "wx/html/forcelnk.h" | |
21 | #include "wx/html/m_templ.h" | |
22 | ||
23 | FORCE_LINK_ME(m_style) | |
24 | ||
25 | ||
26 | TAG_HANDLER_BEGIN(STYLE, "STYLE") | |
27 | TAG_HANDLER_CONSTR(STYLE) { } | |
28 | ||
29 | TAG_HANDLER_PROC(WXUNUSED(tag)) | |
30 | { | |
31 | // VS: Ignore styles for now. We must have this handler present, | |
32 | // because CSS style text would be rendered verbatim otherwise | |
33 | return true; | |
34 | } | |
35 | ||
36 | TAG_HANDLER_END(STYLE) | |
37 | ||
38 | ||
39 | TAGS_MODULE_BEGIN(StyleTag) | |
40 | ||
41 | TAGS_MODULE_ADD(STYLE) | |
42 | ||
43 | TAGS_MODULE_END(StyleTag) | |
44 | ||
45 | #endif |