Is there a table of Contents Function?

Is there a table of Contents Function?

First off, congrats on a great application. I use this instead of my dedicated office suite word processor about 80% of the time. (sometimes I need some of the more advanced word processing functions.)

One of those functions is a table of Contents. I can't find this functionality in writer and I am hoping it is there, but I can't find it.

I would like to select heading text for the table of contents entries, then have writer automagically construct my table of contents.

Is this available?

Any help is appreciated...

Jim