table of contents

General TRichView support forum. Please post your questions here
Post Reply
rijnbeek
Posts: 6
Joined: Tue Sep 09, 2008 7:05 pm

table of contents

Post by rijnbeek »

Hi,

Is there away to create a tabel of contents in richview?

For example I generate a document containing song lyrics from seperate .rvf files and i want to create a table of contents as first page of the document?

thanks
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can try to format document for printing using TRVPrint.FormatPages, when find locations of each song start using TRVPrint.GetFirstItemOnPage, when create a TOC using this information.
But TRichView repagination depends on the installed printer, so when moving to another computer, the same document can be repaginated differently.
ScaleRichView repagination does not depend on printer.
Post Reply