trichview.com

trichview.support




Re: generating contents ?


Return to index


Author

Message

Stef Mientki

Posted: 11/21/2003 1:34:47


hi Sergey,


Sergey Tkachenko wrote:


> Do you need something like in Demos\Delphi\MultiDemo\, subdemo

> "Checkpoints", but with HTML instead of text files?


It's a very nice example, and maybe I'll implment this feature too,

but what I had in mind is basically to get a good printout.


The printout of RVE works much better for html-pages then Adobes PDF, my

compliments !  ;-)


So what has to be done

1. import all related html pages into 1 big RVE

2. find out where the headers and subheaders are

3. find out the pagenumbers that will be generated on printing

4. knowing the length of the headerlist, correcting the pagenumbers for

inserting the contents

5. insert the headerlist (with the corrected pagenumbers) at the

beginning of the document

6. printing the document with pagenumbers



What I can / cann't ...

1. no problem


2. headers and subheaders are identified by stylenrs 1,2,

so this should be no problem with a html parser or even with slight

modification of the html importer.

Better ideas ?


3. here I have to do some dummy printing or dummy printpreviewing,

What's the best way to do this ?

With OnPagePrepaint, I can generate pagenumbers, but how do I know what

the contents of that page was ?

Or maybe I can insert a "dummy component" at each header/subheader and

thes use the OnPrintComponent event to get the pagenumber ??

Sergey, probably you can show me the right direction ;-)


4,5,6 I don't expect any problems.


thanks,

Stef Mientki





Powered by ABC Amber Outlook Express Converter