[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL-FO - Keeps & Breaks

Subject: Re: XSL-FO - Keeps & Breaks
From: JBryant@xxxxxxxxx
Date: Tue, 26 Apr 2005 13:09:33 -0500
nadia craig
Hi, Nadia, Craig, and others,

Here's that link: 
http://xml.apache.org/fop/compliance.html#fo-property-keepsbreaks

As you can see, the current version of FOP only supports keeps and breaks 
in tables. That's how I wound up advising Nadia to put a blank paragraph 
into a table last week - because I thought she was using FOP.

I understand that managing keeps and breaks is the issue that, more than 
any other, drove the redesign of FOP. I also understand that the new 
version of FOP should be out this year. Of course, it's being developed by 
volunteers who also work day jobs to pay the bills, so no firm schedule 
can be announced. Also, this is the world of software, where slipping 
schedules seem to be the norm. Still, I think it's not overly optimistic 
to look forward to a new and better FOP this year.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)





Nadia.Swaby@xxxxxx 
04/26/2005 12:57 PM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc

Subject
Re:  XSL-FO - Keeps & Breaks








Hi Craig,

Have you checked on the Apache website for FOP to see if it supports keeps
and breaks?  We used to use FOP for rendering PDFs, and we found that for
the most part, FOP doesn't support keeps.

Nadia Swaby



  
                      JBryant@xxxxxxxx   
                      m                        To: 
xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
                                               cc:    
                      2005-04-26 13:46         Subject: Re:  XSL-FO - 
Keeps & Breaks 
                      Please respond   
                      to xsl-list   
  
  




Hi, Craig,

Try keep-with-next="always" on each row of the table.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)





"craig webber" <craigwebber@xxxxxxxxxxx>
04/26/2005 11:40 AM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc

Subject
 XSL-FO - Keeps & Breaks






My XSL-FO transformation is rendering around 4 of the same tables per
page.
On the odd occasion there is not enough space to render 4 complete tables
on
a single page, the 4th table in this case is split with the contents
continued on the following page.

I need to keep the tables together. If reaching the end of the page,
tables
should not be split but rather start as a new complete table on the
following page.

I'm using the following code with the (keep-together="always") element,
with
no success: Can anybody suggest a solution? I dont want to use headers if
possible. I am using FOP.

<fo:block keep-together="always">
<fo:table>
<fo:table-column column-width="25mm"/>
<fo:table-column column-width="25mm"/>

<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>Content 1</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Content 2</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row>
<fo:table-cell>
<fo:block>Content 3</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Content 4</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table>
</fo:block>

Many Thanks,

Craig.

_________________________________________________________________
MSN Messenger 7.0 - more features, more fun, still absolutely FREE!
http://messenger.msn.co.za?DI=1054&XAPID=2532

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.