W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2002

Re: Visual constraints

From: G. Ken Holman <gkholman@cranesoftwrights.com>
Date: Thu, 12 Sep 2002 11:55:23 +0200
Message-Id: <5.1.0.14.0.20020912115153.02b38c20@pop.storm.ca>
To: <www-xsl-fo@w3.org>

At 2002-09-12 04:47 +0100, Stephen Homer wrote:
>If I have a layout with a small area I want to somehow detect if the text 
>associated with it is too large to fit in the area and either drop out 
>with an error, add an error to the output file or flow the text into 
>another conditional area (probably another page) which I can detect 
>programmatically from the resultant file.

Check out the use of a <block-container> or <inline-container> (based on 
where you want the container to be in your flow) and the overflow= property 
of "error-if-overflow".

I hope this helps.

............... Ken

--
Upcoming hands-on in-depth    Europe:         Sep 18-Sep 20,2002
XSLT/XPath and XSL-FO         North America:  Sep 30-Oct  4,2002

G. Ken Holman               mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next public training:           2002-09-13,18,19,30,10-03,12-08,
-                                                  2003-03-04,07
Received on Thursday, 12 September 2002 07:18:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT