xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amick, Eric" <Eric.Am...@mail.house.gov>
Subject RE: table, keep-with-*, placing of page breaks
Date Mon, 20 Apr 2009 12:37:50 GMT
Have you tried putting number-rows-spanned="2" on the table-cell as
well? That should avoid the need for the keep altogether, I think.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-----Original Message-----
From: Artur Zinatullin [mailto:artur@webmedia.ee] 
Sent: Friday, April 17, 2009 8:42
To: fop-users@xmlgraphics.apache.org
Subject: fo:table, keep-with-*, placing of page breaks

Hello!

I have a problem with fo:table. FOP version 0.95

I am presenting certain objects in line rows, so there is two lines per
object.
First line has some data on it, the other one is blank space for uset to
write the nothes regarding given object like <fo:table-cell
number-columns-spanned="12" ...>

<fo:block>Notes</fo:block>

</fo:table-cell>

My intention is to keep the two rows always together on one page.

So, I put, naturally, keep-with-next="always" on first fo:table-row or
keep-with-previous="always"on the second.

That does the trick, but the pagination starts acting wierd.

It breaks page_before_the_last after just a fiew rows so, the last page
is always filled top to bottom.

That doesn't look good at all.

I'd apreciate some workaround.

I've done some googling and some research on fop bugzilla.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44920 and
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-section
made me no happy.

Surrounding my pairs into blind table cells made no good either.

Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message