Following article has detailed information on TOC creation in InDesign, if this does not resolve your query, please let me know.
Melinda:Start with Layout > Table of Contents:
- In the Title box, type a title for your TOC (perhaps Contents or Table of Contents). This title will appear at the top of the table of contents.
- Add each paragraph heading style you'd like to include in the table of contents by double-clicking paragraph styles in the Other Styles list to add them to the Include Paragraph Styles list. You can add all of the various heads this way.
- In the finished TOC, you can standardize the look of the various heads using styles (and can even assign those styles through the dialog box when you go back to update the TOC).
I know how to make a TOC. I thought there may have been some ‘trick’ when there may be as many as 50 or more different heading styles in the one publication. If not, I will just have to laboriously make up the 50+styles.
I'm hoping I can still give you a hand, but I'll need you to help clarify the question. Are you trying to quickly add 50 styles from formatted heading in your magazine to the Paragraph Styles panel so that you can make a TOC, or quickly add 50 existing styles in the Paragraph Styles panel to the TOC dialog box?