New HTML help system. The old controller class has been split in
three parts; basic data, a frame and a controller. Docs will appear shortly... All Makefiles should be correctly updated. To be sure, I put an #error pragma in the old files, which will be removed in a few days. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
24
samples/html/help/helpfiles/another.hhc
Normal file
24
samples/html/help/helpfiles/another.hhc
Normal file
@@ -0,0 +1,24 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Sitemap 1.0 -->
|
||||
</HEAD><BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="ImageType" value="Folder">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="main page">
|
||||
<param name="Local" value="another.htm">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Project file">
|
||||
<param name="Local" value="another.hhp">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Contents file">
|
||||
<param name="Local" value="another.hhc">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
</UL>
|
||||
</BODY></HTML>
|
9
samples/html/help/helpfiles/another.hhp
Normal file
9
samples/html/help/helpfiles/another.hhp
Normal file
@@ -0,0 +1,9 @@
|
||||
[OPTIONS]
|
||||
Compatibility=1.1
|
||||
Contents file=another.hhc
|
||||
Display compile progress=No
|
||||
Title=Another book
|
||||
Default topic=another.htm
|
||||
Embarassment=extra line because project parsing is slightly buggy
|
||||
|
||||
|
24
samples/html/help/helpfiles/another.htm
Normal file
24
samples/html/help/helpfiles/another.htm
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Another HTML Help book</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Another book...</h1>
|
||||
Here's another book to demonstrate that
|
||||
<UL>
|
||||
<LI> You can display multiple books in a help controller
|
||||
<LI> You can selectively search books. Try it!
|
||||
<LI> Index files are optional. This book doesn't supply an index, but it does supply
|
||||
a contents (.hhc) file. You must always supply a contents file because
|
||||
<UL>
|
||||
<LI> Contents trees rule :-)
|
||||
<LI> The search algorithm uses the contents tree to find out which pages are
|
||||
available.
|
||||
</UL>
|
||||
Wanna know what a contents file looks like? Click <a href="another.hhc">here</a>
|
||||
</UL>
|
||||
You can also view the <a href="another.hhp">project file</a> for this book.
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user