I copy-paste the same answer I gave [here][1]
– Of course H1, H2, H3 are your CH1, CH2, CH3.

> Of course you can! You need to create a new paragraph style (let's say
> H-Section). At the start of each section put a text box with the
> H-Section.
> 
> Create a table of Style that lists your entries H1, H2, H3 e
> H-Section. To the entry from H-Section set a Paragraph Style that
> makes the text start from "In Next Frame" (Keep Options - Start
> Paragraph).
> 
> When you create the TOC the Style set to H-Section will make the text
> jump to another frame. All you have to do is creating a threaded text
> frame in each section starting page.


  [1]: https://graphicdesign.stackexchange.com/questions/29677/how-to-create-sub-tables-of-contents-for-each-section-in-a-table-of-contents-i/81820#81820