By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,640 Members | 1,600 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,640 IT Pros & Developers. It's quick & easy.

XSL-FO: How to wrapping text on an image?

P: n/a
Hello there !

I rendering a PDF with XSLT using Xalan and FOP.
I like to place in my article an image, so that the text is floating
around the image. I tried several things but it didn't work so far. I
found some hints that it should work with "fo:float" but it seems not
to work with apache's FOP, so has anybody out there any solution and
experience ?

example:

|-------| text text text text
| | text text text text
| pic | text text text text
| | text text text text
|-------| text text text text
text text text text text text
text text text text text text
text text text text text text

tried xsl-fo example:

<fo:float float="start"><fo:block><fo:external-grafic src="..."/> text
text text text... </fo:block><fo:float>

thanks for any hints.
regards
Mark
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 20 Dec 2003 16:00:24 -0800, joes <jo**@bluewin.ch> wrote:
Hello there !

I rendering a PDF with XSLT using Xalan and FOP.

I like to place in my article an image, so that the text is floating
around the image. I tried several things but it didn't work so far. I
found some hints that it should work with "fo:float" but it seems not
to work with apache's FOP, so has anybody out there any solution and
experience ?

example:

|-------| text text text text
| | text text text text
| pic | text text text text
| | text text text text
|-------| text text text text
text text text text text text
text text text text text text
text text text text text text

tried xsl-fo example:

<fo:float float="start"><fo:block><fo:external-grafic src="..."/> text
text text text... </fo:block><fo:float>


FOP doesn't support floats yet. Look at
http://xml.apache.org/fop/compliance.html for more information (<float>
is covered under 'Out-of-line Formatting Objects (section 6.10)'.
Keith
--
Keith Davies "Your ability to bang your head against
ke**********@kjdavies.org reality in the hope that reality will
crack first is impressive, but futile"
-- Geoffrey Brent, rec.games.frp.dnd
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.