On Tue, 2002-07-23 at 09:08, RamanaJV wrote: > Then, > Is it possible to know, without actually rendering, how many lines a > block is expected to span. I really need this now in my application to get > away from the pagination problem that are occuring. Also, is it possible to > know, how many lines of text can be written on to a page with specific > dimensions?
Only the layout process can determine how many lines a block will span. You can calculate how many lines will fit on a page by working out the line height or setting the line height (note the if the line height is set it uses a slightly different number, its a bug) and the spacing between blocks. You are probably better of rendering to xml then reading that. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]