RTF Table of Contents

General TRichView support forum. Please post your questions here
Post Reply
minamissi
Posts: 1
Joined: Tue Apr 10, 2012 1:48 pm

RTF Table of Contents

Post by minamissi »

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.
Sergey Tkachenko
Site Admin
Posts: 17572
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

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.
Post Reply