I have started work on a sample which shows how to create table of contents with TX Text Control. During the implementation, I realized that I need a collection of all paragraphs in the current document. My idea was to iterate through all paragraphs, identifying the current style and page number to create a TOC for all headings in the document. I will publish this sample in this blog soon.

Anyway, today I finished the paragraph class which can be found in our sample code library at:

https://github.com/TextControl/

This class can be used to iterate through all paragraphs in a document. Please contact me, if you have any questions or suggestions about it.