Subject: Re: [xsl] Absolute/relative positioning of graphic in XSL-FO From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 23 May 2006 22:49:35 +0200 |
I'm trying to figure out if I can have a graphic in an "absolute" position on a page, but have the graphic automatically move down if the text preceding it would overlap it.
Hopefully, the following crude text diagrams illustrate what I am trying to do:
------------------ ------------------ ------------------ | | | | | | | Text here | | Text here | | Text here | | | | Text here | | Text here | | | | | | Text here | | -------------- | | -------------- | | Text here | | | \ /\ /\ / | | | | \ /\ /\ / | | | Text here | | | \/ \/ \/ | | | | \/ \/ \/ | | | Text here | | | /\ /\ /\ | | | | /\ /\ /\ | | | -------------- | | | / \/ \/ \ | | | | / \/ \/ \ | | | | \ /\ /\ / | | | |/ /\ /\ \| | | |/ /\ /\ \| | | | \/ \/ \/ | | | -------------- | | -------------- | | | /\ /\ /\ | | | | | | | | / \/ \/ \ | | | | | | | |/ /\ /\ \| | | | | | | -------------- | | | | | | | | | | | | | ------------------ ------------------ ------------------
In the first two, the graphic stays in the same location, but in the last one, the graphic is moved down so there is no overlap.
<block-container block-progression-dimension.minimum="3cm"> <block>Test1</block> </block-container> <block>Test 1 end</block> <block-container block-progression-dimension.minimum="3cm"> <block>Test2</block> <block>Test2</block> <block>Test2</block> <block>Test2</block> <block>Test2</block> <block>Test2</block> <block>Test2</block> <block>Test2</block> <block>Test2</block> <block>Test2</block> </block-container> <block>Test 2 end</block>
Test 1 end Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test 2 end
-- Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16 Also for XSL-FO/XSLT training: Minneapolis, MN 2006-07-31/08-04 Also for XML/XSLT/XSL-FO/UBL training: Varo,Denmark 06-09-25/10-06 World-wide corporate, govt. & user group UBL, XSL, & XML training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Absolute/relative positioning, Hood, Earl | Thread | RE: [xsl] Absolute/relative positio, Hood, Earl |
[xsl] Absolute/relative positioning, Hood, Earl | Date | RE: [xsl] Absolute/relative positio, Hood, Earl |
Month |