Hello, in the attached .fo, in the last rows there are blocks with the attribute keep-with-next="always". This forces a set of rows to form a single block and I think that's the reason the second page ends prematurely and the remaining rows are moved to another page.
Best regards. Il giorno lun 12 ago 2024 alle ore 13:32 Darryl Beallie < dbeal...@promaxis.com> ha scritto: > FOP users, > > > > I am having difficultly understanding the page breaking occurring in the > attached PDFs and how to improve. The goal is to eliminate / reduce the > amount of whitespace created by the irregular/odd page break. The table can > have varying number of rows. When number of rows fits in two or less pages, > there is no issue. When greater, the irregular/odd page breaking occurs. > > > > I have tried using fo extensions widow-content-limit and > orphan-content-limit with varying values, each without improvement. > > I have tried using (keep-with-next, k-w-n.within-column, > k-w-n.within-page) = “always” on the rows with bolded text which produces > different page breaking but also causes the table rows to extend into the > page footer area (region After) and not create the additional pages. > > If I remove the last two rows in the table, the table breaks nicely. > > The length of the text in the either cell doesn’t seem to impact the > irregular page breaking. > > > > FOP2.9.pdf is the result from using the Oxygen built-in XSL-FO FO PDF > transformation scenario. > > > > Any ideas or suggestions would be greatly appreciated. > > > > System details: > > Windows 11 > > Oxygen 26 > > JRE 17.0.8+7 (From Oxygen installed jre) > > Apache FOP 2.9 (From Oxygen installed fop) > > > > I have gotten similar results using FOP1.1, also from Oxygen but using an > ANT transformation scenario that uses a java task that points to Apache FOP > 1.1 jar. > > Thanks in advance, > > > > Darryl > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >