ฉันใช้ FOP เวอร์ชัน 2.0 เทมเพลตของฉันมีย่อหน้าข้อความบางย่อหน้าในหน้าแรก หลังจากนั้นจะมีตารางไดนามิกที่มี n จำนวนแถว
...
</fo:block-container>
<fo:block-container height="0.5cm" width="7.40cm" top="8.80cm"
left="0.3cm" padding=".4mm" position="absolute">
<fo:block text-align="start" space-after.optimum="3pt"
line-height="14pt" font-family="sans-serif" font-size="12pt">Header
Options</fo:block>
</fo:block-container>
<fo:block-container border-style="solid" border-width=".5mm"
height="1.00cm" width="16.40cm" top="8.80cm"
left="3.40cm" padding=".4mm" position="absolute">
<fo:block text-align="start" space-after.optimum="3pt"
line-height="14pt" font-family="sans-serif" font-size="12pt">$header.miscInfo</fo:block>
</fo:block-container>
<fo:block-container width="17.40cm" top="10.30cm"
left="0.40cm" padding=".4mm" >
<fo:block page-break-before="always">
<fo:table border-top-style="solid" border-top-width="thick">
<fo:table-body font-size="12pt" font-family="sans-serif">
<fo:table-row border-bottom-style="solid" border-bottom-color="#000"
border-bottom-width="thick">
...
ตารางถูกล้อมรอบด้วย fo:block และล้อมรอบด้วย fo:block-container ฉันรวม <fo:block page-break-before="always">
เพื่อแบ่งตารางยาวออกเป็นหลายหน้า แต่เมื่อใช้สิ่งนี้ ตารางจะเริ่มต้นจากหน้าที่ 2 และพื้นที่ที่เหลือในหน้าแรกยังคงว่างเปล่า
ฉันต้องการให้ตารางของฉันเริ่มต้นจากหน้าแรกหลังจากคอนเทนเนอร์แบบบล็อกก่อนหน้า