I am about to build up documents from a Oracle Database in TRichView for later exporting them to PDF via gnostice EDocEngine (Passing RVPrint to EDocEngine).
Now I need to build up a table of contents and therefor I need the page number for every heading.
The Problem is that TRichView itself can't determin on which page a heading will be (RichView is format independent) and TRVPrint can't determine the contents of a page.
So is there any possibility to get something like a table of contents with page numbers?
TRVPrint has the method .GetFirstItemOnPage.
It can be used (if headers are not in table cells) to determine on which page the given item is located. Of course, after formatting for printing (FormatPages)
Yes, RVPrint creates pages using printer parameters.
Sorry, printer-independent repagination is not supported (It can be implemented after some changes in TRVReportHelper. Planned for future)
Printer Independent formattin of documents would be great for our purpose, because every user here could have a different printer set as standard printer. This means that document may look different on each PC and that is insufficiant for a document that should be sent to extern costumers.