]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/activex/wxie/doxydoc/iehtmlwin_8h-source.html
af554942aaaebd5823f6c3f6bbaf301e06daf729
[wxWidgets.git] / wxPython / contrib / activex / wxie / doxydoc / iehtmlwin_8h-source.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>iehtmlwin.h Source File</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.3-rc3 -->
7 <center>
8 <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
9 <hr><h1>iehtmlwin.h</h1><a href="iehtmlwin_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
10 00004 <span class="preprocessor">#ifndef _IEHTMLWIN_H_</span>
11 00005 <span class="preprocessor"></span><span class="preprocessor">#define _IEHTMLWIN_H_</span>
12 00006 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4101 4786)</span>
13 00007 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4786)</span>
14 00008 <span class="preprocessor"></span>
15 00009
16 00010 <span class="preprocessor">#include &lt;wx/setup.h&gt;</span>
17 00011 <span class="preprocessor">#include &lt;wx/wx.h&gt;</span>
18 00012 <span class="preprocessor">#include &lt;exdisp.h&gt;</span>
19 00013 <span class="preprocessor">#include &lt;iostream&gt;</span>
20 00014 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
21 00015
22 00016 <span class="preprocessor">#include "<a class="code" href="wxactivex_8h.html">wxactivex.h</a>"</span>
23 00017
24 00018
25 00019 <span class="keyword">enum</span> wxIEHtmlRefreshLevel
26 00020 {
27 00021 wxIEHTML_REFRESH_NORMAL = 0,
28 00022 wxIEHTML_REFRESH_IFEXPIRED = 1,
29 00023 wxIEHTML_REFRESH_CONTINUE = 2,
30 00024 wxIEHTML_REFRESH_COMPLETELY = 3
31 00025 };
32 00026
33 00027 <span class="keyword">class </span>IStreamAdaptorBase;
34 00028
35 00029 <span class="keyword">class </span>wxIEHtmlWin : <span class="keyword">public</span> <a class="code" href="classwxActiveX.html">wxActiveX</a>
36 00030 {
37 00031 <span class="keyword">public</span>:
38 00032 wxIEHtmlWin(wxWindow * parent, wxWindowID id = -1,
39 00033 <span class="keyword">const</span> wxPoint&amp; pos = wxDefaultPosition,
40 00034 <span class="keyword">const</span> wxSize&amp; size = wxDefaultSize,
41 00035 <span class="keywordtype">long</span> style = 0,
42 00036 <span class="keyword">const</span> wxString&amp; name = wxPanelNameStr);
43 00037 <span class="keyword">virtual</span> ~wxIEHtmlWin();
44 00038
45 00039 <span class="keywordtype">void</span> LoadUrl(<span class="keyword">const</span> wxString&amp;);
46 00040 <span class="keywordtype">bool</span> LoadString(wxString html);
47 00041 <span class="keywordtype">bool</span> LoadStream(istream *strm);
48 00042 <span class="keywordtype">bool</span> LoadStream(wxInputStream *is);
49 00043
50 00044 <span class="keywordtype">void</span> SetCharset(wxString charset);
51 00045 <span class="keywordtype">void</span> SetEditMode(<span class="keywordtype">bool</span> seton);
52 00046 <span class="keywordtype">bool</span> GetEditMode();
53 00047 wxString GetStringSelection(<span class="keywordtype">bool</span> asHTML = <span class="keyword">false</span>);
54 00048 wxString GetText(<span class="keywordtype">bool</span> asHTML = <span class="keyword">false</span>);
55 00049
56 00050 <span class="keywordtype">bool</span> GoBack();
57 00051 <span class="keywordtype">bool</span> GoForward();
58 00052 <span class="keywordtype">bool</span> GoHome();
59 00053 <span class="keywordtype">bool</span> GoSearch();
60 00054 <span class="keywordtype">bool</span> Refresh(wxIEHtmlRefreshLevel level);
61 00055 <span class="keywordtype">bool</span> Stop();
62 00056
63 00057 DECLARE_EVENT_TABLE();
64 00058
65 00059 <span class="keyword">protected</span>:
66 00060 <span class="keywordtype">void</span> SetupBrowser();
67 00061 <span class="keywordtype">bool</span> LoadStream(IStreamAdaptorBase *pstrm);
68 00062
69 00063 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface&lt;IWebBrowser2&gt;</a> m_webBrowser;
70 00064 };
71 00065
72 00066 <span class="preprocessor">#endif </span><span class="comment">/* _IEHTMLWIN_H_ */</span>
73 </pre></div><hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
74 <a href="http://www.doxygen.org/index.html">
75 <img src="doxygen.png" alt="doxygen" align="middle" border=0
76 width=110 height=53></a>1.3-rc3 </small></address>
77 </body>
78 </html>