Hmm...
So what if your .epub document was generated with automatic styles, and uses the following code:
Code:
<p class="h1"> Heading 1</p>
<p class="h2">Heading 2</p>
<p class="tf">First paragraph without any indent</p>
<p class="tx">Second paragraph, with indent.</p>
with associated styles already generated...
If I already have the above structure, and I don't want to screw it up or mess with the way my document looks, THEN how would I generate a TOC?