You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Andre Groeneveld <an...@isservices.co.za> on 2006/02/27 12:51:36 UTC
Keeping blocks together.
Hi,
Can anyone please help; I have 2 blocks and a table, is there anyway of
keeping them on the same page? On the table I used
keep-with-next="always", to write it on the next page if it overflows,
but if the table gets written to the next page, then the 2blocks also
has to get written to the next page, is there a way of doing this?
Thanks,
Confidentiality Caution and Disclaimer
This message and/or any attachment thereto ("the message")
contains privileged and confidential information intended
only for the recipient named above.
If you are not the intended recipient of this message,
please erase it permanently once you have notified the
sender, per return e-mail, that you have received the
message in error.
Unless the sender is duly authorised by either the Telesure
Group, or any of its subsidiary companies or I.S Services
("the Group") to send this message and unless the content
of this message is also duly authorised by the Group, any
views expressed in this message are those of the individual
sender and the Group will not accept liability therefore,
nor for any consequential damage arising therefrom.
Any recipient of an unacceptable communication, a chain
letter or offensive material of any nature is requested
to report it to postmaster@isservices.co.za.
Re: Keeping blocks together.
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Due to your second question today, I can easily answer this question,
too. You forgot to tell what FOP version you use. That's VERY important
if you want good and quick answers.
Keep properties are only implemented on table-rows in FOP 0.20.5, so if
you want to keep your table together with some blocks, you need to
upgrade to the latest release (0.91beta). The work-around for 0.20.5 is
to pack your blocks into a table and use the keep properties there. Not
very beautiful but so far it worked for many until the latest release
has been made available.
If you want to know what the individual FOP version can do or can't,
please consult the compliance page:
http://xmlgraphics.apache.org/fop/compliance.html
On 27.02.2006 12:51:36 Andre Groeneveld wrote:
> Can anyone please help; I have 2 blocks and a table, is there anyway of
> keeping them on the same page? On the table I used
> keep-with-next="always", to write it on the next page if it overflows,
> but if the table gets written to the next page, then the 2blocks also
> has to get written to the next page, is there a way of doing this?
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org