#2 Changes for Table Of Contents (TOC)

open
nobody
None
5
2010-08-27
2010-08-27
SKer
No

The change I did create TOCs with ordered HTML lists, which is much better way to represent a Table of Contents.
An example in Html source code follows:

<div class="twikiToc">
<ol>
<li><a href="#Header_1">Header 1</a></li>
<ol>
<li><a href="#Header_1.1">Header 1.1</a></li>
<li><a href="#Header_1.2">Header 1.2</a></li>
<ol>
<li><a href="#Header_1.2.1">Header 1.2.1</a></li>
<li><a href="#Header_1.2.2">Header 1.2.2</a></li>
</ol>
<li><a href="#Header_1.3">Header 1.3</a></li>
<ol>
<li><a href="#Header_1.3.1">Header 1.3.1</a></li>
</ol>
</ol>
<li><a href="#Header_2">Header 2</a></li>
</ol>
</div>

Changes have been done to the following files that I send:
com.teaminabox.eclipse.wiki.renderer.StructureClosure.java (public interface )
com.teaminabox.eclipse.wiki.outline.WikiOutlineFactory.java (public final class)
com.teaminabox.eclipse.wiki.renderer.TwikiBrowserContentRenderer.java (public final class)

Discussion

  • SKer
    SKer
    2010-08-27

    Files Altered

     
    Attachments