Hi Peter, This is most probably a manifestation of bug #46363: https://issues.apache.org/bugzilla/show_bug.cgi?id=46363
Try removing the .maximum components of space definitions inside the lists. That will prevent the content from stretching beyond the region-body. HTH, Vincent On 21/03/11 19:13, Peter Desjardins wrote: > Hi. I'm publishing DocBook content to PDF using FOP 1.0 and > jdk1.6.0_24. I've noticed that the last fo:block on a page will > sometimes print over the border of the page footer. The last lines of > text are beyond the bottom of the fo:region-body for the page. > > This seems to happen to fo:blocks that are part of a long > fo:list-item-body. In one example, FOP lets the one block in the > list-item-body collide with the footer and then pushes the following > sibling block to the next page. > > Is this a known problem for FOP? Can anyone point me to a workaround > or more information? I confirmed that a trial copy of a commercial FO > processor breaks the fo:block to the next page. > > An example of FO that causes this problem is pasted below. "used > elsewhere. Use the Add Existing button to add an item you or another > user already created" is the text that flows onto the footer. > > <fo:list-item-body start-indent="body-start()"> > <fo:block> > <fo:block>Some properties can contain multiple > values:</fo:block> > <fo:block space-before.minimum="0.5em" > space-before.optimum="1em" space-before.maximum="2em" > space-after.minimum="0.5em" space-after.optimum="1em" > space-after.maximum="2em" text-align="center" id="d0e1041"> > <fo:block id="d0e1042"> > <fo:external-graphic src="url(media/image18.png)" > width="auto" height="auto" content-width="246pt" > content-height="auto" /> > </fo:block> > </fo:block> > <fo:block space-before.optimum="1em" > space-before.minimum="0.8em" space-before.maximum="1.2em">Use > the Add New button to create a new item and add it to the list. > The item is added to the system and can be used elsewhere. Use > the Add Existing button to add an item you or another user > already created.</fo:block> > <fo:block space-before.optimum="1em" > space-before.minimum="0.8em" space-before.maximum="1.2em">To > remove an item from the list, click the Remove Item icon for > that item. Removing the item here does not remove it from your > system.</fo:block> > </fo:block> > </fo:list-item-body> > > Thanks for your help. > > Peter Desjardins > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
