XSL:FO page break problem

Anshul Seth

Usenet Archive
Joined
Jul 8, 2004
Messages
1
Reaction score
0
I have been dealing with the page-break problem for long, and have not been able to come to a solution.
I am using XSL:FO to generate PDF report for my XML, generating it in tables. I want that tables should completely be at one place, if there is a page break , all the contents of the table should move to the next page. I implemented <keep-together.within-page="always"> in <fo:table row> as FOP0.20.5 does not support it in any other place. So, i created a virtual table with one row and one column, and in that row i used <keep-together>.

but still, it is not serving the purpose.
can any one suggest a way out?

<fo:table>
 

helmut fish

Usenet Archive
Joined
Jul 8, 2004
Messages
1
Reaction score
0
I don't know about FOP, but if keep-together is not implemented on fo:table, try:

(a) putting the table inside a fo:block which has keep-together (b) putting keep-with-next on every fo:row except the the last one (c) putting keep-with-previous on every fo:row except the the first one

John

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand phone +64 4 479 1738 fax +64 4 479 1294 web http://www.xmlpdf.com
 

legetz

Usenet Archive
Joined
Aug 4, 2004
Messages
1
Reaction score
0
helmut said:
*I don't know about FOP, but if keep-together is not implemented o fo:table, try:

(a) putting the table inside a fo:block which has keep-together (b) putting keep-with-next on every fo:row except the the last one (c) putting keep-with-previous on every fo:row except the the firs one

John
*

Option-A does not work with FOP. I've already tried that B and C works just fine, thanks for the tip.. :
-
leget
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top