W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2008

Re: Floating image

From: Tony Graham <Tony.Graham@MenteithConsulting.com>
Date: Sun, 30 Mar 2008 21:04:53 +0100
To: www-xsl-fo@w3.org
Message-ID: <87d4pcrna2.fsf@zako.menteithconsulting.com>

On Fri, Mar 28 2008 14:26:04 +0000, janvanoppen@skynet.be wrote:
...
> If there is not enough available space on a page (to display an image), the
> image will be displayed on the next page. This leaves a large whitespace on
> the  previous page. (If the image is very large, the responding large
> white-space on the previous page looks very ugly!)
>
> Is there a possibility in "fo" to make the image "floating".. This means:
>  - if the image is to large for this page, place it on the next.
>  - pull up (one ore more) other blocks (paragraphs of text) to fill the
> previous page.

The XSL spec includes fo:float [1] (and an example [2] of how to use
it), but the FOP compliance page says that FOP doesn't support it [3].

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL & XSLT consulting, programming & training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

[1] http://www.w3.org/TR/xsl11/#fo_float
[2] http://www.w3.org/TR/xsl11/#d0e14402
[3] http://xmlgraphics.apache.org/fop/compliance.html#fo-object-float
Received on Sunday, 30 March 2008 20:05:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 30 March 2008 20:05:39 GMT