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