Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSL:FO page break problem

From: "helmut fish" <spam@------.--->
To: NULL
Date: 7/9/2004 2:42:00 PM
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
"Anshul Seth" <anshul.seth@g...> wrote in message
news:fbd76fec.0407080340.691dfc28@p......
> 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>
> --
> --
>   <fo:table-row keep-together.within-page="always>
>        <fo:table-cell>
>             <fo:table>
>             </fo:table>
>        </fo:table-cell>
>        <fo:table-cell>
>             <fo:table>
>             </fo:table>
>        </fo:table-cell>
>   </fo:table-row>
> <fo:table>
>
> this is the kind of code i am using?




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent