xsl-list
[Top] [All Lists]

Re: apache fop - formating question

2002-09-16 09:12:35
At 2002-09-16 16:29 +0200, Thomas Sandor wrote:
I have some sentences in a paragraph and have a picture (an illustration for
it). what I'd like to do is insert a picture e.g. in the center of the page
and have the sentences from the paragraph sourround it. (not like 1
sentence, then comes the picture, and the second line comes from far behind
the bottom of the picture.)

You are asking to flow content (your sentences) into a non-rectangular structure (the text box with the hole in it to accommodate the picture). Though it has four edges, the hole inside doesn't make it a simple rectangle.

Areas in XSL-FO 1.0 are only rectangular and are not exclusive. If you place one area on top of the other area, both get rendered as if the other area were not there.

I cannot think of any way to get the effect that you want in XSL-FO 1.0.

................ 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(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.        http://www.CraneSoftwrights.com/s/
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-18,19,30,10-03,12-08,2003-03-04,07


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