[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: FO-question : images & text wrapping

Subject: RE: FO-question : images & text wrapping
From: Bovone Stefano <Stefano.Bovone@xxxxxxxx>
Date: Mon, 24 Jul 2000 13:16:36 +0200
image wrappin example in fo
You could use a fo:table or a list or a float object.
Bye.

-----Original Message-----
From: Teemu Ropponen [mailto:troppone@xxxxxxxxxx]
Sent: lunedì 24 luglio 2000 13.02
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: FO-question : images & text wrapping


Hi,

I have a fairly simple one, almost a FAQ, I assume, and I almost feel a
deja vu effect...but nonetheless I was not able to find an answer...

I have 3 fairly common scenarios for rendering a simple image and some
text. I'd like to know how the right way to do this with fo's .

1. 
<example>

This is shown in the image below :
|----------|
| an image |
------------
As we can see...

</example>

I suppose this could be done with something along the lines of

<fo:block>This is shown in the image below :
  <fo:block>
    <fo:external-graphic src=... />
  </fo:block>
  As we can see
</fo:block>

Corrections?

2.
<example>

|---------|   Here is the image. I don't want to use a list but
|  image  |   I'd like several lines of text to be nicely placed
|---------|   next to the image

</example>

3.

<example>   
Let's see what happens in this case when the image is part of the    
      |---------|   
text. |  image  |   Well well, in this case the text, when reaching 
      |---------|   
the end of the line, wraps below the image and life goes on from here...
</example> 

I guess this would be just 

<fo:block>Let's see what happens in this case when the image is part of
the text <fo:external graphic.. .. /> Well well...
</fo:block>

Am I correct? Just seems that pretty ugly looking layout will result, if
the images are big. And how would I go about getting the second example?

Thanks,
Teemu Ropponen

---------------------------------------------------------------------
Teemu Ropponen					troppone@xxxxxxxxxx
student/research assistant
Telecom. Software and Multimedia Lab.		http://www.tcm.hut.fi
Helsinki University of Technology, Finland
---------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.