xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert <rme...@hotmail.co.uk>
Subject RE: problem with layout
Date Thu, 06 Feb 2014 16:39:27 GMT

Floats are not currently supported by FOP:


If you're not using XSLT and rather creating an actual FO document, what you could do is use
an absolute positioned block-container to reproduce the effect. You would need to know how
much text to put in it and follow it up with a block with some follow-on text. I created the
attached PDF using that method, but as a warning it's very finicky and you'd need to add a
margin to the top of the following block to ensure the correct line spacing.

Unless someone has a better suggestion it's about the best that can be done until the feature
is implemented unfortunately.


Robert Meyer

> Date: Thu, 6 Feb 2014 07:48:03 -0800
> From: suman.ray1@tcs.com
> To: fop-users@xmlgraphics.apache.org
> Subject: problem with layout
> I want to insert two content like the attached picture. But I can not do that
> using apache fop.
> Please help me with this problem.
> <http://apache-fop.1065347.n5.nabble.com/file/n39983/problem.jpg> 
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/problem-with-layout-tp39983.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
View raw message