Good day, I created a XSL-FO template which prints a few blocks containing texts that change dynamicaly. Sometimes a block is splitted across two pages because there is not enough space on the page. Is there a way to put the block on next page instead of splitting it across pages if it does not fit please? I tried to put it into a table with keep-together="always" but then each text is on single line (no line wrapping) and overflows right page margin where disappears. Thank you in advance!
<fo:table table-layout="fixed" width="100%"> <fo:table-column column-width="proportional-column-width(1)"/> <fo:table-body> <fo:table-row keep-together="always"> <fo:table-cell border-width="1px" border-color="black" border-style="solid" background-color="#ffffff" text-align="left"> <fo:block> Text 1 </fo:block> <fo:block> Text 2 </fo:block> <fo:block> Text 3 </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table>