Hi Vincent, > > My solution: I generate the the table with only one set of images and read > > the area tree. From the area tree I read how many pages the table takes and > > how much unused space I have in the left column (especially on the first > > page). Then I add a blank block of the gathered height in the left column, > > then a copy of the images with a break-before, then another blank block of > > (pageheight-imagesheight), another set of images and so on until the table > > is complete. The images always start on a new page und the blank block > > prevents the data in the right column from breaking too soon.
> But if the blank blocks have a height of (page height − images height), then > the forced break isn’t necessary, is it? It’s basically that forced break > that is the cause of your problems, so if you can find a solution without it, > that should work well. That's true for the second page. On the first page, the height of the blank block is right-column height - image height. If the right table breaks early (because of a keep-together that keeps the last three table lines togehter with a following image), the blank block spreads to the table break, but without the break-before the image (being smaller than 3 table-lines + following image) still fits on the first page. So I changed my code and add a blank block with a keep-with-previous on each page including the last one. Even if the table breaks early, the blank block pulls the image to the next page. Up to now that seems to work fine. Regards, Georg Datterl ------ Kontakt ------ Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg: 17193 Geschäftsführer: Yong-Harry Steiert Tel.: 0911/36 78 88 - 26 Fax: 0911/36 78 88 - 20 www.geneon.de Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH: www.irs-nbg.de Willmy PrintMedia GmbH: www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de -----Ursprüngliche Nachricht----- Von: Vincent Hennebert [mailto:[email protected]] Gesendet: Donnerstag, 13. August 2009 13:01 An: [email protected] Betreff: Re: Strange table behaviour Hi Georg, Georg Datterl wrote: > Hi Vincent, > > I'll try the start-indent solution. > > As for the block and the break, we were discussing that in earlier threads > (around February). I have a layout with text and table in the right column > and images in the left column. If the right column breaks to a new page (or > pages), the images should be reprinted on that page, too. > > My solution: I generate the the table with only one set of images and read > the area tree. From the area tree I read how many pages the table takes and > how much unused space I have in the left column (especially on the first > page). Then I add a blank block of the gathered height in the left column, > then a copy of the images with a break-before, then another blank block of > (pageheight-imagesheight), another set of images and so on until the table is > complete. The images always start on a new page und the blank block prevents > the data in the right column from breaking too soon. But if the blank blocks have a height of (page height − images height), then the forced break isn’t necessary, is it? It’s basically that forced break that is the cause of your problems, so if you can find a solution without it, that should work well. <snip/> HTH, Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
