W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2007

Re: Complex regions and content division

From: Dave Pawson <dave.pawson@gmail.com>
Date: Fri, 14 Dec 2007 08:00:18 +0000
Message-ID: <711a73df0712140000m750ed24en9b861e46dd8ddd37@mail.gmail.com>
To: JohnVirgo <john.virgo@document.co.uk>
Cc: www-xsl-fo@w3.org

On 13/12/2007, JohnVirgo <john.virgo@document.co.uk> wrote:
>
> Hi All,
>
> I've been working on a fairly complicated requirement for a few days now but
> I'm beginning to think that XSL-FO may not be right for what we are trying
> to achieve.


Bottom line, xsl-fo cannot layout content dependent on what has already
been laid out.
For that you  need a two pass process (some processors
output an intermediate step) or another alternative.

regards DaveP




>
> We have an A4 paper form that we are trying to format in such a way that,
> the top section is either less than or exactly half of the page and the
> bottom section uses the remaining available space. I.e. The bottom section
> is always aligned with the bottom of the top section.
>
> Here was our first problem were I basically required a 'dynamic' region size
> based on the formatted content, so we fell into the trap of requiring
> feedback from the code applying the XSL-FO. I have read now that this is not
> supported. So we had to find our own way of feeding back etc. any better
> suggestions would be appreciated.
>
> Secondly, and more complicated, is that if the content of the top section
> exceeds the region it is required to use all of the available space on page
> two; not just the region defined for it's content. I know this sounds crazy
> (I don't write the requirements) and I'd consider this impossible to span
> content across nodes further up the hierarchy of the FO; but never mind.
>
> I would be grateful for any comments and suggestions on this subject.
>
> Thanks, John Virgo
> --
> View this message in context: http://www.nabble.com/Complex-regions-and-content-division-tp14316663p14316663.html
> Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
>
>
>
>


-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Received on Friday, 14 December 2007 08:00:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 December 2007 08:00:28 GMT