[xep-support] Last row in a table

Peter Kester peter.kester at daidalos.nl
Fri Nov 26 05:17:56 PST 2004


Hello all,

I have a problem with a table that flows over a page border. 
I have a table header that is repeated over page breaks.
After the last row I added an extra row containing a horizontal line.
How can I prevent this added row to be positioned on a new page when the complete table doesnt fit on the page?

I have added the attribute keep-with-previous.within-line="always" to the last row and keep-with-next.within-line="always" to the row before the last and it still occurs that the last row (with the leader) is pushed to the next page together with the repeated header.

What am I doing wrong here?

<snippet of fo>
               <fo:table-row keep-with-next.within-page="always">
                  <fo:table-cell display-align="before" margin-left="0mm" margin-right="0mm" column-number="1">
                     <fo:block>Nikkel<fo:block/></fo:block>
                  </fo:table-cell>
                  <fo:table-cell display-align="before" margin-left="0mm" margin-right="0mm" column-number="2">
                     <fo:block margin-left="3mm"> NEN 6430<fo:block/></fo:block>
                  </fo:table-cell>
                  <fo:table-cell display-align="before" margin-left="0mm" margin-right="0mm" column-number="3">
                     <fo:block margin-left="3mm">7,00<fo:block/></fo:block>
                  </fo:table-cell>
               </fo:table-row>
               <fo:table-row keep-with-previous.within-page="always">
                  <fo:table-cell margin-left="0mm" margin-right="0mm" number-columns-spanned="3">
                     <fo:block-container display-align="center">
                        <fo:block>
                           <fo:leader alignment-baseline="middle" leader-length="100%" leader-pattern="rule" rule-style="solid" rule-thickness="0.15mm" color="black"/>
                        </fo:block>
                     </fo:block-container>
                  </fo:table-cell>
               </fo:table-row>
            </fo:table-body>
         </fo:table>
</snippet of fo>

Thanx in advance,

Peter Kester

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list