Page 1 of 1

table of contents

Posted: Sat Feb 07, 2009 12:14 pm
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

Posted: Sun Feb 08, 2009 2:56 pm
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.