trichview.support
Re: page break in TRVreporthelper |
Author |
Message |
Sergey Tkachenko |
Posted: 07/25/2003 18:20:09 Well, Just an idea. You can try to use ReportHelper. The most time consuming operation is Init. FormatNextPage is relatively fast. And there is undocumented method UnformatLastPage. So, you can try with one page height; if you realize that the height of page must be different (because of footnotes), you can unformat the last page and try again with different height. > > To Frank, > > I have a similar problem in that I am trying to implement footnotes. My > client says footnotes is an absolute requirement. Since this is not a priority > for Sergey, I also need a way to adjust where the page breaks occur. I have > not finalized the solution yet but I am looking into using: > > rvprint.GetFirstItemOnPage(i, ItemNo, offsetInItem); > > to determine the first item on each page and add extra paragraph spacing > to certain items and iteratively adjust until I get the desired page breaks. > This may be a kludge but I need a workaround. > > I am curious as to the progress of any solution you use. > |
Powered by ABC Amber Outlook Express Converter