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 <suman.r...@tcs.com> From: "Robert Meyer-5 [via Apache FOP]" <ml-node+s1065347n39985...@n5.nabble.com> 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] > To: [hidden email] > 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] > For additional commands, e-mail: [hidden email] > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] output.pdf (9K) Download Attachment 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 =====-----=====-----===== 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: http://apache-fop.1065347.n5.nabble.com/problem-with-layout-tp39983p39988.html Sent from the FOP - Users mailing list archive at Nabble.com.
