Hi, There is a quite old FOP branch that aims to implement fo:float (see [1]) IIRC, it was based on FOP-1196 patch (see [2]).
This issue is still open, but there is no plan to merge it to trunk. [1] https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Floats [2] https://issues.apache.org/jira/browse/FOP-1196 2014-02-07 9:05 GMT+01:00 suman ray <suman.r...@tcs.com>: > Hi Robert, > > Thanks for your help. > > I can see your solution but my point is, the solution you provided is > strictly content specific. And my primary requirement is, the content can > be changed with respect to different xml and the content can be of any > length. > > Until the float functionality is there in FOP,your solution is the only > one I can use. > But unfortunately it will not fulfill my requirement,so I have to come > up with another layout. > > Regards, > Suman Ray > > -----"Robert Meyer-5 [via Apache FOP]" wrote: ----- > > To: suman ray <[hidden > email]<http://user/SendEmail.jtp?type=node&node=39988&i=0> > > > From: "Robert Meyer-5 [via Apache FOP]" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=39988&i=1> > > > Date: 02/06/2014 10:10PM > Subject: RE: problem with layout > > Hi, > > Floats are not currently supported by FOP: > > http://xmlgraphics.apache.org/fop/compliance.html > http://www.w3.org/TR/xsl/#d0e14346 > > 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. > > Regards, > > Robert Meyer > > > Date: Thu, 6 Feb 2014 07:48:03 -0800 > > > From: [hidden > > email]<https://inchnm24.tcs.com/user/SendEmail.jtp?type=node&node=39985&i=0> > > To: [hidden > > email]<https://inchnm24.tcs.com/user/SendEmail.jtp?type=node&node=39985&i=1> > > > 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: [hidden > > email]<https://inchnm24.tcs.com/user/SendEmail.jtp?type=node&node=39985&i=2> > > For additional commands, e-mail: [hidden > > email]<https://inchnm24.tcs.com/user/SendEmail.jtp?type=node&node=39985&i=3> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden > email]<https://inchnm24.tcs.com/user/SendEmail.jtp?type=node&node=39985&i=4> > For additional commands, e-mail: [hidden > email]<https://inchnm24.tcs.com/user/SendEmail.jtp?type=node&node=39985&i=5> > > *output.pdf* (9K) Download > Attachment<http://apache-fop.1065347.n5.nabble.com/attachment/39985/0/output.pdf> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-fop.1065347.n5.nabble.com/problem-with-layout-tp39983p39985.html > To unsubscribe from problem with layout, click here. > NAML<http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > ------------------------------ > View this message in context: RE: problem with > layout<http://apache-fop.1065347.n5.nabble.com/problem-with-layout-tp39983p39988.html> > > Sent from the FOP - Users mailing list > archive<http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html>at > Nabble.com. > -- pascal