I guess I will need to rewrite this using table and columns if I don't want
the HEADER to appear at the bottom?
_____
From: Jerry Janofsky [mailto:JanofskyJ@comcast.net]
Sent: Sunday, September 09, 2007 10:46 AM
To: 'xep-support@renderx.com'
Subject: can't control page break before rx:flow-section
xep-support,
I am using XEP 4.6. I have created a document that uses an rx:flow-section
to create an area displaying data with three columns. Before each three
column area is displayed, I need to generate a line of text (header) that
may span more than 1 column. Because the header may span more than one
column, the block containing the header is placed above the rx:flow-section.
Depending on the amount of data being printed, I can have multiple
rx:flow-sections on a single page, also, it is possible that the
rx:flow-section may span multiple pages. My problem is that, when a new
header is being printed, it can often be the last item on the page, then a
page break, then the flow section beginning on the next page. This is not
acceptable. I need to somehow force the header to not be the last item on a
page. The keep-with-next="always" attribute in the header block does not
work (as your documentation states, it is unsupported in this context).
Another possible solution to this would be to move the header within the
flow-section, however, the problem with that is the header will scroll
within a column and not span across the page. I cannot wrap the flow section
within a block because it must be the child of fo:flow.
I'm hoping I am missing something obvious or that someone will be able to
show me a trick to get around this problem.
All help and suggestions will be greatly appreciated.
Jerry Janofsky
Ames on Demand
<fo:flow flow-name="xsl-region-body">
<fo:wrapper font-family="Frutiger" color="#575586" font-size="9.0pt">
<fo:block font-size="11pt" font-weight="bold"
keep-with-next="always">HEADER 1 (might span 2 columns)</fo:block>
<rx:flow-section column-count="3" column-gap="0.5in">
<fo:block keep-together.within-column="always">
<fo:block color="#AA2A33" keep-with-next.within-column="always"
>Boston</fo:block>
<fo:block font-family="Frutiger" font-size="9.0pt"
keep-together.within-column="always">
.
.data being printed here..
.
</fo:block>
</fo:block>
</rx:flow-section>
<fo:block font-size="11pt" font-weight="bold"
keep-with-next="always">HEADER 2 (might span 2 columns)</fo:block>
<rx:flow-section column-count="3" column-gap="0.5in">
<fo:block keep-together.within-column="always">
<fo:block color="#AA2A33" keep-with-next.within-column="always"
>Boston</fo:block>
<fo:block font-family="Frutiger" font-size="9.0pt"
keep-together.within-column="always">
.
.data being printed here..
.
</fo:block>
</fo:block>
</rx:flow-section>
<fo:block font-size="11pt" font-weight="bold"
keep-with-next="always">HEADER N (might span 2 columns)</fo:block>
<rx:flow-section column-count="3" column-gap="0.5in">
<fo:block keep-together.within-column="always">
<fo:block color="#AA2A33" keep-with-next.within-column="always"
>New Your</fo:block>
<fo:block font-family="Frutiger" font-size="9.0pt"
keep-together.within-column="always">
.
.data being printed here..
.
</fo:block>
</fo:block>
</rx:flow-section>
</fo:wrapper>
-------------------
(*) 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 Sat Sep 15 13:46:59 2007
This archive was generated by hypermail 2.1.8 : Sat Sep 15 2007 - 13:47:04 PDT