trichview.com

trichview.support




Re: Difference between print and manual layout


Return to index


Author

Message

Martin Golm

Posted: 04/07/2004 17:31:40


Sergey Tkachenko wrote:

>

> Fonts are not always scaled exactly proportional to the resolution ratio.

> This method for repaginating would be unreliable.

>

> But you can

> a) insert both image and its description in a table

> b) (requires new version available for registered users) use

> Keep-With-Next/Keep-Lines-Together options for paragraph style


Is there reliable way of paginating before printing?


I try to use TRichView as a report viewer. Reports should be printable

and saveable as RTF.


Those reports look like this:


<header line 1>

<header line 2> (containing a tag that's to be replaced with current

date)

<header line 3>

<header line 4> (containing a tag that's to be replaced with current

page)

<header line 5>


<heading> (containing item category)

<sub heading> (containing item sub-category)

item 1  |  item count  |  item description  |  price per item  |  sum

...

item n  |  item count  |  item description  |  price per item  |  sum


<summary line 1>

<summary line 2>

<summary line 3>


Each item could contain a picture.


The range from <heading> to <summary line 3> may be repeated any number

of times.

Now, I neither want one of those things to happen:

- page break between <heading> and <item 3>

- page break between <item n-3> and <summary line 3>


The header (<heading line 1> to <heading line 5>) should appear on each

page.


Because this should be a viewer, I need to correctly break the pages, so

my users can see what they will get when printing. Of course, I'd like

to make use of the page height as good as possible - wasting 8 lines

neither looks good nor makes best use of the page height.



Is there a way to do that?

Martin





Powered by ABC Amber Outlook Express Converter