*** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
9
samples/html/test/Makefile.am
Normal file
9
samples/html/test/Makefile.am
Normal file
@@ -0,0 +1,9 @@
|
||||
AUTOMAKE_OPTIONS = 1.3 no-dependencies
|
||||
|
||||
SUFFIXES = .cpp
|
||||
|
||||
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
|
||||
|
||||
noinst_PROGRAMS = test
|
||||
|
||||
test_SOURCES = test.cpp
|
2474
samples/html/test/f.html
Normal file
2474
samples/html/test/f.html
Normal file
File diff suppressed because it is too large
Load Diff
144
samples/html/test/fft.html
Normal file
144
samples/html/test/fft.html
Normal file
@@ -0,0 +1,144 @@
|
||||
<head>
|
||||
<META >
|
||||
<META NAME="Author" CONTENT="Vaclav Slavik">
|
||||
<META NAME="Keywords" CONTENT="wxWindows,HTML widget,HTML,free,Unix,Linux,Windows,cross-platform,wxHTML,LGPL">
|
||||
<TITLE>wxHTML : wxWindows HTML library</TITLE>
|
||||
</head>
|
||||
|
||||
<body TEXT="#000000" BGCOLOR="#8D99BC" LINK="#51188E" VLINK="#51188E" ALINK="#FF0000">
|
||||
|
||||
<!-- TITLE BAR -->
|
||||
|
||||
<center>
|
||||
<img src="pic/logo.png">
|
||||
<p>
|
||||
[ Intro & News ]
|
||||
<a href="features.html.iso-8859-1">[ Features ]</a>
|
||||
<a href="downloads.html.iso-8859-1">[ Download ]</a>
|
||||
<a href="licence.html.iso-8859-1">[ Licence ]</a>
|
||||
<a href="screenshots.html.iso-8859-1">[ Screenshots ]</a>
|
||||
<a href="links.html.iso-8859-1">[ Links & Apps ]</a>
|
||||
</center>
|
||||
|
||||
|
||||
<!-- PAGE -->
|
||||
|
||||
|
||||
<!-- HEADLINE -->
|
||||
|
||||
<p align=center><b><font color="#9B3030">
|
||||
|
||||
<center><table bgcolor="#00000" width="60%" cellpadding=1>
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing=1 cellpadding=0><tr><td bgcolor="#7783A2" valign=center><font color="#FFFFFF" size=+2><center>
|
||||
|
||||
Latest release 0.2.3
|
||||
|
||||
</center></font>
|
||||
</table>
|
||||
</table></center>
|
||||
|
||||
</font></b></p>
|
||||
|
||||
<center></center>
|
||||
<div align=right><font size=-1>
|
||||
<!-- begin include -->
|
||||
2811<!-- end --> visitors since January 99
|
||||
|
||||
|
||||
<br>Last updated on : June 13, 1999
|
||||
|
||||
|
||||
</font></div>
|
||||
<p>
|
||||
|
||||
<table width="100%" cellspacing=0 cellpadding=6 border><tr><td width="30%" bgcolor="#7783A2" valign=top>
|
||||
|
||||
|
||||
<!-- NEWS -->
|
||||
|
||||
<h2><u>News</u></h2>
|
||||
|
||||
<ul>
|
||||
<li><b><font color="#9B3030">13/06/1999</font> - CVS available! </b><br>
|
||||
Thanks to Russell Smith, development version of wxHTML is available through CVS.
|
||||
See Download page for details!
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li><b><font color="#9B3030">13/06/1999</font> - 0.2.3 release </b><br>
|
||||
Only minor changes and bugfixes.
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li><b><font color="#9B3030">16/05/1999</font> - New release </b><br>
|
||||
Well, 0.2.1 is out. It contains some bug fixes (mainly related to Visual C++)
|
||||
and new help controller that works with MS HTML Help Workshop projects as
|
||||
it's native format. Patch from previous version is only 30kB so don't hesitate
|
||||
to download it!
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li><b><font color="#9B3030">02/05/1999</font> - Beta release 0.2 is out!</b><br>
|
||||
Ok, it's here, download it! Help controller is included (and broken under
|
||||
MSW/Mingw32 - I'll fix it asap. If anyone can help with it, please do so...)
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- INTRO -->
|
||||
|
||||
<td valign=top>
|
||||
<h2><u>Intro</u></h2>
|
||||
|
||||
I started work on this library in January, 1999.
|
||||
<br>The main goal was to provide light-weight HTML viewer for
|
||||
<a href="http://web.ukonline.co.uk/julian.smart/wxwin">wxWindows 2</a> toolkit.
|
||||
This viewer was expected to be used as help/documentation browser rather than full-featured web browser.
|
||||
|
||||
<p>This library is released under <b><font color="#330000"><a href="licence.html.iso-8859-1">
|
||||
wxWindows Library Licence, Version 3</a></font>.</b> It is basically
|
||||
GNU Library General Public Licence except that it makes using
|
||||
wxHTML in commercial products much easier.
|
||||
|
||||
<p>The library should work on all platforms supported by wxWindows - it
|
||||
is written as poor wxWindows-only code, without line of platform-specific
|
||||
code (as I hope :-). It is known to compile under these enviromnets:
|
||||
|
||||
<ul>
|
||||
<li>EGCS under Linux
|
||||
<li>Cygwin b20 or Mingw32 under Windows 95
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- AUTHOR -->
|
||||
|
||||
<h2><u>Author(s)</u></h2>
|
||||
<i>wxHTML (and this page) is copyrighted by Vaclav Slavik. Parts of wxHTML are copyrighted by other
|
||||
autors - all of them are listed in <a href="#contrib">contributors</a> section.
|
||||
</i>
|
||||
<p>
|
||||
Feel free to send your suggestions, comments, bug reports to me. My
|
||||
e-mail address is
|
||||
|
||||
<br><A HREF="mailto:slavik2@czn.cz">slavik2@czn.cz</A>
|
||||
<br>or
|
||||
<br><A HREF="mailto:vsla8348@ss1000.ms.mff.cuni.cz">vsla8348@ss1000.ms.mff.cuni.cz</A>
|
||||
<p align=right>Vaclav Slavik
|
||||
|
||||
|
||||
<a name="contrib"><h2><u>Contributors</u></h2></a>
|
||||
<ul>
|
||||
<li><b><u>Guillermo Rodriguez Garcia</u></b> (<a href="mailto:guille@iies.es">guille@iies.es</a>)
|
||||
<br>contributed GIF reading routines
|
||||
</ul>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
BIN
samples/html/test/pic.png
Normal file
BIN
samples/html/test/pic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
samples/html/test/pic2.bmp
Normal file
BIN
samples/html/test/pic2.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
116
samples/html/test/tables.htm
Normal file
116
samples/html/test/tables.htm
Normal file
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
||||
<META NAME="GENERATOR" CONTENT="Mozilla/4.06 [en] (X11; I; Linux 2.0.35 i686) [Netscape]">
|
||||
</HEAD>
|
||||
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EF" VLINK="#51188E" ALINK="#FF0000">
|
||||
|
||||
<H3>
|
||||
This is TABLES
|
||||
tests page...</H3>
|
||||
|
||||
|
||||
(yes, really, see bellow:)
|
||||
<BR>Click <a href="test.htm">here</a> to go to original testing page...
|
||||
<BR>Click <a href="../../docs/html/man.htm">here</a> to go to manuals...
|
||||
<BR>
|
||||
<CENTER><TABLE CELLSPACING=5 BORDER COLS=2 WIDTH="40%" NOSAVE >
|
||||
<TR ALIGN=CENTER NOSAVE>
|
||||
<TD WIDTH="40%" NOSAVE>Top left
|
||||
<BR>(two lines expression)
|
||||
<P>paragraph done</TD>
|
||||
|
||||
<TD NOSAVE>Top right</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD>Bottom left</TD>
|
||||
|
||||
<TD>Bottom right</TD>
|
||||
</TR>
|
||||
</TABLE></CENTER>
|
||||
|
||||
<P>Subsampling is shown there:
|
||||
<BR>
|
||||
<TABLE BORDER COLS=2 WIDTH="100%" NOSAVE >
|
||||
<TR NOSAVE>
|
||||
<TD VALIGN=BOTTOM NOSAVE>
|
||||
<TABLE BORDER COLS=2 WIDTH="50%" NOSAVE >
|
||||
<TR ALIGN=CENTER BGCOLOR="#3366FF" NOSAVE>
|
||||
<TD>a</TD>
|
||||
|
||||
<TD WIDTH="10%" NOSAVE>b</TD>
|
||||
</TR>
|
||||
|
||||
<TR NOSAVE>
|
||||
<TD>c</TD>
|
||||
|
||||
<TD NOSAVE>d</TD>
|
||||
</TR>
|
||||
|
||||
</TABLE>
|
||||
</TD>
|
||||
|
||||
<TD VALIGN=BOTTOM NOSAVE>2</TD>
|
||||
</TR>
|
||||
|
||||
<TR NOSAVE>
|
||||
<TD>3 dflkj lkjfl dkjldkfjl flk jflkf lkjflkj ljlf ajlfj alff h khg hgj
|
||||
gjg jg gjhfg fg gjh gjf jgf jgj f gjfgj kfajg </TD>
|
||||
|
||||
<TD ALIGN=CENTER VALIGN=BOTTOM BGCOLOR="#FFFF99" NOSAVE>4
|
||||
<BR>gh
|
||||
<BR>gfh
|
||||
<BR>gh
|
||||
<BR>hg
|
||||
<BR>5</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>This is "default" table - with no sizes givev:
|
||||
<BR>
|
||||
<TABLE BORDER COLS=4 WIDTH="100%" NOSAVE >
|
||||
<TR NOSAVE>
|
||||
<TD>Hello</TD>
|
||||
|
||||
<TD NOSAVE>lkfdsjlk fj dlfj lkfj lkjflk jlfk lk fjlk elwkf lkejflek f jlekjflkj
|
||||
ljlk lk jlkf lefjl j flkj ljl lf lfj lfjl lj lwe lekf;eh kfejh lkh kjh
|
||||
kjhkj hkj hkj lkh kjh kjlh kj</TD>
|
||||
|
||||
<TD>shortebn formo lr lk</TD>
|
||||
|
||||
<TD>djsf lkjlf poer oi pjr po kpk </TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD>a</TD>
|
||||
|
||||
<TD>b</TD>
|
||||
|
||||
<TD>c</TD>
|
||||
|
||||
<TD>d</TD>
|
||||
</TR>
|
||||
|
||||
<TR NOSAVE>
|
||||
<TD>1</TD>
|
||||
|
||||
<TD>2</TD>
|
||||
|
||||
<TD COLSPAN="2" ROWSPAN="2" NOSAVE>3</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD>A</TD>
|
||||
|
||||
<TD>B</Td>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
203
samples/html/test/test.cpp
Normal file
203
samples/html/test/test.cpp
Normal file
@@ -0,0 +1,203 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: test.cpp
|
||||
// Purpose: wxHtml testing example
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "test.cpp"
|
||||
#pragma interface "test.cpp"
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
#include <wx/wxprec.h>
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
// for all others, include the necessary headers (this file is usually all you
|
||||
// need because it includes almost all "standard" wxWindows headers
|
||||
#ifndef WX_PRECOMP
|
||||
#include <wx/wx.h>
|
||||
#endif
|
||||
|
||||
#include <wx/image.h>
|
||||
#include <wx/html/htmlwin.h>
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private classes
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Define a new application type, each program should derive a class from wxApp
|
||||
class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
// override base class virtuals
|
||||
// ----------------------------
|
||||
|
||||
// this one is called on application startup and is a good place for the app
|
||||
// initialization (doing it here and not in the ctor allows to have an error
|
||||
// return: if OnInit() returns false, the application terminates)
|
||||
virtual bool OnInit();
|
||||
};
|
||||
|
||||
// Define a new frame type: this is going to be our main frame
|
||||
class MyFrame : public wxFrame
|
||||
{
|
||||
public:
|
||||
// ctor(s)
|
||||
MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
|
||||
|
||||
// event handlers (these functions should _not_ be virtual)
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
void OnBack(wxCommandEvent& event);
|
||||
void OnForward(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
// any class wishing to process wxWindows events must use this macro
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// constants
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// IDs for the controls and the menu commands
|
||||
enum
|
||||
{
|
||||
// menu items
|
||||
Minimal_Quit = 1,
|
||||
Minimal_About,
|
||||
Minimal_Back,
|
||||
Minimal_Forward,
|
||||
|
||||
// controls start here (the numbers are, of course, arbitrary)
|
||||
Minimal_Text = 1000,
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// event tables and other macros for wxWindows
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the event tables connect the wxWindows events with the functions (event
|
||||
// handlers) which process them. It can be also done at run-time, but for the
|
||||
// simple menu events like this the static method is much simpler.
|
||||
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(Minimal_Quit, MyFrame::OnQuit)
|
||||
EVT_MENU(Minimal_About, MyFrame::OnAbout)
|
||||
EVT_MENU(Minimal_Back, MyFrame::OnBack)
|
||||
EVT_MENU(Minimal_Forward, MyFrame::OnForward)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
// Create a new application object: this macro will allow wxWindows to create
|
||||
// the application object during program execution (it's better than using a
|
||||
// static object for many reasons) and also declares the accessor function
|
||||
// wxGetApp() which will return the reference of the right type (i.e. MyApp and
|
||||
// not wxApp)
|
||||
IMPLEMENT_APP(MyApp)
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the application class
|
||||
// ----------------------------------------------------------------------------
|
||||
// `Main program' equivalent: the program execution "starts" here
|
||||
bool MyApp::OnInit()
|
||||
{
|
||||
wxLogDebug("[starting testing app]");
|
||||
#if wxUSE_LIBPNG
|
||||
wxImage::AddHandler(new wxPNGHandler);
|
||||
#endif
|
||||
#if wxUSE_LIBJPEG
|
||||
wxImage::AddHandler(new wxJPEGHandler);
|
||||
#endif
|
||||
// Create the main application window
|
||||
MyFrame *frame = new MyFrame("wxHtmlWindow testing application",
|
||||
wxPoint(50, 50), wxSize(640, 480));
|
||||
|
||||
// Show it and tell the application that it's our main window
|
||||
// @@@ what does it do exactly, in fact? is it necessary here?
|
||||
frame->Show(TRUE);
|
||||
SetTopWindow(frame);
|
||||
|
||||
|
||||
// success: wxApp::OnRun() will be called which will enter the main message
|
||||
// loop and the application will run. If we returned FALSE here, the
|
||||
// application would exit immediately.
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// main frame
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxHtmlWindow *html;
|
||||
|
||||
// frame constructor
|
||||
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
: wxFrame((wxFrame *)NULL, -1, title, pos, size)
|
||||
{
|
||||
// create a menu bar
|
||||
wxMenu *menuFile = new wxMenu;
|
||||
wxMenu *menuNav = new wxMenu;
|
||||
|
||||
menuFile->Append(Minimal_About, "&Load wxWindows manual page");
|
||||
menuFile->AppendSeparator();
|
||||
menuFile->Append(Minimal_Quit, "E&xit");
|
||||
menuNav->Append(Minimal_Back, "Go &BACK");
|
||||
menuNav->Append(Minimal_Forward, "Go &FORWARD");
|
||||
|
||||
// now append the freshly created menu to the menu bar...
|
||||
wxMenuBar *menuBar = new wxMenuBar;
|
||||
menuBar->Append(menuFile, "&File");
|
||||
menuBar->Append(menuNav, "&Navigate");
|
||||
|
||||
// ... and attach this menu bar to the frame
|
||||
SetMenuBar(menuBar);
|
||||
|
||||
CreateStatusBar(1);
|
||||
|
||||
{
|
||||
wxConfig *cfg = new wxConfig("wxHtmlTest");
|
||||
html = new wxHtmlWindow(this);
|
||||
html -> SetRelatedFrame(this, "HTML : %s");
|
||||
html -> SetRelatedStatusBar(0);
|
||||
html -> ReadCustomization(cfg);
|
||||
delete cfg;
|
||||
html -> LoadPage("test.htm");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// event handlers
|
||||
|
||||
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
// TRUE is to force the frame to close
|
||||
wxLogDebug("about to save config...");
|
||||
wxConfig *cfg = new wxConfig("wxHtmlTest");
|
||||
html -> WriteCustomization(cfg);
|
||||
delete cfg;
|
||||
Close(TRUE);
|
||||
}
|
||||
|
||||
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
html -> LoadPage("fft.html");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void MyFrame::OnBack(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
if (!html -> HistoryBack()) wxMessageBox("You reached prehistory era!");
|
||||
}
|
||||
|
||||
|
||||
void MyFrame::OnForward(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
if (!html -> HistoryForward()) wxMessageBox("No more items in history!");
|
||||
}
|
266
samples/html/test/test.htm
Normal file
266
samples/html/test/test.htm
Normal file
@@ -0,0 +1,266 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
||||
<META NAME="GENERATOR" CONTENT="Mozilla/4.06 [en] (X11; I; Linux 2.0.35 i686) [Netscape]">
|
||||
</HEAD>
|
||||
<BODY TEXT="#000000" BGCOLOR="#006600" LINK="#0000FF" VLINK="#FF0000" ALINK="#000088">
|
||||
|
||||
<b><a href="tables.htm">click here to go to tables test page!</a></b>
|
||||
|
||||
<p>
|
||||
This is - - default text, now switching to
|
||||
<CENTER>
|
||||
<P>center, now still ctr, now exiting</CENTER>
|
||||
exited!.<A HREF="#downtown">[link to down]</A>
|
||||
<P>Hello, this *is* default charset (helvetica, probably) and it is displayed
|
||||
with one <FONT COLOR="#FF0000">COLOR CHANGE</FONT>. Of course we
|
||||
can have as many color changes as we can, what about this <FONT COLOR="#FF0000">M</FONT><FONT COLOR="#FFFF00">A</FONT><FONT COLOR="#33FF33">D</FONT><B><FONT COLOR="#FFFFFF"><FONT SIZE=+1>N</FONT></FONT></B>E<FONT COLOR="#999999">S</FONT><FONT COLOR="#CC33CC">S?</FONT>
|
||||
<P><FONT COLOR="#000000">There was a space above.</FONT>
|
||||
<BR>
|
||||
<HR WIDTH="100%">This was a line. <TT>(BTW we are in <B>fixed</B> font
|
||||
/ <I><U>typewriter</U> font</I> right now :-)</TT>
|
||||
<BR>This is in <B>BOLD</B> face. This is <I>ITALIC.</I> This is <B><I><U>E
|
||||
V E R Y T H I N G</U></I></B>.
|
||||
<BR>
|
||||
<P><BR>
|
||||
<CENTER>
|
||||
<P>Right now, <FONT COLOR="#0000FF"><FONT SIZE=+4>centered REALLY Big Text</FONT></FONT>,
|
||||
how do you like (space) it?</CENTER>
|
||||
|
||||
<DIV ALIGN=right>RIGHT: <FONT SIZE=-2>text-2, </FONT><FONT SIZE=-1>text-1,
|
||||
</FONT>text+0,
|
||||
<FONT SIZE=+1>text+1,
|
||||
</FONT><FONT COLOR="#FF0000"><FONT SIZE=+2>text+2,
|
||||
</FONT></FONT><FONT SIZE=+3>text+3,
|
||||
</FONT><FONT SIZE=+4>text+4</FONT>
|
||||
<BR><U><FONT SIZE=+1>we are right now</FONT></U></DIV>
|
||||
|
||||
<CENTER><U><FONT SIZE=+1>we are center now</FONT></U></CENTER>
|
||||
<U><FONT SIZE=+1>we are left now.</FONT></U>
|
||||
<P><I><FONT COLOR="#3366FF">Blue italic text is displayed there....</FONT></I>
|
||||
<H1>
|
||||
|
||||
<HR ALIGN=LEFT SIZE=10 WIDTH="50%">This is heading one.</H1>
|
||||
this is normal
|
||||
<CENTER>
|
||||
<H1>
|
||||
This is <FONT COLOR="#33FF33">CENTERED</FONT> heading one</H1></CENTER>
|
||||
<FONT COLOR="#FFFF00">Yes, hmmmmmmmmm........, right now, <TT>we should
|
||||
display some tiny nice image</TT>, he?</FONT>
|
||||
<BR><IMG SRC="pic.png" ALT="Testing image image" ><IMG SRC="pic2.bmp">and this is text......
|
||||
<P><IMG SRC="pic.png" ALT="Testing image image" HEIGHT=200 WIDTH=327 ALIGN=CENTER>and
|
||||
this is text......
|
||||
<BR><A HREF="pic.png"><IMG SRC="pic.png" ALT="Testing image image" HEIGHT=160 WIDTH=100 ALIGN=TEXTTOP></A> (try clicking on the image :-) and
|
||||
this is text......
|
||||
<BR>
|
||||
<BR>
|
||||
<UL>
|
||||
<LI>
|
||||
item 1</LI>
|
||||
|
||||
<LI>
|
||||
item 2</LI>
|
||||
|
||||
<UL>
|
||||
<LI>
|
||||
nested item</LI>
|
||||
|
||||
<LI>
|
||||
nested item 2</LI>
|
||||
</UL>
|
||||
|
||||
<LI>
|
||||
item 3</LI>
|
||||
</UL>
|
||||
|
||||
<OL>
|
||||
<LI>
|
||||
item one</LI>
|
||||
|
||||
<LI>
|
||||
item two</LI>
|
||||
|
||||
<OL>
|
||||
<LI>
|
||||
nsted item</LI>
|
||||
</OL>
|
||||
|
||||
<LI>
|
||||
last numbered item</LI>
|
||||
</OL>
|
||||
|
||||
<H1>
|
||||
Heading 1</H1>
|
||||
<I>Italic text now...</I>
|
||||
<H2>
|
||||
<I>Heading 2</I></H2>
|
||||
<I>and now?</I>
|
||||
<H3>
|
||||
Heading 3</H3>
|
||||
|
||||
<H4>
|
||||
Heading 4</H4>
|
||||
|
||||
<H5>
|
||||
Heading 5</H5>
|
||||
|
||||
<H6>
|
||||
Heading 6</H6>
|
||||
And this is normal text, once again :-)
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
<P>And yes, we're in <FONT SIZE=+4>HTML DOCUMENT, </FONT><FONT SIZE=+1>so
|
||||
what about some nice <A HREF="fft.html">hypertext link</A>??</FONT>
|
||||
<P>hello?
|
||||
<BR>
|
||||
<P><BR>
|
||||
<CENTER>
|
||||
<P>This is <A NAME="downtown"></a>centered paragraph</CENTER>
|
||||
|
||||
<P>This is new par?
|
||||
<P><B>We switched to BOLD</B>
|
||||
<P><B>This is new paragraph</B> Bold is off now.
|
||||
<P>new par
|
||||
<P> -----------
|
||||
<P><FONT SIZE=-2>Hello</FONT>
|
||||
<OL><FONT SIZE=-2>this is standalone :-)</FONT>
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item number one. iti lkdjfdl kjd lk jlkjdl kjlk jlf
|
||||
jflkj d lfkjlkf jl jflkj flkwe lkhelf ;fk;fl kw;lfke ;ffj lkjflk wj lfjl
|
||||
fkw ;k;ekf;lkfe ;kf;lk; ;j ;lrj;wfj;f ;eljfw; lfj;ewlfj dagdja gdj chga
|
||||
kjegiquw iuqdb qiud iquwd hurray googoo.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>two two two two two two twotwo TWO two two two two two two
|
||||
twotwo TWO two two two two two two twotwo TWO two two two two two two twotwo
|
||||
TWO two two two two two two twotwo TWO two two two two two two twotwo TWO
|
||||
two two two two two two twotwo TWO</FONT></LI>
|
||||
|
||||
<BLOCKQUOTE><FONT SIZE=+0><B>(blockquote)</B>two two two two two two twotwo
|
||||
TWO two two two two two two twotwo TWO two two two two two two twotwo TWO</FONT>
|
||||
<BLOCKQUOTE><FONT SIZE=+0>two two two two two two twotwo TWO two two two</FONT></BLOCKQUOTE>
|
||||
<FONT SIZE=+0>two two two twotwo TWO two two two two two two twotwo TWO
|
||||
two two two two two two twotwo TWO</FONT></BLOCKQUOTE>
|
||||
<FONT SIZE=-2>two two two two two two twotwo TWO two two two two two two
|
||||
twotwo TWO</FONT>
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item nyumber 3.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item number one. iti lkdjfdl kjd lk jlkjdl kjlk jlf
|
||||
jflkj d lfkjlkf jl jflkj flkwe lkhelf ;fk;fl kw;lfke ;ffj lkjflk wj lfjl
|
||||
fkw ;k;ekf;lkfe ;kf;lk; ;j ;lrj;wfj;f ;eljfw; lfj;ewlfj dagdja gdj chga
|
||||
kjegiquw iuqdb qiud iquwd hurray googoo.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>two two two two two two twotwo TWO two two two two two two
|
||||
twotwo TWO two two two two two two twotwo TWO two two two two two two twotwo
|
||||
TWO two two two two two two twotwo TWO two two two two two two twotwo TWO
|
||||
two two two two two two twotwo TWO two two two two two two twotwo TWO two
|
||||
two two two two two twotwo TWO two two two two two two twotwo TWO two two
|
||||
two two two two twotwo TWO two two two two two two twotwo TWO two two two
|
||||
two two two twotwo TWO two two two two two two twotwo TWO two two two two
|
||||
two two twotwo TWO two two two two two two twotwo TWO</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item nyumber 3.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item number one. iti lkdjfdl kjd lk jlkjdl kjlk jlf
|
||||
jflkj d lfkjlkf jl jflkj flkwe lkhelf ;fk;fl kw;lfke ;ffj lkjflk wj lfjl
|
||||
fkw ;k;ekf;lkfe ;kf;lk; ;j ;lrj;wfj;f ;eljfw; lfj;ewlfj dagdja gdj chga
|
||||
kjegiquw iuqdb qiud iquwd hurray googoo.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>two two two two two two twotwo TWO two two two two two two
|
||||
twotwo TWO two two two two two two twotwo TWO two two two two two two twotwo
|
||||
TWO two two two two two two twotwo TWO two two two two two two twotwo TWO
|
||||
two two two two two two twotwo TWO two two two two two two twotwo TWO two
|
||||
two two two two two twotwo TWO two two two two two two twotwo TWO two two
|
||||
two two two two twotwo TWO two two two two two two twotwo TWO two two two
|
||||
two two two twotwo TWO two two two two two two twotwo TWO two two two two
|
||||
two two twotwo TWO two two two two two two twotwo TWO</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item nyumber 3.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item number one. iti lkdjfdl kjd lk jlkjdl kjlk jlf
|
||||
jflkj d lfkjlkf jl jflkj flkwe lkhelf ;fk;fl kw;lfke ;ffj lkjflk wj lfjl
|
||||
fkw ;k;ekf;lkfe ;kf;lk; ;j ;lrj;wfj;f ;eljfw; lfj;ewlfj dagdja gdj chga
|
||||
kjegiquw iuqdb qiud iquwd hurray googoo.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>two two two two two two twotwo TWO two two two two two two
|
||||
twotwo TWO two two two two two two twotwo TWO two two two two two two twotwo
|
||||
TWO two two two two two two twotwo TWO two two two two two two twotwo TWO
|
||||
two two two two two two twotwo TWO two two two two two two twotwo TWO two
|
||||
two two two two two twotwo TWO two two two two two two twotwo TWO two two
|
||||
two two two two twotwo TWO two two two two two two twotwo TWO two two two
|
||||
two two two twotwo TWO two two two two two two twotwo TWO two two two two
|
||||
two two twotwo TWO two two two two two two twotwo TWO</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item nyumber 3.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item number one. iti lkdjfdl kjd lk jlkjdl kjlk jlf
|
||||
jflkj d lfkjlkf jl jflkj flkwe lkhelf ;fk;fl kw;lfke ;ffj lkjflk wj lfjl
|
||||
fkw ;k;ekf;lkfe ;kf;lk; ;j ;lrj;wfj;f ;eljfw; lfj;ewlfj dagdja gdj chga
|
||||
kjegiquw iuqdb qiud iquwd hurray googoo.</FONT></LI>
|
||||
|
||||
<LI>
|
||||
<FONT SIZE=-2>two two two two two two twotwo TWO two two two two two two
|
||||
twotwo TWO two two two two two two twotwo TWO two two two two two two twotwo
|
||||
TWO two two two two two two twotwo TWO two two two two two two twotwo TWO
|
||||
two two two two two two twotwo TWO two two two two two two twotwo TWO</FONT></LI>
|
||||
|
||||
<P><BR><FONT SIZE=-2>two two two two two two twotwo TWO two two two two
|
||||
two two twotwo TWO two two two two two two twotwo TWO two two two two two
|
||||
two twotwo TWO</FONT>
|
||||
<P><FONT SIZE=-2>two two two two two two twotwo TWO two two two two two
|
||||
two twotwo TWO two two two two two two twotwo TWO two two two two two two
|
||||
twotwo TWO</FONT>
|
||||
<LI>
|
||||
<FONT SIZE=-2>This is item nyumber 3.</FONT></LI>
|
||||
</OL>
|
||||
Now, you will see some PRE text:<p>
|
||||
<PRE>// This is sample C++ code:
|
||||
|
||||
void main(int argc, char *argv[])
|
||||
{
|
||||
printf("Go away, man!\n");
|
||||
i = 666;
|
||||
printf("\n\n\nCRASH\n DOWN NOW. . . \n");
|
||||
}</PRE>
|
||||
|
||||
<H3>WWW</H3>
|
||||
<A HREF="http://www.kde.org">This is WWW link to KDE site!</A>
|
||||
<BR>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<A HREF="http://www.ms.mff.cuni.cz/~vsla8348/wxhtml/index.html">(one folder up)</A>
|
||||
<BR>
|
||||
|
||||
...
|
||||
<BR>
|
||||
...
|
||||
<BR>
|
||||
Link to normal text file : <a href="test.cpp">test.cpp</a>
|
||||
<BR>
|
||||
And link to BINARY : <a href="test">Unix</a> or <a href="test.exe">Windows</a>
|
||||
<BR>
|
||||
<a href="http://www.tue.nl">ANOTHER LINK(www.tue.nl)</a>
|
||||
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
2
samples/html/test/test.rc
Normal file
2
samples/html/test/test.rc
Normal file
@@ -0,0 +1,2 @@
|
||||
#include "wx/msw/wx.rc"
|
||||
|
Reference in New Issue
Block a user