Is there a float/container attrbute that makes it possible to do this
so that if the block flows to more than one page, the float will
continue on the next page? (and then the rest of the next page after
the flow finished would be blank, and the rest of the content would
appear on the page following that? I took your example and added what
I am talking about:
<?xml version="1.0" encoding="iso-8859-1"?><!--blockcont-float.fo-->
<root xmlns="http://www.w3.org/1999/XSL/Format"
font-family="Times" font-size="40pt">
<layout-master-set>
<simple-page-master master-name="frame"
page-height="297mm" page-width="210mm"
margin-top="15mm" margin-bottom="15mm"
margin-left="15mm" margin-right="15mm">
<region-body region-name="frame-body" column-count="2"
column-gap="2cm"/>
</simple-page-master>
</layout-master-set>
<page-sequence master-reference="frame">
<flow flow-name="frame-body" xmlns="http://www.w3.org/1999/XSL/Format">
<block>This is a test - line 1</block>
<block>This is a test - line 2</block>
<block>This is a test - line 3</block>
<block>This is a test - line 4</block>
<float float="before">
<block-container height="265mm" display-align="center">
<block text-align="center">
Float 1
</block>
</block-container>
</float>
<block>This is a test - line 5</block>
<block>This is a test - line 6</block>
<float float="before">
<block-container height="265mm" display-align="center">
<block text-align="center">
Float 2
</block>
</block-container>
</float>
<block>This is a test - line 7</block>
<block>This is a test - line 8</block>
<block>This is a test - line 9</block>
<float float="before">
<block-container height="265mm" display-align="center">
<block text-align="center">
<block>What</block>
<block>happens</block>
<block>if</block>
<block>this</block>
<block>block</block>
<block>goes</block>
<block>to</block>
<block>the</block>
<block>next</block>
<block>page</block>
<block>does</block>
<block>it</block>
<block>work</block>
<block>I</block>
<block>wonder</block>
<block>a</block>
<block>lot?</block>
<block>it</block>
<block>does</block>
<block>not</block>
<block>flow</block>
<block>to</block>
<block>the</block>
<block>next</block>
<block>page?</block>
</block>
</block-container>
</float>
<block>This is a test - line 10</block>
<block>This is a test - line 1</block>
<block>This is a test - line 2</block>
<block>This is a test - line 3</block>
<block>This is a test - line 4</block>
<block>This is a test - line 5</block>
<block>This is a test - line 6</block>
<block>This is a test - line 7</block>
<block>This is a test - line 8</block>
<block>This is a test - line 9</block>
<block>This is a test - line 10</block>
</flow>
</page-sequence>
</root>
On 10/25/05, G. Ken Holman <gkholman@cranesoftwrights.com> wrote:
> At 2005-10-25 05:56 -0700, Dan Ochs <dan.ochs@gmail.com> wrote:
> >I have a 2 column page flow, and I would like to create a float that
> >spans the columns,
>
> All <float float="before"> constructs span columns.
>
> >takes up the entire next page,
>
> In the before-float reference area you can put a relative
> block-container the size of the body area.
>
> >and is centered on that page.
>
> And you can centre your content in that container.
>
> >(There also may be multiple floats next to each other,
> >that each need to be on their own page.)
>
> If the block container is the size of the page, then the next float
> will go to the next page.
>
> >Does anyone know that FO I would need to use for that?
>
> Which FO did you try? The FO below works for me.
>
> I hope this helps.
>
> . . . . . . . Ken
>
> <?xml version="1.0" encoding="iso-8859-1"?><!--blockcont-float.fo-->
> <root xmlns="http://www.w3.org/1999/XSL/Format"
> font-family="Times" font-size="40pt">
>
> <layout-master-set>
> <simple-page-master master-name="frame"
> page-height="297mm" page-width="210mm"
> margin-top="15mm" margin-bottom="15mm"
> margin-left="15mm" margin-right="15mm">
> <region-body region-name="frame-body" column-count="2"
> column-gap="2cm"/>
> </simple-page-master>
> </layout-master-set>
>
> <page-sequence master-reference="frame">
> <flow flow-name="frame-body" xmlns="http://www.w3.org/1999/XSL/Format">
> <block>This is a test - line 1</block>
> <block>This is a test - line 2</block>
> <block>This is a test - line 3</block>
> <block>This is a test - line 4</block>
> <float float="before">
> <block-container height="265mm" display-align="center">
> <block text-align="center">
> Float 1
> </block>
> </block-container>
> </float>
> <block>This is a test - line 5</block>
> <block>This is a test - line 6</block>
> <float float="before">
> <block-container height="265mm" display-align="center">
> <block text-align="center">
> Float 2
> </block>
> </block-container>
> </float>
> <block>This is a test - line 7</block>
> <block>This is a test - line 8</block>
> <block>This is a test - line 9</block>
> <float float="before">
> <block-container height="265mm" display-align="center">
> <block text-align="center">
> Float 3
> </block>
> </block-container>
> </float>
> <block>This is a test - line 10</block>
> <block>This is a test - line 1</block>
> <block>This is a test - line 2</block>
> <block>This is a test - line 3</block>
> <block>This is a test - line 4</block>
> <block>This is a test - line 5</block>
> <block>This is a test - line 6</block>
> <block>This is a test - line 7</block>
> <block>This is a test - line 8</block>
> <block>This is a test - line 9</block>
> <block>This is a test - line 10</block>
> </flow>
> </page-sequence>
> </root>
>
> --
> World-wide on-site corporate, govt. & user group XML/XSL training.
> 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)
> Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/f/bc
> Legal business disclaimers: http://www.CraneSoftwrights.com/legal
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon Oct 31 13:01:17 2005
This archive was generated by hypermail 2.1.8 : Mon Oct 31 2005 - 13:01:20 PST