Hello, I'm pretty new in rtf.
I want to create a TOC without using \\toc,
I've used hyperlinks and bookmarks to generate toc, but I dont know how to
get page number of each section. Do you have any idea? Thank you.
RTF Table of Contents
-
- Site Admin
- Posts: 17561
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I assume you want to add a TOC in TRichViewEdit or TSRichViewEdit.
There is an example of building TOC in the protected forums (for registered users). If you are a registered user, please send me a private message with the details or your order (for example, email address used in it) and I'll open access to protected forums.
That example uses heading paragraphs to build a TOC, like MS Word.
However, this TOC is specially for TRichViewEdit/TSRichViewEdit. MS Word or other text editor may paginate the same document differently.
There is an example of building TOC in the protected forums (for registered users). If you are a registered user, please send me a private message with the details or your order (for example, email address used in it) and I'll open access to protected forums.
That example uses heading paragraphs to build a TOC, like MS Word.
However, this TOC is specially for TRichViewEdit/TSRichViewEdit. MS Word or other text editor may paginate the same document differently.