]>
Commit | Line | Data |
---|---|---|
c44fdc94 | 1 | ///////////////////////////////////////////////////////////////////////////// |
93763ad5 | 2 | // Name: src/html/m_style.cpp |
c44fdc94 VS |
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 | ||
2b5f62a0 | 12 | #ifdef __BORLANDC__ |
93763ad5 | 13 | #pragma hdrstop |
c44fdc94 VS |
14 | #endif |
15 | ||
93763ad5 WS |
16 | #if wxUSE_HTML && wxUSE_STREAMS |
17 | ||
c44fdc94 VS |
18 | #ifndef WXPRECOMP |
19 | #endif | |
20 | ||
21 | #include "wx/html/forcelnk.h" | |
22 | #include "wx/html/m_templ.h" | |
23 | ||
24 | FORCE_LINK_ME(m_style) | |
25 | ||
26 | ||
27 | TAG_HANDLER_BEGIN(STYLE, "STYLE") | |
fc7a2a60 | 28 | TAG_HANDLER_CONSTR(STYLE) { } |
c44fdc94 | 29 | |
574c939e | 30 | TAG_HANDLER_PROC(WXUNUSED(tag)) |
c44fdc94 VS |
31 | { |
32 | // VS: Ignore styles for now. We must have this handler present, | |
33 | // because CSS style text would be rendered verbatim otherwise | |
d1da8872 | 34 | return true; |
c44fdc94 VS |
35 | } |
36 | ||
37 | TAG_HANDLER_END(STYLE) | |
38 | ||
39 | ||
40 | TAGS_MODULE_BEGIN(StyleTag) | |
41 | ||
42 | TAGS_MODULE_ADD(STYLE) | |
43 | ||
44 | TAGS_MODULE_END(StyleTag) | |
45 | ||
46 | #endif |